/**************************************/
/********** CUSTOM HBIO CSS ***********/
/**************************************/

/* Hide front page basic page */
.homepage #main {
  display: none;
}
.close-animated-sidebar {
  top: 80px;
}

/* HEADER  */
.homepage .header {
  background: var(--body-bg);
}
.header {
  background: var(--body-bg);
}
.header-top-blocks {
  background: var(--body-bg);
}

#page-header {
  background-image: url("/sites/default/files/2021-09/inner-pages-hero-banner.jpg");
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: cover;
}
.page-header {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 9em 0 6em 0;
  text-align: left;
}

@media (min-width: 776px) {
  .page-title-wrap {
    width: 75%;
  }
}

.page-title-wrap h1 {
  color: var(--body-bg);
}
.breadcrumb a {
  color: var(--theme-color);
}
.breadcrumb {
  color: var(--theme-color);
}

.header-main {
  padding-top: 3em;
  padding-right: 0px;
  padding-bottom: 2em;
  padding-left: 0px;
}
.site-branding img {
  max-height: 126px;
}
@media (max-width: 992px) {
  .site-branding img {
    max-height: 96px;
  }
}

/* HEADER: TOP NAVBAR I */
.topnav {
  margin-left: 2.0rem;
}
.myhbio {
  font-size: large;
}
.search-icon, .mobile-menu, .sliding-panel-icon {
  margin-left: 0px;
  border-radius: 0%;
  border: 1px;
}
.icon-search:before {
  content: "\e909";
  font-size: 1.5rem;
  font-weight: normal;
  color: #c0c0c0;
}
.mobile-menu {
  font-size: 2.0rem;
}

/* HEADER: TOP NAVBAR II: MAIN MENU */
@media (min-width: 992px) {
  .dropdown-arrow:after {
    display: inline;
    font-family: "Font Awesome 5 Free";
    content: "\f107";
    color: #3f5568;
    margin-left: .7rem;
  }
}

.menu-wrap {
  font-family: Raleway;
}

/* BUTTONS */
.button-solid, a.button-solid:hover, button, [type="button"], [type="reset"], [type="submit"] {
  padding: 8px 20px;
  background: var(--reddish);
}
.button-link, a.button-link, button.button-link {
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: #fff;
  background: var(--reddish);
  border: 2px solid var(--reddish);
  border-radius: 5px;
  padding: 10px 42px;
  font-size: 120%;
}

.button-round, a.button-round, button.button-round {
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  border: 2px solid var(--theme-color);
  border-radius: 5px;
  padding: 10px 42px;
  font-size: 120%;
}


@media (max-width: 767px) {
  .button-round, a.button-round, button.button-round {
    padding: 7px 22px;
    font-size: 100%;
  }
}
@media (max-width: 405px) {
  .button-round, a.button-round, button.button-round {
    padding: 5px 10px;
    font-size: 80%;
  }
}

.off-canvas-wrapper {
  display: none;
}

/* HEADER TOP */
.header-block-container {
  z-index: 30;
}
.homepage .header-top-blocks {
  background: var(--body-bg);
}
.header-top-blocks {
  font-size: 90%;
  font-weight: bold;
}
.header-main {
  margin-top: -40px;
}

/**************************************/
/********** ALL FRONT ZONES ***********/
/**************************************/
.front-zone {
  width: 100%;
  clear: both;
  padding: 5.0em 0;
}
.front-even {
  background: var(--lightgray2);
}
/* Block title */
.homepage-content .block-title {
  text-align: left;
  margin-bottom: 0.5em;
  border-bottom: 1px solid var(--lightgray);
  padding-bottom: 0.5rem;
}
.homepage-content .block-title::before {
  display: none;
}
.homepage-content .block-title::after {
  display: none;
}

/**************************************/
/********* FRONT NEWS ZONE ************/
/**************************************/
.front-news {
  padding: 3.0em 0 5.0em 0;
}
.news-events article {
  padding-bottom: 30px;
  padding-top: 15px;
  border-bottom: 1px solid var(--lightgray);
}
/*
.hbio-item {
  flex: 1;
  padding: 0 20px 0 0;
  margin: 0;
}*/
.creation-mm {
  /* color: red; */
  color: var(--theme-color-two);
}
.creation-tm {
  font-size:smaller;
}
.box {
  background: var(--footer-bg);
  padding: 1.6em;
  border-radius: 0px;
}
.box-news {
  min-height: 300px;
  margin: 1em;
  -webkit-box-shadow: 0 0 10px var(--lightgray);
  box-shadow: 0 0 10px var(--lightgray);
}
.more-btn {
  position: absolute;
  bottom: 24px;
}
.created-date {
  padding: 10px 0 20px 0;
  color: var(--theme-color-two);
}
.pbox {
  border: 1px solid var(--border-color);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background: var(--body-bg);
}
.more {
  padding-top: 0.7rem;
  border-top: 1px solid #c7c7cc;
  position: absolute;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  font-size: 1.0rem;
  transition: color .2s;
  width: 85%;
}
.more-arrow {
  display: flex;
  justify-content: flex-end;
  /* width: 1rem; */
  overflow: hidden;
}
.more-arrow:after {
  margin-left: .6rem;
  font-size: .8rem;
  transition: transform .15s ease-out;
}

/**************************************/
/******** FRONT ABOUT US ZONE *********/
/**************************************/
.aboutus {
  position: relative;
  display: flex;
  /* background-image: url("/sites/default/files/2021-06/bg-hdhc.png"); */
  background: var(--lightgray2);
  background-size: cover;
}
.aboutus::before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  /* background-color: rgba(255,255,255,0.75); */
}

/**************************************/
/******* FRONT SERVICES ZONE **********/
/**************************************/
.service {
  min-height: 290px;
}
.service .button-link {
  position: absolute;
  bottom: 15px;
}
.services {
  padding: 8em 0;
}
#block-frontservices:before {
  content: ' ';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  /* background-image: url('/sites/default/files/2021-06/bg-hdhc.png');
  background-image: url('/sites/default/files/2021-05/bg-orci.jpg'); */
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: cover;
}
.services .icon-box, .icon-box2 {
  background: none;
}
.services h4 {
  padding-top: 20px;
}
.services img {
  /* max-width: 290% !important; */
  width: 20rem !important;
}
.services .more {
  position: relative;
  margin-top: 4rem;
}
.servimage {
  width: 85% important;
}
/**************************************/
/*********** PARTNERS ZONE ************/
/**************************************/
.partners-section {
  position: relative;
  display: flex;
  /* background-image: url("/sites/default/files/2021-06/HDHC_1500x500.png");
  background: var(--lightgray2);
  background-size: cover;
   */
}

/*
.partners-section::before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-color: rgba(255,255,255,0.65);
}

 */
partners-section .box {
  background: var(--theme-color-two);
  padding: 0em;
}

/**************************************/
/************ ESPA ZONE ***************/
/**************************************
.espa {
  margin-bottom: -3em;
}
@media (min-width: 1170px) {
  .espa img {
    width: 65%!important;
  }
}
@media (max-width: 1170px) {
  .espa img {
    width: 85%!important;
  }
}

.more-link {
  margin-top: -1.5em;
  margin-bottom: 3em;
  font-weight: bold;
  font-size: 105%;
}
*/

/**************************************/
/********** FRONT SLIDER **************/
/**************************************/

.slider,
.home-slider {
  position: relative;
  width: 100%;
  height: 70vh;
  z-index: 10;
}

.slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--theme-color-two);
}

.slider h3 {
  font-size: 1.4em;
  color: var(--theme-color-two);
  padding-bottom: 2.5rem;
}
.slider h1 {
  font-size: 3.0em;
  color: var(--body-bg);
  padding-bottom: 3.5rem;
}
@media (min-width: 776px) {
  .slider::before {
    background: url(/sites/default/files/2021-09/hero-banner.jpg) var(--theme-color-two);
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
  }
  .slider h1 {
    width: 60%;
  }
  .slider h3 {
    font-size: 1.4em;
    color: var(--theme-color);
    padding-bottom: 2.5rem;
  }
}

.owl-carousel .owl-stage-outer {
z-index: 12;
}
/* Slider - Individual slide
----------------------------*/
.slider-item {
  position: relative;
  height: 70vh;
  width: 100%;
  display: flex;
  align-items: center;
}
/* Slider Image
----------------------------*/
.slider-img {
  padding-right: 40px;
  flex: 2 2 40%;
}

/* Slider Text
----------------------------*/
.slider-text {
  visibility: hidden;
  z-index: 8;
  flex: 3 3 60%;
}
@media (max-width: 767px) {
  .slider-item {
    flex-direction: column;
  }
  .slider-img, .slider-text {
    text-align: center;
  }
  .slider-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .slider-img img {
    max-height: 30vh;
  }
  .slider h1 {
    font-size: 2.0em;
  }
  .slider p {
    font-size: 1.0em;
  }
}

/**************************************/
/********* FOOTER CONTACT ICONS *******/
/**************************************/
.ficon::before {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
.location::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f3c5";
  /* color: #ff8418; */
  font-size: 150%;
  padding-right: 10px;
}
.phone::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f879";
  /* color: #ff8418; */
  font-size: 150%;
  padding-right: 10px;
}
.cform::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f1d8";
  /* color: #ff8418; */
  font-size: 150%;
  padding-right: 10px;
}

/**************************************/
/******** FEES BLOCK VIEW *************/
/**************************************/
/*
.hbio-item {
  flex: 1;
  padding: 0 20px 0 0;
  margin: 0;
}*/
.fees .box {
  background: var(--footer-border-color);
  padding: 1.6em;
  border-radius: 0px;
  font-family: 'Open Sans', sans-serif;
  color: var(--body-bg);
}
.fees .box-news {
  min-height: 300px;
  min-width: 355px;
  margin: 0.8em;
}
.fees h4 {
  font-family: 'Open Sans', sans-serif;
  color: var(--body-bg);
  font-weight: 400;
}
.fees h6 {
  font-family: 'Open Sans', sans-serif;
  color: var(--theme-color);
  padding-bottom: 30px;
}
.fees span {
  font-family: 'Open Sans', sans-serif;
  color: var(--lightgray3);
  font-size: 80%;
}

/**************************************/
/******** PARTNERS LIST PAGE **********/
/**************************************/

.partners-pg .node-taxonomy-container {
  padding: 0;
  border-top: 0px solid
}
.partners-pg p {
  color: var(--border-color);
}
.partners-pg .item {
  flex: 1;
  padding: 0 15px 0 15px;
  margin: 10px;
  min-width: 270px;
  border: 1px solid var(--border-color);
}
.partners-pg .image-field {
  margin: 0 0 0 0;
  padding: 10px;
}


/**************************************/
/******** PARTNER SINGLE PAGE *********/
/**************************************/
.page-type-partner .node-taxonomy-container, .node-links-container {
  border-top: 0px;
}

/**************************************/
/*********** PARTNERS ZONE ************/
/**************************************/
.slick-slide {
  margin: 0 0.8em;
}
.slick-slide img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 992px) {
  .slick-slide{
    margin: 0 0.3em;
  }
  .slick-slide p {
    display:none;
  }
}
/* Slick arrows */
.slick__arrow {
  text-align: center;
  padding-left: 3px;
  padding-top: 20px;
}
.slick-prev::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f060";
  color: #00bdf2;
  font-size: 130%;
  padding-right: 10px;
}
.slick-next::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f061";
  color: #00bdf2;
  font-size: 130%;
  padding-left: 10px;
}
.slick-prev {
  background: transparent;
}
.slick-next {
  background: transparent;
}
.slick-prev:hover {
  background: transparent;
}
.slick-next:hover {
  background: transparent;
}

/* New Parters Block */
.pgrid .node-taxonomy-container, .node-links-container {
  padding: 0em 0;
  border-top: 0px;
}
.pgrid .grid {
  margin: 0 0 0rem;
}
.pgrid .taxonomy-terms {
  margin: 1em 0.4em 1em 0.4em;
  background-color: var(--white);
  -webkit-box-shadow: 0 0 10px var(--lightgray);
  box-shadow: 0 0 10px var(--lightgray);
}
.pgrid li {
  padding: 0;
}
.pgrid .image-field {
  margin: 0 0 -0.5rem 0;
}

/**************************************/
/************** TWEETS ****************/
/**************************************/
.tweet {
  /* margin-bottom: -20px; */
}
time {
  font-size: smaller;
  /* color: #10bdc6;*/
  color: var(--theme-color-two);
}
ul.twitter-feed {
  list-style-type: none;
  /* padding-left: 2em; */
}
ul.twitter-feed li {
  display: table-cell;
  padding: 20px 20px 20px 0px;
}
ul.twitter-feed li::before {
  font-family: 'FontAwesome';
  content: '\f099';
  color: var(--theme-color);
  font-size: 3em;
}

/**************************************/
/*********** EVENTS LIST **************/
/**************************************/
.event {
  position: relative;
  z-index: 0;
  display: flex;
  padding-bottom: 40px;
}
.events-blk .event__info {
  margin-right: 20px;
}
.events-pg .event {
  align-items: center;
}
.event__date {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 7rem;
  height: 7rem;
  min-width: 7rem;
  font-weight: 700;
  color: #fff;
}
.event__date-day {
  font-size: 3rem;
  line-height: 1.1;
}
.event__date-my {
  font-size: 1rem;
  font-weight: bolder;
}
.second-text {
  font-size:smaller;
  /* color: #10bdc6;*/
  color: var(--theme-color-two);
}

.event-q-one {
  position: relative;
  top: 0.75rem;
  min-width: 2.0rem;
  width: 2.0rem;
  height: 2.0rem;
  border-radius: 0%;
  z-index: 30;
  border-bottom: 2px solid var(--lightgray2);
}
.event-q-two {
  background: var(--theme-color-two);
  top: 0px;
  right: 2.0rem;
  border-radius: 0%;
}
.events-blk .event-q-one {
  top: 3.2rem;
}

/**************************************/
/********** SINGLE EVENT **************/
/**************************************/
.wrapper{
  display: flex;
  flex-direction: row;
}
.boxlayout {
  background-color: white ;
  padding: 20px;
}
.infobox {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  margin-right: 20px;
}
.summary {
  color: var(--theme-color-two)
}
.eventi {
  color: var(--theme-color-two)
}
.wrapper .node-taxonomy-container, .node-links-container {
  border-top: 0px solid var(--border-color);
}


/**************************************/
/********** MEMBERS LIST ***************/
/**************************************/
.member-list {
  display: flex;
  flex-wrap: wrap;
}
.box-member {
  padding: 1.0em;
}
.infotainer {
  position: relative;
  min-width: 250px;
  min-height:500px;
  border: 1px solid var(--text-color);
  word-break: break-word;
}
.infotainer .image-field {
  margin: 0px;
}
.infologo {
  text-align: center;
  border-bottom: 1px solid var(--text-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1 1 auto;
  width: 100%;
  padding-top: 10px;
  /*
  height: 10rem;
  min-height: 10rem;
  max-height: 10rem;
  */
}
.infocard {
  padding: 20px;
}
.infocard i {
  padding-right: 10px;
}
.mmore {
  padding-top: 0.7rem;
  border-top: 1px solid var(--lightgray3);
  position: absolute;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: color .2s;
  width: 85%;
}
.accordion-content {
  padding: 0;
  margin: 0;
}

/**************************************/
/********** SINGLE MEMBER *************/
/**************************************/
.infoprofile {
  padding-left: 30px;
}
.page-type-member .row {
  display: flex;
  flex-direction: row;
}
@media (max-width: 768px) {
  .page-type-member .row {
    display: flex;
    flex-direction: column;
  }
  .infoprofile {
    padding-top: 30px;
    padding-left: 0px;
  }
}
/* Geolocation map */
.geolocation-map-wrapper {
  border: 1px solid var(--text-color);
}


/**************************************/
/********** SIDE BLOCKS ***************/
/**************************************/
.sidebar .block {
  padding: 20px 20px 1px 20px;
}

/* LOGIN */
body.path-user .user-form-page__user-form img {
  max-height: 100px;
}

/* NEW FOOTER */
.footer {
  margin-top: 6rem;
  color: var(--bold-color);
  overflow: hidden;
}
.footer__subscribe {
  position: relative;
  background-color: var(--theme-color);
  color: var(--footer-color);
  padding-bottom: 5rem;
  margin-bottom: -2rem;
}
.footer__subscribe:before {
  content: "";
  position: absolute;
  top: 0;
  right: -30px;
  bottom: -1rem;
  left: -30px;
  display: block;
  background-color: var(--theme-color);
}
.footer__subscribe-content {
  position: relative;
  z-index: 3000;
}
@media (min-width: 1200px) {
  .footer__subscribe:before {
    right: calc(-50vw + 540px);
    margin-bottom: 1rem;
  }
}
@media (min-width: 992px) {
  .footer__subscribe:before {
    left: 0;
    right: calc(-50vw + 450px);
    margin-bottom: 1rem;
  }
}
@media (min-width: 768px) {
  .footer__subscribe:before {
    left: calc(-50vw + 345px);
    right: calc(-50vw + 345px);
    margin-bottom: 1rem;
  }
}
@media (min-width: 576px) {
  .footer__subscribe:before {
    /* left: calc(-50vw + 1005px); */
    left: calc(-30vw + 705px);
    right: calc(-50vw + 255px);
    margin-bottom: 1rem;
  }
}
.flex-1 {
  flex: 1 0 auto;
}
.text-white {
  color: #fff!important;
}
.pt-4, .py-4 {
  padding-top: 4.5rem!important;
}
.pl-3, .px-3 {
  padding-left: 3rem!important;
}
.footer__row {
  display: flex;
  flex-direction: wrap;
}
.footer .row {
  display: flex;
  flex-wrap: wrap;
}
@media (min-width: 992px) {
  .footer__row {
    flex-direction: row;
  }
}
.footer__info a:hover, .footer__doormat a:hover {
  color: var(--bold-color);
}
.footer__doormat .line {
  border-top: 1px solid var(--content-border-color);
  width: 90%;
}
.link-next-arrow {
  margin-left: .6rem;
}
.flex-column {
  flex-direction: column!important;
}
.d-flex {
  display: flex!important;
}
@media (min-width: 992px) {
  .col-lg-5 {
    flex: 0 0 41.6666666667%;
    max-width: 41.6666666667%;
  }
}
/* Copyright */
#footer-bottom-last {
  position: relative;
  margin: 0;
  padding: 0.5em 0;
  border-top: 0px;
  margin-left: -1rem;
}

/* Scrolltop */
.scrolltop-icon {
  border-radius: 0%;
}
.scrolltop-icon:after {
  font-family: 'FontAwesome';
  content: "\f106";
  font-size: 1.8rem;
  transition: transform .15s ease-out;
}
.scrolltop {
  position: fixed;
  display: none;
  right: 10px;
  bottom: 10px;
  width: 50px;
  height: 50px;
  line-height: 42px;
  border-radius: 5%;
  background: var(--theme-color-two);
  color: #fff;
  font-size: 20px;
  z-index: 20;
  cursor: pointer;
  text-align: center;
  padding: 4px;
}
.scrolltop:hover {
  background: var(--bold-color);
}

/* SERVICES PAGE */
.sline {
  margin: 0.2em 0 5.0em 0;
  border-color: var(--lightgray);
}
.service-p img {
  max-width: 70% !important;
}
.service-p p {
  line-height: 2rem;
}
.call-to-action {
  padding: 3rem;
}

/* BANNER */
.banner {
  color: var(--white);
  margin-bottom: 0em;
}
.banner .banner-message {
  left: 20px;
}
.banner h2, .banner h3 {
  color: var(--theme-color);
}
.banner p {
  width: 70%;
}
@media (max-width: 992px) {
  .banner-body {
    display: none;
  }
}
@media (max-width: 767px) {
  .banner h2, h3 {
    font-size: 1.5em;
  }
  .button-link, a.button-link, button.button-link {
    padding: 7px 22px;
    font-size: 100%;
  }
}
@media (max-width: 405px) {
  .banner h2, h3 {
    font-size: 1.0em;
  }
  .button-link, a.button-link, button.button-link {
    padding: 5px 10px;
    font-size: 80%;
  }
}

/**************************************/
/******** TEAM PAGE & BLOCKS **********/
/**************************************/

/* Team full (applies to node--team--full.html.twig) */
.team-full .team-pic {
  float:left;
}
.team-full .image-field {
  margin: 0 3em 1em 0;
}
.team-full .team-social {
  display:inline-block;
}

/* Team teaser (applies to node--team--teaser.html.twig) */

.team .item {
  text-align: center;
  background-color: var(--aqua);
  padding: 10px 0 20px 0;
  margin: 0 10px 0 10px;
}
.team .icon-box {
  background-color: var(--aqua);
}
/*
.team-name {
  padding-top: 20px;
}*/
.team-position {
  border-bottom: 2px solid var(--white);
  margin: 2px 0 20px 0;
  padding-bottom: 20px;
}
#block-views-block-hbio-team-block-1 h2, #block-views-block-hbio-team-block-2 h2 {
  text-align: center;
  padding: 20px 0;
}





/**************************************/
/*************** TAGS *****************/
/**************************************/

/* .views-view-responsive-grid .node-taxonomy-container {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0em 0; 
    border-top: 0px solid var(--border-color);
} */


.box .node-taxonomy-container {
    padding: 0em 0; 
}
.box .taxonomy-term::before {
    content: "#";
}










/* TEST
.full {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  flex-basis: 100%;
  margin: 0 -0.5rem;
}
*/
