/* top header cctf*/

#navigation.h-section.h-navigation {
  margin: 10px 0 0 0 !important;
}

.h-navigation_outer.h-navigation_overlap {
  background: rgba(255, 255, 255, 0.0);
}

/* Fix copyleft orientation */

.copyleft {
    display: inline-block;
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

/* Fix text on dark boxes */

.text_on_dark {
   color: white !important;
}

/* Fix gargantuan logos in Materiale che accettiamo */

div.loghi_rumenta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  align-content: flex-start;
}

div.loghi_rumenta::before, div.loghi_rumenta::after {
  content: none;

}

div.loghi_rumenta img {
  height: 6rem;
  display: block;
  margin: 0.5rem;
}

/* Fix wrong post count author pages */

body.author.archive .page-subheading {
  display: none;
}

/* Remove landing page title */

body.home .page-header-title {
  display: none;
}

/* zero hero landing */

div:has(> #hero-landing) {
  position: absolute;
}
body.home .page-header {
  background-color: transparent;
}

/* Change podcast colors */

.castos-player .progress__filled {
  background-color: #00983a;
}

.castos-player .play-progress .play-pause-controls .play-btn {
  background: url("https://weeeopen.polito.it/wp-content/uploads/2022/01/podcast-play-icon.svg");
  background-repeat: no-repeat;
  background-position: 14px 11px;
}

/* Fix landing page hero section */

.heeero {
  height: 110vh !important;
}

/* fix blog search bar color */

.wp-block-search .wp-block-search__input {
background: white;
color: #333;
}

.wp-block-search .wp-block-search__input:focus:invalid {
 color: #00983A;
}