/* Theme Name: Posterheroes
Author: web@quattrolinee.it
Author URI: www.quattrolinee.it
Version: 05/2021 */

html {
  font-size: 16px;
}

html,
body {
  font-family: "DM Sans", sans-serif;
  /* font-size: 16px; */
  font-weight: 400;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #000;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* position: relative; */
}

body b,
body strong {
  font-weight: 700;
}

body i,
body em {
  font-style: italic;
}

h1,
h2,
h3 {
  word-break: break-word;
}

h1 {
  font-family: "DM Sans", sans-serif;
  font-size: 1.7rem;
  /*27px*/
  line-height: 1.2;
}

h2 {
  font-family: "DM Sans", sans-serif;
  font-size: 1.5rem;
  /*24px*/
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 200;
}

h3 {
  font-size: 1.125rem;
  /*18px*/
  line-height: 1.16;
  text-transform: uppercase;
}

h4 {
  font-size: 1rem;
  /*16px*/
}

a {
  font-size: 1.125rem;
  /*18px*/
  line-height: 1.16;
  color: #000;
  text-decoration: underline;
}
a:hover {
  color: #178e82;
  text-decoration: underline;
}

h2 a {
  font-size: 1.5rem !important;
  /*18px*/
}

header ul li.current_page_item a {
  color: #178e82;
  text-decoration: underline;
}

.background-primary {
  background: #000;
}

.color-primary {
  color: #000;
}

.color-secondary {
  color: white;
}

.color-white {
  color: white !important;
}

.color-red {
  font-weight: 700;
  /* color: #FA84C0 !important; */
  color: #178e82 !important;
  opacity: 1 !important;
}

.btn.btn-primary {
  font-family: "DM Sans", sans-serif;
  /* font-size: 2rem; ::  32px*/
  font-size: 1.6rem;
  line-height: 1.2;
  text-transform: uppercase;
  /* padding: 1rem; */
  padding: 0.8rem;
  background: transparent;
  color: #000;
  border: solid 1px #000;
  border-radius: 0;
  font-weight: 200;
}

.btn.btn-primary:hover {
  background-color: transparent;
  /* color: #FA84C0; */
  color: #178e82;
  /* border-color: #FA84C0; */
  border-color: #178e82;
  border-radius: 0;
}

a.filter {
  opacity: 0.6;
  text-decoration: none;
}

.top-0 {
  top: 0;
}

.bottom-0 {
  bottom: 0;
}

.right-0 {
  right: 0;
}

.left-0 {
  left: 0;
}

/* HEADER */

header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 90;
  transition: all 0.2s linear;
  background-color: black;
}
header.bg-black {
  background-color: black;
  transition: all 0s linear;
  /* transition: all 0.2s linear; */
}
header.bg-black li a {
  color: white;
  /* transition: all 0.2s linear; */
}
header.bg-black li.current_page_item a {
  color: #178e82;
  /* transition: all 0.2s linear; */
}
header .logo .logo-svg {
  fill: white;
}
header .logo .logo-svg.fill-white {
  fill: white;
}

.logo img {
  width: 70px;
  height: auto;
}

#logoBianco {
  width: 33%;
}

#logoBianco img {
  margin-left: 30px;
  margin-top: 10px;
}

.home header {
  background-color: transparent;
}
.home header.bg-black {
  background-color: black;
  /* transition: all 0.2s linear; */
}

.home .btn-primary {
  color: #000;
  border: solid 1px #000;
  border-radius: 0;
  background-color: transparent;
}

.home .btn-primary:hover {
  /* background: #FA84C0; */
  background: #178e82;
  color: #000;
  /* border-color: #FA84C0; */
  border-color: #178e82;
  border-radius: 0;
}

.artwork {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  color: #000;
}

/* NAV */

.home .menu a {
  color: #fff;
  text-decoration: none;
}

.home .menu a:hover {
  /* color: #FA84C0; */
  color: #178e82;
}

ul.menu {
  list-style: none;
  display: flex;
  text-transform: uppercase;
  padding-left: 2rem;
}
ul.menu li {
  font-size: 1.25rem;
  /*20px*/
  line-height: 1.2;
  margin-right: 2rem;
  color: #fff;
}
ul.menu li a {
  color: #fff;
  text-decoration: none;
}

ul.menu li a:hover {
  color: #178e82 !important;
  cursor: pointer;
}

#menu-navigation li {
  font-weight: bold;
}

.sub-menu li a {
  font-weight: normal !important;
  font-size: 0.9rem;
  line-height: 1.1rem;
}

/* ul.menu>li:last-of-type a {
    border: solid 1px #FFF;
    padding: 0.25rem;
} */

/* ul.menu li:last-of-type a:hover {
    border-color: #FA84C0 !important;
} */

/* .home ul.menu > li:last-of-type a {
  border-color: #fff;
} */

.menu li.border-item {
  margin-right: 1rem;
}

.menu li.border-item a {
  padding: 0 0.5rem 0 0.5rem;
  border: solid 1px #fff;
  text-align: center;
}

.menu li.border-item:hover a {
  border-color: #178e82 !important;
}

li.menu-item-has-children > a:after {
  font-family: "FontAwesome";
  content: "\f107";
  font-weight: 400;
  margin: 0.3rem;
}

/* .home li.menu-item-has-children > a:after {
  color: #fff;
} */

li.menu-item-has-children.active > a:after {
  content: "\f106";
}

li.menu-item-has-children ul.sub-menu {
  display: none;
  position: absolute;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 1;
  list-style: none;
  /* background-color: #FFF; */
  background-color: black;
  padding: 1rem;
}

body.home li.menu-item-has-children ul.sub-menu {
  background-color: black;
  padding: 1rem;
}

li.menu-item-has-children.active ul.sub-menu {
  display: block;
}

ul.sub-menu li {
  margin: 0;
  padding: 0;
}

ul.sub-menu li a {
  margin: 0;
  padding: 0;
}

/* main {
    margin-top: 5rem;
} */

/* FRONT-PAGE */

.page-top {
  /* background: url('./assets/images/Home.jpg'); */
  /* background-size: cover; */
  /* background-repeat: no-repeat; */
  /* background-position: center; */
  /* min-height: 100vh; */
  margin-bottom: 3rem;
  position: relative;
}

.page-top img {
  height: 100vh;
  width: 100%;
  object-fit: cover;
}

.page-top h1 {
  font-size: 2rem;
  line-height: 1;
  color: #000;
}

.page-top h2 {
  color: #000;
  margin: 0 0 4rem 0;
}

.page-top .btn {
  border: solid 1px #000;
}

.page-top .page-top-content {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.page-top .page-top-content h1 {
  font-size: 3.25rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.page-top .page-top-content h2 {
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: 0;
}

/* CONTENT-PAGE */

.page-title h1 {
  font-weight: 700;
}

/* PAGE-BEFORE-CONTENT */

.page-before-content .row {
  margin: 0 0 3rem 0;
}

.page-before-content p {
  font-family: "DM Sans", sans-serif;
  font-size: 1.7rem;
  /*27px*/
  line-height: 1;
  font-weight: 700;
}

/* PAGE-CONTENT */

.page-content {
  margin: 0 0 3rem 0;
}

.page-content > div > h2 {
  margin: 2rem 0 1rem 0;
}

/* #fp-content-nomt {
    margin: -2rem 0 0 0;
} */

.page-content p {
  line-height: 1.5;
}

.page-content p a.btn {
  margin: 1rem 0 1rem 0;
}

.page-content aside .cit {
  font-family: "DM Sans", sans-serif;
  font-size: 1.5rem;
  /*24px*/
  line-height: 1.2;
  font-weight: 700;
}

.page-content aside .auth {
  font-size: 0.625rem;
  line-height: 1;
}

/* PAGE-AFTER-CONTENT */

.page-after-content {
  margin: 0 0 4rem 0;
}

.page-after-content .video {
  margin: 0 0 4rem 0;
}

.page-after-content .gallery span.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  margin-left: 15px;
  padding: 0.5rem;
  background: #707070;
  color: #000;
  font-size: 0.625rem;
}

/* PANEL.php */

.panel .panel-image {
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.panel h2 {
  font-weight: 700;
}

.panel h3 {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
}

/* PAGE-EDITION-PAGINATION */

.page-edition-pagination {
  margin: 0 0 4rem 0;
}

/* PAGE-EDITION */

.page-edition {
  margin: 0 0 4rem 0;
}

.page-edition h2 {
  margin: 0 0 4rem 0;
  font-weight: 700;
}

.page-edition p {
  font-family: "DM Sans", sans-serif;
}

/* PARTIALS */

/* GALLERY + IMAGE */

.gallery img {
  min-width: 100%;
  height: auto;
}

.image img {
  max-width: 100%;
  height: auto;
}

/* VIDEO */

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Project Collection (project_collection.php) */
.project-collection .project-single {
  /* border-bottom: 1px solid #178E82; */
}
.project-collection img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}

/* Call to action (call_to_action.php) */
.call-to-action {
}
.call-to-action .colored-background {
  background: #178e82;
}
.call-to-action .cta-link {
  display: table;
  padding: 0.5rem 0.5rem;
  border: solid 1px #000;
  text-align: center;
  transition: linear all 0.2s;
}
.call-to-action .cta-link:hover {
  background: #000;
  color: #178e82;
}

/* Contact form (contact_form.php) */
/* Input */
.contact-form .form input {
  padding: 0 0.25rem;
}
.contact-form .form input:focus-visible {
  outline: none;
}
.contact-form .form input[type="text"] {
  width: 100%;
  border: none;
  border-bottom: solid 1px #178e82;
}
/* Url */
.contact-form .form input[type="url"] {
  width: 100%;
  border: none;
  border-bottom: solid 1px #178e82;
}
/* Radio */
.contact-form .form .wpcf7-list-item {
  display: block;
  margin-left: 0;
}
.contact-form .form .wpcf7-list-item input[type="radio"] {
  margin-right: 0.25rem;
  accent-color: #178e82;
}
/* Email */
.contact-form .form input[type="email"] {
  width: 100%;
  border: none;
  border-bottom: solid 1px #178e82;
}
/* Checkbox */
.contact-form .form .wpcf7-list-item input[type="checkbox"] {
  margin-right: 0.25rem;
  accent-color: #178e82;
}
/* Submit */
.contact-form .form .submit-container {
  display: flex;
  justify-content: center;
}
.contact-form .form .submit-container input[type="submit"] {
  padding: 0.5rem 0.5rem;
  border: solid 1px #000;
  text-align: center;
  text-transform: uppercase;
  background: #fff;
  transition: linear all 0.2s;
}
.contact-form .form .submit-container input[type="submit"]:hover {
  cursor: pointer;
  background: #178e82;
}
/* Error */
.contact-form .form .wpcf7-not-valid-tip {
  font-size: 0.7rem;
  padding: 0.25rem;
}

/* FOOTER */

footer p,
footer span {
  font-size: 14px;
}

footer p a {
  display: inline-block;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
}

footer .logo {
  width: 68px;
  height: auto;
}

footer .social {
  width: 40px;
  height: auto;
}

/* per submition senza testo */

.page-id-1107 footer {
  margin-top: auto;
}

/* PAGE JURY */

.row-jury img {
  border-radius: 51%;
  width: 220px;
  height: 220px;
  margin-bottom: 30px;
}

.row-jury a {
  font-size: 1rem;
}

/* ACCORDION FILTERS */

.accordion {
  cursor: pointer;
  transition: 0.4s;
}

.accordion:after {
  content: "\002B";
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.accordion.active:after {
  content: "\2212";
}

.panel-accordion {
  padding: 0 18px;
  display: none;
  background-color: white;
  overflow: hidden;
}

/* PAGE CALENDAR */

.month .position-absolute {
  background-color: rgba(0, 0, 0, 0.1);
  transition: all 0.15s ease-in-out;
}

.month .position-absolute:hover {
  background-color: rgba(0, 0, 0, 0.4);
  transition: all 0.15s ease-in-out;
}

/******************************************************************************************************/

/*** 
MEDIA QUERY
***/

/* col-sm */

@media (min-width: 576px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 1.7rem;
  }
  h2 a {
    font-size: 1.7rem !important;
  }
  .page-top h1 {
    font-size: 2.5rem;
  }
  .page-before-content p {
    font-size: 2.5rem;
  }
}

/* col-md */

@media (min-width: 768px) {
  html {
    font-size: 17px;
  }
}

/* col-lg */

@media (max-width: 991px) {
  /* HAMBURGER */
  .hamburger {
    color: #000;
    width: 32px;
    height: 24px;
    /* position: absolute; */
    cursor: pointer;
    right: 16px;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  .hamburger span {
    content: "";
    display: block;
    position: absolute;
    height: 3px;
    width: 32px;
    background: #fff;
    border-radius: 1px;
    transition: 0.2s;
    z-index: 10;
    top: 11px;
    left: 0;
  }
  .hamburger span:before {
    content: "";
    display: block;
    position: absolute;
    height: 3px;
    width: 32px;
    background: #fff;
    border-radius: 1px;
    transition: 0.2s;
    z-index: 10;
    bottom: 9px;
    left: 0;
  }
  .hamburger span:after {
    content: "";
    display: block;
    position: absolute;
    height: 3px;
    width: 32px;
    background: #fff;
    border-radius: 1px;
    transition: 0.2s;
    z-index: 10;
    top: 9px;
    left: 0;
  }
  .hamburger.span-white span,
  .hamburger.span-white span:before,
  .hamburger.span-white span:after {
    background: #fff;
  }

  .home .hamburger span {
    background: #fff;
  }
  .home .hamburger span:before,
  .home .hamburger span:after {
    background: #fff;
  }
  .hamburger span.close {
    background: none;
  }
  .hamburger span.close:before {
    transform-origin: 50% 50%;
    top: 0;
    background: #fff !important;
    z-index: 10;
    position: absolute;
    transform: rotate3d(0, 0, 1, 45deg);
  }
  .hamburger span.close:after {
    transform-origin: 50% 50%;
    top: 0;
    background: #fff !important;
    z-index: 10;
    position: absolute;
    transform: rotate3d(0, 0, 1, -45deg);
  }
  /* NAV */
  .nav {
    display: none;
    background: #000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 3;
    overflow: scroll;
    max-height: 100dvh;
  }
  .nav .menu {
    margin-top: 3rem;
    margin-bottom: 3rem;
    flex-flow: column;
  }
  .nav .menu li {
    padding-bottom: 1.5rem;
    text-transform: uppercase;
  }
  .nav .menu a {
    color: #fff;
  }
  .nav .menu .sub-menu {
    background: #000;
    width: 100%;
    /* position: absolute; */
    left: 0;
    /* padding: 1rem 0 0 1.25rem; */
  }
  .nav .menu .sub-menu li {
    padding-bottom: 1rem;
  }
  .nav .menu .sub-menu li:last-of-type {
    padding: 0;
  }
  li.menu-item-has-children ul.sub-menu {
    position: relative;
    padding: 1rem 0 0 1.25rem;
  }
  body.home li.menu-item-has-children ul.sub-menu {
    padding: 1rem 0 0 1.25rem;
  }
  .showMenu {
    display: block !important;
    color: #fff !important;
  }

  /* ul.menu > li:last-of-type a {
    border: solid 1px #fff;
  } */
}

/* col-lg */

@media (min-width: 992px) {
  body.page {
    display: flex;
    justify-content: space-between;
  }
  html {
    font-size: 18px;
  }
  h1 {
    font-size: 4rem;
    /*64px*/
  }
  h2 {
    font-size: 2rem;
    /*32px*/
  }
  h2 a {
    font-size: 2rem !important;
    /*32px*/
  }
  .logo img {
    width: 82px;
    height: auto;
  }
  ul.menu > li {
    /* display: flex;
        justify-content: center;
        flex-direction: column; */
    margin-top: 1.5rem;
  }
  .page-title h1 {
    margin: 4rem 0 3rem 0;
  }
  .page-top {
    background-position: top center;
  }
  .page-top h1 {
    font-size: 4rem;
    /*32px*/
  }

  .page-top .page-top-content h1 {
    font-size: 4.5rem;
    color: #fff;
    margin-bottom: 0;
  }

  .page-top .page-top-content h2 {
    font-size: 2.25rem;
    color: #fff;
    margin-bottom: 0;
  }
  .page-before-content p {
    font-size: 4rem;
    /*64px*/
  }
  /* ul.menu>li:last-of-type a {
        border: solid 1px #000;
    } */
}

/* col-xl */

@media (min-width: 1200px) {
  header > .container,
  footer > .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  header > .container,
  footer > .container {
    max-width: 1320px;
  }
}

@media (min-width: 1600px) {
  header > .container,
  footer > .container {
    max-width: 1500px;
  }
}

@media (min-width: 1920px) {
  header > .container,
  footer > .container {
    max-width: 1620px;
  }
}
