@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Kumbh+Sans:wght@100..900&display=swap');

/*-------
- Base
-------*/
:root {
  --thm-color: #179BD7;
  --thm-color2: #f09b23;
  --color-black: #1C1C1C;
  --color-body: #7B7E86;
  --color-white: #ffffff;
  --color-border: #E6E6E6;
  --color-bg: #F6F7FA;
  --font-body: 'Kumbh Sans',sans-serif;
  --font-heading: 'Kanit',sans-serif;
}

html {
  font-size: 16px;
}

@media (max-width: 767px) {
  html {
    font-size: 14px;
  }
}

body {
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "YOPQ" 300;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
}

h1.title-cap {
  font-size: 3.2rem;
}

a {
  display: inline-block;
  text-decoration: none;
  box-shadow: none;
  color: var(--thm-color)
}

a,button[type=submit],input[type=submit] {
  -webkit-transition: .3s;
  transition: .3s
}

a:hover {
  color: var(--thm-color)
}

.hover-underline {
  display: inline-block;
  position: relative;
}

.hover-underline::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--thm-color);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.hover-underline:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.btn-primary {
  background-color: var(--thm-color);
  border: none;
}
.btn-primary:hover {
  background-color: #0a7db2;
}

.btn-primary.active, .btn-primary.show, .btn-primary:first-child:active, :not(.btn-check)+.btn-primary:active {
  background-color: #096691;
}

.btn-secondary {
  background-color: var(--thm-color2);
  border: none;
}

.btn-secondary:hover {
  background-color: #c3760c;
}

.btn-secondary.active, .btn-secondary.show, .btn-secondary:first-child:active, :not(.btn-check)+.btn-secondary:active {
  background-color: #a46409;
}

@media (max-width: 767.98px) {
  .btn {
    --bs-btn-padding-y: 0.5rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-font-size: 1.25rem;
    --bs-btn-border-radius: 0.5rem;
  }
}

.bg-light {
  background-color: #f4f6f9 !important;
}

.nav-tabs {
  margin-bottom: -1px;
}

.nav-tabs .nav-item:not(:last-child) .nav-link {
  box-shadow: 10px 0px 7px -7px #00000018;
}

.nav-tabs .nav-link {
  transition: all 0.5s;
  color: var(--thm-color);
  border-color: var(--bs-nav-tabs-link-hover-border-color);
}

.nav-tabs .nav-link:hover:not(.active) {
  color: var(--thm-color);
  border-color: var(--bs-nav-tabs-link-hover-border-color);
  background-color: #FFF;
}

.nav-tabs .nav-link:hover {
  border-color: #CCC;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  background-color: #f4f6f9;
  border-bottom: 1px solid #f4f6f9;
}

.theme-button {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  background: var(--thm-color);
  padding: 16px 30px;
  clear: both;
  border-radius: 5px;
  line-height: normal;
  letter-spacing: .32px;
  text-transform: capitalize;
  font-family: var(--font-heading)
}

.theme-button i {
  position: relative;
  top: 0;
  font-size: 100%;
  margin-left: 10px
}

.theme-button:hover {
  color: var(--color-white);
  background-color: var(--color-black)
}

.btn-section-small-title {
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--thm-color);
  box-shadow: 0 8px 19px 0 rgba(0,0,0,.07);
  padding: 10px 27px;
  border-radius: 100px;
  border: 1px solid #f6f5f5;
  display: inline-block;
  font-family: var(--font-heading);
  background: #fff
}

.form-check-input:checked {
  background-color: var(--thm-color);
  border-color: var(--thm-color);
}

@media (min-width: 992px) {
  .remove-nav-space {
    margin-top: 76px;
  }
}

input:focus, input[type=date]:focus, input[type=email]:focus, input[type=number]:focus, input[type=password]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=url]:focus, textarea:focus {
  box-shadow: none;
  outline: 0;
}

.form-help {
  font-size: 0.9rem;
  color: #777;
}

@media (max-width: 576px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/*-------
- Header
-------*/

#logo {
  max-height: 100px;
  height: auto;
}

#logo-alt {
  max-height: 100px;
  height: auto;
}

.header-top {
  color: var(--color-white);
  background: var(--thm-color);
  padding: 13px 0;
  font-size: 0.9rem;
}

.header-center {
  padding: 25px 0 63px;
}

.header-contact-info-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-info-item {
  display: flex;
  align-items: center;
  padding-left: 15px;
  padding-right: 15px;
}
@media (min-width: 1200px) {
  .header-info-item {
    display: flex !important;
  }
}

.header-info-icon {
  width: 50px;
  height: 50px;
  background: var(--thm-color);
  border-radius: 100%;
  text-align: center;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-right: 10px;
}

.header-info-label {
  text-transform: uppercase;
  margin: 0;
  color: var(--thm-color);
  font-family: var(--font-heading);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hinfo-dec {
  color: var(--color-body);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

form.search-form {
  position: relative;
}

.header-search-box .header-search input[type=search] {
  min-width: 300px;
  background: #f6fdff;
  border: 1px solid #dde0e9;
  border-radius: 10px;
  margin: 0;
  width: 100%;
  color: #626262;
  padding: 18px 20px;
  max-height: 54px;
  outline-offset: -2px;
  appearance: textfield;
  -webkit-appearance: textfield;
}

form.search-form .search-submit {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.125rem;
  width: 55px;
  height: 54px;
  height: 100%;
  margin: 0;
  border-radius: 0;
  border: 1px solid transparent;
  background: var(--thm-color);
  padding: 16px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  color: var(--color-white);
  transition: .4s;
  letter-spacing: 0.32px;
  text-transform: capitalize;
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1rem;
}

form.search-form .search-submit:hover {
  background: var(--color-black);
}

.header-menu-info-wrapper {
  position: absolute;
  width: 100%;
}

@media (max-width: 991px) {
  .header-search-box,
  .header-menu-info-wrapper {
      display: none;
  }
}
@media (max-width: 767px) {
  .header-contact-info-wrap {
    display: none;
  }
}

.header-menu-wrapper {
  border-radius: 10px;
  position: relative;
  top: -38px;
  z-index: 999;
}

.header-menu-wrapper:after {
  content: '';
  transform: skewX(-8deg);
  background: var(--thm-color);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: -2;
  border-radius: 10px
}

.header-social-btn-info {
  display: flex;
  align-items: center;
}

.header-socials ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-socials ul li {
  display: inline-block;
  margin-left: 10px;
}

.header-socials ul li a {
  width: 30px;
  height: 30px;
  background: var(--color-white);
  border-radius: 5px;
  text-align: center;
  font-size: 0.875rem;
  padding: 3px;
  color: var(--thm-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-socials ul li a:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

.header-socials {
  margin-right: 40px;
}

.header-phone a {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-white);
  font-family: var(--font-heading);
}

.header-phone {
  margin-right: 40px;
}

.header-phone a:hover {
  color: var(--color-black);
}

.header-phone-box {
  display: flex;
  align-items: center;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;

}
.header-phone-box a:hover{
  color: var(--color-black);
}
.header-phone-box .icon {
  margin-right: 10px;
}


.header-buttons .theme-button {
  margin-right: 20px;
  color: var(--thm-color);
  font-size: 1rem;
  text-transform: capitalize;
  font-weight: 500;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  background: 0 0;
  position: relative
}

.header-buttons .theme-button:after {
  content: '';
  transform: skewX(-8deg);
  background: var(--color-white);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  z-index: -1;
  border-radius: 10px;
  left: 0;
  transition: .4s
}

.header-buttons a.theme-button:hover {
  background: 0 0;
  color: var(--color-white)
}

.header-buttons .theme-button:hover:after {
  background: var(--color-black)
}

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: .5rem;
  padding-bottom: .5rem;
}

nav.main-navigation {
  padding: 0;
}

.navbar-expand-lg .navbar-collapse {
  justify-content: flex-start;
}

.main-menu a {
  display: block;
  position: relative;
  font-weight: 500;
  font-size: 1rem;
  text-transform: capitalize;
  font-family: var(--font-heading);
  color: var(--color-white)
}

.main-menu a:hover {
  color: var(--thm-color)
}

.main-menu>ul>li {
  margin: 0 12px
}

.main-menu>ul>li>a:hover {
  color: var(--color-black)
}

.main-menu>ul>li>a {
  padding: 26px 0;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  font-family: var(--font-heading);
  color: var(--color-white)
}

.main-menu ul {
  margin: 0;
  padding: 0
}

.main-menu ul li {
  list-style-type: none;
  display: inline-block;
  position: relative
}

.main-menu ul li:last-child {
  margin-right: 0!important
}

.main-menu ul li:first-child {
  margin-left: 0!important
}

.main-menu ul li:hover>ul.sub-menu {
  visibility: visible;
  opacity: 1;
  -webkit-transform: scaleY(1);
  -ms-transform: scaleY(1);
  transform: scaleY(1);
  z-index: 9
}

.main-menu ul.sub-menu {
  position: absolute;
  text-align: left;
  top: 100%;
  left: 0;
  padding: 0;
  left: -23px;
  background: var(--color-white);
  visibility: hidden;
  min-width: 190px;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  opacity: 0;
  z-index: -1;
  border: 0;
  -webkit-transform: scaleY(0);
  -ms-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: top center;
  -ms-transform-origin: top center;
  transform-origin: top center;
  -webkit-transition: .4s;
  transition: all .4s ease 0s
}

.main-menu ul.sub-menu a {
  font-size: 1rem;
  line-height: 30px;
  color: var(--color-black)
}

.main-menu ul.sub-menu a:hover {
  color: var(--thm-color)
}

.main-menu ul.sub-menu li {
  display: block;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--color-border)
}

.main-menu ul li.menu-item-has-children>a:after {
  content: "\f078";
  position: relative;
  margin-left: 3px;
  top: 1px;
  display: inline-block;
  transition: .4s;
  transform: rotate(0);
  font-size: 0.75;
  font-family: 'Font Awesome 5 Free';
  font-weight: 800
}

.main-menu ul ul li.menu-item-has-children>a:after {
  content: "\f078";
  transform: rotate(-89deg);
  top: 0;
  font-size: 70%;
  right: 0;
  float: right
}

.main-menu ul.sub-menu li:last-child {
  border: none
}

.main-menu ul.sub-menu li a {
  position: relative;
  padding-left: 0;
  text-transform: capitalize;
  padding: 15px 20px
}

.main-menu ul.sub-menu li ul.sub-menu {
  left: 100%;
  right: auto;
  top: 0;
  margin: 0
}

.main-menu ul.sub-menu li ul.sub-menu li ul {
  left: 100%;
  right: auto
}

@media (max-width: 1199px) {
  .header-socials {
    margin-right: 15px;
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
      display: flex !important;
      flex-basis: auto;
  }
  .navbar-expand-lg {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
}

/*-------
- Mobile Menu
-------*/

.mobile-menu-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: #24231dc4;
  z-index: 999999;
  width: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: all ease 0.8s;
  transition: all ease 0.8s;
  opacity: 0;
  visibility: hidden;
}

.mobile-menu-wrapper .mobile-logo {
  padding-bottom: 30px;
  padding-top: 40px;
  display: block;
  text-align: center;
  background: var(--thm-color);
}

.mobile-menu-wrapper .mobile-logo a {
  color: var(--color-white);
}

.mobile-menu-wrapper .mobile-logo svg {
  max-width: 185px;
}

.mobile-menu-wrapper .mobile-menu-toggle {
  border: none;
  position: absolute;
  right: -16.5px;
  top: 25px;
  padding: 0;
  line-height: 1;
  width: 33px;
  height: 33px;
  line-height: 35px;
  font-size: 1.125;
  z-index: 1;
  color: var(--color-black);
  background-color: var(--color-white);
  border-radius: 50%;
}

.mobile-menu-wrapper .mobile-menu-area {
  width: 100%;
  max-width: 310px;
  background-color: var(--color-white);
  border-right: 3px solid var(--thm-color);
  height: 100%;
  position: relative;
  left: -110%;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all ease 1s;
  transition: all ease 1s;
  z-index: 1;
}

.mobile-menu-wrapper.mobile-body-visible {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-wrapper.mobile-body-visible .mobile-menu-area {
  left: 0;
  opacity: 1;
  visibility: visible;
}

.mobile-mobile-menu {
  overflow-y: scroll;
  max-height: calc(100vh - 200px);
  padding-bottom: 40px;
  margin-top: 33px;
  text-align: left;
}

.mobile-mobile-menu ul {
  margin: 0;
  padding: 0 0;
}

.mobile-mobile-menu ul li {
  border-bottom: 1px solid var(--color-border);
  list-style-type: none;
}

.mobile-mobile-menu ul li li:first-child {
  border-top: 1px solid var(--color-border);
}

.mobile-mobile-menu ul li a {
  display: block;
  position: relative;
  padding: 12px 0;
  line-height: 1.4;
  font-size: 1.2rem;
  text-transform: capitalize;
  color: var(--color-black);
  padding-left: 18px;
}

.mobile-mobile-menu ul li.mobile-active>a {
  color: var(--thm-color);
}

.mobile-mobile-menu ul li ul li {
  padding-left: 10px;
}

.mobile-mobile-menu ul li ul li:last-child {
  border-bottom: none;
}

.mobile-mobile-menu ul .mobile-item-has-children>a {
  position: relative;
}

.mobile-mobile-menu ul .mobile-item-has-children>a .mobile-mean-expand {
  position: absolute;
  right: 0;
  top: 50%;
  font-weight: 400;
  font-size: 0.75rem;
  width: 25px;
  height: 25px;
  line-height: 25px;
  margin-top: -12.5px;
  display: inline-block;
  text-align: center;
  background-color: var(--thm-color);
  color: var(--color-white);
  border-radius: 50%;
  transition: all 0.5s;
  transform: rotate(0deg);
}

.mobile-mobile-menu ul .mobile-item-has-children.mobile-active>a .mobile-mean-expand {
  transform: rotate(45deg);
}


.mobile-mobile-menu>ul {
  padding: 0 40px;
}

.mobile-mobile-menu>ul>li:last-child {
  border-bottom: none;
}

.mobile-menu-toggle {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  padding: 0;
  font-size: 1.25rem;
  border: none;
  display: inline-block;
  border-radius: 5px;
  background: var(--color-bg);
  color: var(--thm-color);
}

.mobile-menu-toggle:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

@media (max-width: 991px) {
  .mobile-header .menu-area {
    padding: 10px 0;
  }
}

@media (max-width: 400px) {
  .mobile-menu-wrapper .mobile-menu-area {
    width: 100%;
    max-width: 270px;
  }

  .mobile-mobile-menu>ul {
    padding: 0 20px;
  }
}

/*-------
- Slideshow Home
-------*/

.home-slideshow .slideshow-slide {
  position: relative;
}
.home-slideshow .carousel-control-next,
.home-slideshow .carousel-control-prev {
  width: 7%;
}
.home-slideshow .hero-buttons > a {
  position: relative;
  z-index: 2;
}

/*-------
- Hero section
-------*/

.hero-content-wrapper {
  display: flex;
  align-items: center;
  height: 700px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

.hero-content-box {
  width: 55%;
  margin-top:55px;
}

.hero-small-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 2.43px;
  text-transform: uppercase;
  color: var(--thm-color2);
  vertical-align: middle;
}

.hero-small-title span {
  background: #ffffff;
  border-radius: 18px;
  padding-left: 10px;
  font-size: 0.875;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  padding-right: 10px;
  margin-right: 10px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-style: normal;
  font-weight: 500;
  line-height: 88px;
  letter-spacing: 1.6px;
  color: var(--color-white);
  margin-top: 10px;
  margin-bottom: 25px;
}

.hero-dec {
  color: #C0C6D7;
  font-family: var(--font-body);
  font-size: 1.375rem;
  font-style: normal;
  line-height: 32px;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  align-items: center;
}

.hero-buttons .theme-button {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.32px;
  text-transform: uppercase;
  margin-right: 40px;
}

.hero-buttons .theme-button:hover {
  background-color: var(--color-white);
  color: var(--thm-color);
}

.hero-banner-wrapper-inner {
  position: relative;
}

.hero-img {
  position: absolute;
  width: 55%;
  right: 100px;
  bottom: 0;
  text-align: right;
  right: 0;
}

.hero-img>img {
  position: relative;
  max-width: 100%;
}

@media (max-width: 1700px) {
  .hero-content-box {
    width: 55%;
  }
  .hero-img {
      width: 45%;
  }
}

@media (max-width: 1023px) {
  .hero-content-box {
      width: 90%;
  }

  .hero-img {
      display: none;
  }

  .hero-title {
      font-size: 4.063rem;
      line-height: 75px;
  }

  .header-center-wrapper {
      padding: 25px 0;
  }
}

/*-------
- FOOTER
-------*/

#footer {
  line-height: 1.6rem;
}

#footer .col-first {
  padding-top: 30px;
  padding-bottom: 30px;
}

#footer .col-second {
  padding: 30px 40px;
  border-left: 1px solid #FFFFFF26;
}

#footer .wrapper-top {
  background-color: #0C3C68;
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 200;
}

#footer .wrapper-bottom {
  background-color: var(--thm-color);
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 200;
  padding: 30px 0 15px;
}

#footer a {
  color: var(--color-white);
}

#footer a:hover {
  color: var(--thm-color2);
}

.logo-footer {
  max-height: 100px;
  height: auto;
  margin-bottom: 20px;
}

#footer .desc {
  margin-bottom: 25px;
}

#footer ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#footer .title {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--thm-color2);
  margin-bottom: 20px;
}

#footer .social > li {
  display: inline-block;
  margin-right: 30px;
}

#footer .social > li:last-child {
  margin-right: 0;
}

#footer .social > li > a {
  display: block;
  text-align: center;
  font-weight: 400;
  color: var(--thm-color2);
}

#footer .social > li > a:hover {
  color: var(--color-white);
}

#footer .social > li > a:hover > i {
  transform: scale(1);
}

#footer .social > li > a > i {
  transition: 200ms;
  display: block;
  transform: scale(0);
  width: 100%;
  margin-bottom: 9px;
  margin-top: 20px;
}

#footer .cerca {
  position: relative;
  margin-top: 50px;
}

#footer .cerca input {
  padding: 0 50px 0 30px;
  font-size: 0.938rem;
  background: #FFFFFF26;
  color: #fff;
  height: 60px;
  border-radius: 1e3px;
  border: none;
  line-height: 1.73;
  width: 100%;
  outline: none;
  transition: all .25s cubic-bezier(.645,.045,.355,1);
  -webkit-box-shadow: none;
  -khtml-box-shadow: none;
  -moz-box-shadow: none;
  -ms-box-shadow: none;
  -o-box-shadow: none;
  box-shadow: none;
  -webkit-border-radius: 30px;
  -khtml-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
  border-radius: 30px;
}

#footer .cerca button {
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translatey(-50%);
  background-color: initial;
  right: 25px;
  border: none;
  line-height: 1rem;
}

#footer .cerca button:hover i,
#footer .cerca button:hover svg path {
  color: var(--thm-color2);
  fill: var(--thm-color2);
}

#footer .cerca button svg path {
  -webkit-transition: .3s;
  transition: .3s
}

#footer .cerca button i {
  cursor: pointer;
  color: #fff;
  font-size: 1.5rem;
}

#footer .copyright a {
  font-weight: 400;
  margin: 0 5px;
}

/*-------
- COVER
-------*/

#cover {
  position: relative;
  overflow: hidden;
  background: #3394c5;
}

#cover .cover-bg {
  position: absolute;
  top: -10%;
  left: -10%;
  right: -10%;
  bottom: -10%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  transform: scale(1.03);
  z-index: 0;
}

#cover .cover-image {
  display: none;
  top: 0;
  left: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
   /* Definisce la maschera a forma di trapezio */
   clip-path: polygon(0 0, 100% 0%, 75% 100%, 0% 100%);
   -webkit-clip-path: polygon(0 0, 100% 0%, 75% 100%, 0% 100%);
}

#cover.blur-bg::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #151d27;
  opacity: 0.6;
  z-index: 1;
}

#cover .content-head {
  position: relative;
  padding: 100px 30px 100px 20px;
  z-index: 3;
}

#cover .title {
  color: white;
}

#cover .subtitle {
  color: white;
  font-size: 3rem;
  font-weight: 300;
  border-left: 7px solid white;
  padding-left: 12px;
  text-shadow: 1px 2px 1px #00000029;
}

#cover.with-sub .title {
  color: #b6e1f8;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  display: inline-block;
  text-shadow: 1px 2px 1px #00000066;
}

@media (min-width: 768px) {
  #cover .cover-image {
    display: block;
  }
}

@media (min-width: 992px) {
  #cover {
    margin-top: -35px;
  }
}

/*-------
- Contatti
-------*/

#contatti-form {
  border-radius: 10px;
  box-shadow: -2px 10px 30px 0px rgba(0, 0, 0, 0.1);
  margin: 0px 0px 0px 0px;
  padding: 30px 30px 30px 30px;
}

.contatti-page ul p {
  margin-bottom: 0;
}

#map {
  height: 400px;
  overflow: hidden;
}

/*-------
- COURSES
-------*/

.dscript-section {
  font-size: 1.2rem;
  color: var(--color-body);
  font-weight: 300;
  width: 60%;
  margin: 20px auto 60px auto;
}

.course-grid {
  background-image: url(../images/bg-courses.png);
  background-position: center;
  background-repeat: repeat-y;
  background-size: contain;
  position: relative;
  padding: 116px 0 85px;
}

.course-grid_item {
  position: relative;
  background-color: var(--color-white);
  border-radius: 14px;
  overflow: hidden;
  min-height: 293px;
  box-shadow: 0px 0px 60px 0px rgba(2, 2, 2, 0.07);
  margin: 0 0 36px;
  display: flex;
  z-index: 1;
}

.course-grid_wrapper {
  position: relative;
}

.course-grid_wrapper::after {
  position: absolute;
  left:-2px;
  top: 0px;
  z-index: 0;
  width: 100%;
  height: 100%;
  content: "";
  border: 2px solid var(--thm-color);
  border-radius: 16px;
  transition: all 0.5s ease;
  box-sizing: content-box;
  -webkit-transform:scale(0.99);;
  -moz-transform:scale(0.99);;
  -ms-transform:scale(0.99);;
  -o-transform:scale(0.99);;
  transform:scale(0.99);;
}

.course-grid_wrapper:hover::after {
  left: -2px;
  top: -2px;
  -webkit-transform:scale(1);;
  -moz-transform:scale(1);;
  -ms-transform:scale(1);;
  -o-transform:scale(1);;
  transform:scale(1);;
}

.course-grid_thumb {
  width: 226px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.course-grid_image::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--thm-color);
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 2;
  opacity: 0;
  transition: all .8s ease;
}

.course-grid_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .8s ease;
}

.course-grid_image:hover img {
  transform: scale(1.1);
}

.course-grid_image:hover::after {
  opacity: 0.5;
}

.course-grid_image {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.course-grid_content {
  position: relative;
  padding: 20px 30px;
}

.course-grid_time {
  background-color: var(--thm-color);
  color: var(--color-white);
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.6rem;
  display: inline-block;
  padding: 0 10.5px;
  margin: 0 0 15px;
}

.course-grid_ratings {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  letter-spacing: 1px;
  color: var(--thm-color2);
  margin: 0 0 8px;
}

.course-grid_ratings_reviews {
  font-size: 0.875rem;
  color: var(--color-black);
  margin-left: 5px;
  letter-spacing: 0;
}

.course-grid_title {
  font-size: 1.5rem;
  line-height: 1.9rem;
  margin: 0 0 25px;
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: lowercase;
}

.course-grid_title a::first-letter {
  text-transform: uppercase;
}


.course-grid_title a {
  transition: all 0.4s ease;
  color: var(--color-black);
}

.course-grid_title a:hover {
  color: var(--thm-color);
}

.course-grid_bottom {
  position: relative;
  background-color: #F6F5F5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 14px 19px 15px 19px;
}

.course-grid_bottom_label {
  font-size: 1rem;
  line-height: 1;
  margin: 0 0 6px;
}

.course-grid_meta_info {
  display: block;
  letter-spacing: 0.48px;
  line-height: 1;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
  margin: 0;
}

.course-grid_meta {
  position: relative;
}

.course-grid_meta_info .variant {
  margin: 0;
  font-size: 0.875rem;
  color: #697585;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1;
}

@media (max-width: 767px) {
  .course-grid {
    padding: 76px 0 45px;
  }
  .course-grid_item {
    padding: 0;
    display: block;
  }
  .course-grid_thumb {
    display: none;
  }
  .course-grid_content {
    padding: 30px;
  }
}

/*-------
- NEWS
-------*/

#news-home {
  padding: 80px 0
}

#news-home .news-title a {
  color: var(--thm-color);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

#news-home .news-title a:hover {
  color: var(--color-black);
}

#news-home .news-content {
  color: var(--color-body);
  font-weight: 500;
  line-height: 1.8rem;
}

#news-home .news-wrapper .read-more {
  display: block;
  text-align: right;
  color: var(--color-body);
  margin-top: 0.2rem;
}

#news-home .news-wrapper .read-more a {
  color: var(--color-body);
}

#news-home .news-wrapper .read-more a:hover {
  color: var(--thm-color);
}

#news-home .news-wrapper hr {
  border-width: 1px;
  border-color: var(--color-body);
  margin: 0.5rem 0 1rem 0;
}

#news-banner {
  background-color: #f6f7fa;
  color: var(--color-white);
  border-radius: 10px;
  position: relative;
  padding-top: -10px;
}

#news-banner img {
  position: relative;
  padding-top: 8%;
  margin-bottom: -10%;
  width: 95%;
  height: auto;
  margin-left: 5%;
  z-index: 10;
}

#news-banner .content {
  background-color: var(--thm-color);
  padding: 30px;
  border-radius: 0 0 10px 10px;
  text-align: right;
}

#news-banner .description {
  font-size: 1.4rem;
  margin-top: 10px;
  text-align: left;
}

#news-banner .btn-white {
  font-size: 1rem;
  font-weight: 400;
  color: var(--thm-color);
  background: var(--color-white);
  padding: 16px 30px;
  clear: both;
  border-radius: 20px;
  line-height: normal;
  letter-spacing: .32px;
  text-transform: uppercase;
  font-family: var(--font-heading);
  text-align: right;
}

@media (min-width: 767px) and (max-width: 992px)   {
  #news-banner .btn-white {
    font-size: 0.6rem;
  }
  #news-banner .description {
    font-size: 1.2rem;
  }
}

#news-banner .btn-white i {
  margin-left: 5px;
}

#news-banner .btn-white:hover {
  color: var(--color-white);
  background: var(--thm-color2);
}

/*-------
- COURSES LIST
-------*/

.courses-list .course-item {
  margin-bottom: 1.5rem;

}

.courses-list .course-wrapper {
  border-radius: 8px;
  border: 1px solid;
  border-color: #e0e0e0;
  overflow: hidden;
  height: 100%;
  transition: border 1.5s ease-in-out, background-color 1s ease-in-out;
}

.courses-list .course-wrapper:hover {
  border-color: var(--thm-color);
  background-color: #f8f8f8;
}

.courses-list .thumbnail {
  width: 100%;
  height: auto;
}

.courses-list .wrap-thumbnail .hover {
  content: '';
  width: 100%;
  height: 100%;
  text-align: center;
  background-color: var(--thm-color);
  pointer-events: none;
  position: absolute;
  display: block;
  opacity: 0;
  top: 0;
  transition: all 0.4s ease-in-out;
}

.courses-list .wrap-thumbnail .hover i {
  color: var(--color-white);
  top: calc(50% - 1.5rem);
  position: relative;
  font-size: 3rem;
}

.courses-list .course-wrapper:hover .wrap-thumbnail .hover {
  opacity: 0.5;
}

.courses-list .wrap-thumbnail {
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  z-index: 2;
}

.courses-list .time {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--thm-color2);
  color: var(--color-white);
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.6rem;
  display: inline-block;
  padding: 0 10.5px;
  margin: 0 0 15px;
}

.courses-list .course-body {
  padding: 15px;
  position: relative;
  z-index: 2;
}

.courses-list .title {
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: lowercase;
}

.courses-list .title a:first-letter {
  text-transform: uppercase;
}

.courses-list .title a {
  color: var(--color-black);
}

.courses-list .course-wrapper:hover .title a {
  color: var(--thm-color);
}

.courses-list .ratings {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  letter-spacing: 1px;
  color: var(--thm-color2);
  margin: 0 0 8px;
}

.courses-list .ratings_reviews {
  font-size: 0.875rem;
  color: var(--color-body);
  margin-left: 5px;
  letter-spacing: 0;
}

.courses-list .mask {
  pointer-events: none;
  transition: all 0.4s;
  width: 100px;
  height: 100px;
  position: absolute;
  border: 2px solid;
  border-color: var(--thm-color);
  border-radius: 10px;
  opacity: 0;
  z-index: 1;
}

.courses-list .mask.active {
  opacity: 1;
}

.active>.page-link, .page-link.active {
  background-color: var(--thm-color);
  border-color: var(--thm-color)
}

.page-link, .page-link:hover {
  color: var(--thm-color);
}

.disabled>.page-link, .page-link.disabled {
  color: var(--bs-pagination-disabled-color);
  background-color: var(--bs-pagination-disabled-bg);
  border-color: var(--bs-pagination-disabled-border-color);
}

/* Filter form */

.form-item {
  position: relative;
  margin-bottom: 2rem;
}

.select-arrow {
  position: absolute;
  bottom: 3px;
  right: 1rem;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6c757d;
  z-index: 1;
}

.select2-selection__rendered {
  display: none !important;
}

/*-------
- SINGLE COURSE
-------*/

#course-sidebar .card-side {
  border: 1px solid #cdcfd5;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 6px;
}

#course-sidebar .card-side > *:not(:last-child) {
  border-bottom: 1px solid #ddd; /* Linea di separazione */
}

#course-sidebar .card-side > *:only-child {
  border: none; /* Rimuove il bordo se c'è un solo elemento */
}

#course-sidebar .card-top,
#course-sidebar .card-main,
#course-sidebar .card-bottom {
  padding: 20px;
}

#course-sidebar .card-side.radius{
  border-radius: 6px;
}

#course-sidebar .card-gray {
  background-color: #f4f6f9;
}

/* Card-side semplice (senza sezioni) */
#course-sidebar .card-side:not(:has(.card-top)),
#course-main .tab-pane > div:not(:first-child) {
  border-radius: 6px; /* Mantieni tutti gli angoli stondati */
}

/* Gestione arrotondamento */
#course-sidebar .card-side.card-top:first-child {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

#course-sidebar .card-side.card-bottom:last-child {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.course-title {
  margin-bottom: 1.6rem;
}

.course-title.too-tall {
  font-size: 2rem;
}

.block-title,
#course-sidebar .card-side .card-title {
  color: var(--color-body);
  font-family: var(--font-heading);
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 34px;
  position: relative;
}

.block-title:before,
#course-sidebar .card-side .card-title:before {
  content: "";
  width: 30%;
  background: var(--thm-color2);
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 2px;
  z-index: 1;
}

.block-title.title-line-blue:before,
#course-sidebar .card-side .card-title.title-line-blue:before {
  background: var(--thm-color);
}

.block-title:after,
#course-sidebar .card-side .card-title:after {
  content: "";
  width: 100%;
  height: 2px;
  background: #e6e6e6;
  position: absolute;
  left: 0;
  bottom: -10px;
}

.block-title.title-line-blue i {
  color: var(--thm-color);
}

.block-title i,
#course-sidebar .card-side .card-title i {
  color: var(--thm-color2);
}

#course-sidebar .card-list .fas,
#course-sidebar .card-list .fa {
  color: var(--thm-color2);
  flex-shrink: 0; /* Assicura che l'icona non si ridimensioni */
  margin-right: 10px;
  align-self: center;
}

.card-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  align-items: center;
}

#course-sidebar .card-label {
  font-weight: 600;
  color: #9d9d9d;
  margin-right: 10px;
}

.card-list span {
  flex-grow: 0;
}

.card-list .dato {
  margin-left: auto;
  color: #333;
  font-weight: 500;
}

#btnIscriviti {
  margin-top: 20px;
}

#course-main .copertina {
  border-radius: 15px;
}

#course-main .form-group {
  margin-bottom: 0.8rem;
}

#course-main .form-group .control-label {
  margin-bottom: 0.2rem;
}

#filter-form {
  margin-bottom: 40px;
}

#filter-form .form-item {
  position: relative;
  margin-bottom: 2rem;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  padding: 15px;
}

#filter-form .filter-title {
  font-size: 1rem;
  color: #a6a6a6;
  font-weight: 400;
  background: #FFF;
  position: absolute;
  top: -0.7rem;
  padding: 0 10px;
}

#filter-form .form-check {
  font-size: 1.2rem;
  margin: 0.3rem 0;
}

#filter-form .form-check .form-check-label {
  font-size: 1rem;
}

#filter-trigger .chevron-icon {
  font-size: 1.2rem;
  position: absolute;
  right: 0;
  bottom: 0;
}

@media (max-width: 767.98px) {
  #filter-form .form-check .form-check-label {
    font-size: 1.2rem;
  }

  #filter-trigger .chevron-icon {
      transition: transform 0.3s;
  }

  /* Filtro chiuso: freccia verso l'alto */
  #filter-trigger[aria-expanded="false"] .chevron-icon {
      transform: rotate(180deg); /* Su */
  }

  /* Filtro aperto: freccia verso il basso */
  #filter-trigger[aria-expanded="true"] .chevron-icon {
      transform: rotate(0deg); /* Giù */
  }
}

/* Nasconde la freccia su schermi medi e superiori (md e up) */
@media (min-width: 768px) {
  #filter-trigger .chevron-icon {
      display: none;
  }
  #filter-trigger {
      pointer-events: none;
      cursor: default;
  }
}

/*-------
- COURSE SIDEBAR
-------*/

.list-sidebar {
    list-style: none;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 1px solid #cdcfd5;
    border-radius: 8px;
    margin-bottom: 20px;
}

.list-sidebar hr {
  margin: 0 -15px;
  border-color: #666;
  border-style: dashed;
}

.list-sidebar .item {
  list-style: none;
  min-height: 89px;
  position: relative;
  padding: 30px 15px 30px 125px;
}

.list-sidebar .item.even {
  background-color: #FAFAFA;
}

.list-sidebar .item:hover {
  background-color: #F2F2F2;
}

.list-sidebar .item-body {
  min-height: 89px;
}

.list-sidebar .wrap-thumbnail {
  position: absolute;
  top: 30px;
  left: 15px;
  width: 89px;
  height: 89px;
  border-radius: 6px;
  overflow: hidden;
}

.list-sidebar .title {
  font-size: 1.2rem;
  font-weight: 500;
}

.list-sidebar .title a {
  color: var(--color-body);
}

.list-sidebar .time {
  background-color: var(--thm-color2);
  color: var(--color-white);
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.6rem;
  display: inline-block;
  padding: 0 10.5px;
}

.list-sidebar .date {
  color: var(--color-body);
}

.list-sidebar .date i {
  color: var(--thm-color2);
}

/*-------
- NEWS LIST
-------*/

/* Colore Originale */
.news-page-list .news-wrapper.even {
  border-color: #179BD7;
}

.news-page-list .news-wrapper.even time .month,
.news-page-list .news-wrapper.even time .day {
  color: #179BD7 !important;
}

/* Colore Scuro */
.news-page-list .news-wrapper.odd {
  border-color: #0D5A9C; /* Blu più scuro */
}

.news-page-list .news-wrapper.odd time .month,
.news-page-list .news-wrapper.odd time .day {
  color: #0D5A9C !important;
}

.news-page-list .news-wrapper {
  margin-bottom: 20px;
  border-left: 4px solid var(--thm-color);
}

.news-page-list .news-time {
  padding: 0 15px;
  text-align: center;
}

.news-page-list .news-time time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.news-page-list .news-time time span {
  width: 100%;
  display: block;
  font-size: 1em;
  line-height: 1.2;
}

.news-page-list .news-time time .day {
  font-size: 2rem;
  font-weight: 500;
  color: var(--thm-color);
}

.news-page-list .news-time time .month {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--thm-color);
}

.news-page-list .news-time time .year {
  font-size: 1rem;
  color: var(--color-body);
}

.news-page-list .news-wrapper + hr {
  display: block;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .fixed-width {
      width: 60px;
  }
  
  .news-page-list .fixed-width {
      width: 60px;
  }
}

/*-------
- SINGLE NEWS
-------*/

.news-page .copertina {
  border-radius: 15px;
}

.news-page .copertina {
  border-radius: 15px;
}

.news-page .news-content .title {
  color: var(--thm-color);
}