@font-face {
  font-family: Helvetica Neue;
  src: url(fonts/HelveticaNeueLTStd-Lt.otf);
}

@font-face {
  font-family: Gotham Rounded;
  src: url(fonts/GothamRounded-Medium.otf);
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: Gotham Rounded;
  src: url(fonts/GothamRounded-MediumItalic.otf);
  font-weight: normal;
  font-style: italic;
}

h1, h2, h3, h4, h5, h6, p, span, body, div, a, b, table, tr, td, th {
  font-family: 'Gotham Rounded', sans-serif;
  letter-spacing: 2px;
  word-spacing: 2px;
}

.bg-primario {
  background: #f7f8e6;
}

.bg-secondario {
  background: #939496;
}

body {
  min-width: 360px;
}

.overlay-menu #header #header-wrap #primary-menu-trigger i {
  font-size: 24px;
}

.overlay-menu #header #header-wrap #primary-menu > ul #menu-sinistra {
  display: none;
}

.overlay-menu #header #header-wrap #primary-menu > ul #menu-destra li a {
  padding: 15px;
}

.mfp-image-holder .mfp-content {
  height: 80%;
  width: 90%;
}

.mfp-image-holder .mfp-content .mfp-figure {
  height: 100%;
}

.mfp-image-holder .mfp-content .mfp-figure:after {
  top: 0;
  bottom: 0;
}

.mfp-image-holder .mfp-content .mfp-figure figure {
  position: relative;
  width: 100%;
  height: 100%;
}

.mfp-image-holder .mfp-content .mfp-figure figure img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  -o-object-fit: contain;
     object-fit: contain;
  padding: 0;
}

.mfp-image-holder .mfp-content .mfp-figure figure figcaption {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
}

.mfp-image-holder .mfp-content .mfp-figure figure figcaption .mfp-bottom-bar {
  top: 0;
  margin: 0;
  height: 100%;
}

.mfp-image-holder .mfp-content .mfp-figure figure figcaption .mfp-bottom-bar .mfp-title {
  padding: 20px;
  height: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.mfp-image-holder .mfp-content .mfp-figure figure figcaption .mfp-bottom-bar .mfp-title div {
  font-weight: 300;
}

.mfp-image-holder .mfp-content .mfp-figure figure figcaption .mfp-bottom-bar .mfp-title div:not(:last-child) {
  padding-bottom: 8px;
}

.mfp-image-holder .mfp-content .mfp-figure figure figcaption .mfp-bottom-bar .mfp-title div span {
  font-weight: 400;
}

.mfp-image-holder .mfp-content .mfp-figure figure figcaption .mfp-bottom-bar .mfp-counter {
  width: 100px;
  bottom: 2px;
  top: unset;
  left: calc(50% - 50px);
  text-align: center;
}

#section-galleria .filtri a {
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
}

#section-galleria .filtri a:not(:last-child):after {
  content: ' / ';
  cursor: default;
}

#section-galleria .entry {
  margin-bottom: 30px;
}

#section-galleria .entry:after {
  margin: 0;
  height: 0;
}

#section-galleria .entry .entry-image {
  margin: 0;
}

#section-galleria .entry .entry-image:hover .velina {
  opacity: 1;
}

#section-galleria .entry .entry-image .velina {
  opacity: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  -webkit-transition: opacity .25s;
          transition: opacity .25s;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#section-galleria .entry .entry-image .velina .info .titolo, #section-galleria .entry .entry-image .velina .info .categoria {
  color: #fff;
}

#section-galleria .entry .entry-image .velina .info .titolo {
  position: relative;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 400;
}

#section-galleria .entry .entry-image .velina .info .titolo:after {
  content: '';
  height: 0;
  width: 100px;
  border-bottom: 1px solid #fff;
  position: absolute;
  bottom: -7px;
  left: calc(50% - 50px);
}

#section-galleria .entry .entry-image .velina .info .categoria {
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 0;
}

#about-me .titolo-grande {
  position: relative;
}

#about-me .titolo-grande h1 {
  color: #939496;
  letter-spacing: 10px;
  font-weight: 400;
}

#about-me .titolo-grande:after {
  content: '';
  display: block;
  margin-top: 30px;
  width: 80px;
  border-top: 1px solid #939496;
  position: absolute;
  left: calc(50% - 40px);
  bottom: -30px;
}

#about-me .titolo-border h1 {
  padding: 0 20px;
  display: inline-block;
  border: 1px solid #939496;
  text-transform: uppercase;
  font-weight: 400;
  color: #000;
  letter-spacing: 4px;
}

#journal .articolo .data h1 {
  font-weight: 400;
  letter-spacing: 6px;
  text-transform: uppercase;
}

#journal .articolo .titolo h4 {
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#journal .articolo .testo {
  font-weight: 300;
  letter-spacing: 2px;
}

#journal .articolo .testo p {
  color: #444;
}

#journal .post-pagination {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#journal .post-pagination .page-numbers {
  height: 50px;
  line-height: 50px;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  text-align: center;
  font-size: 24px;
  background-color: #f7f8e6;
  color: #444;
  -webkit-transition: all .25s;
          transition: all .25s;
}

#journal .post-pagination .page-numbers:not(.current):hover {
  background-color: #939496;
  color: #fff;
}

#contatti .form-contatti input[type="text"], #contatti .form-contatti input[type="email"], #contatti .form-contatti textarea, #contatti .form-contatti button {
  background-color: #f7f8e6;
  border: 1px solid #939496;
  font-weight: 400;
  letter-spacing: 2px;
}

#contatti .form-contatti input[type="text"], #contatti .form-contatti input[type="email"], #contatti .form-contatti textarea {
  padding: 20px;
  width: 100%;
  font-size: 18px;
}

#contatti .form-contatti textarea {
  min-height: 200px;
  max-height: 500px;
}

#contatti .form-contatti button {
  padding: 10px 20px;
  font-size: 30px;
  text-transform: uppercase;
}

#contatti .form-contatti span[role="alert"] {
  border-bottom: 1px solid red;
  margin-top: 20px;
  text-align: left;
}

#single .immagine img {
  width: 100%;
}

#single .titolo h1 {
  position: relative;
  letter-spacing: 6px;
  word-spacing: 6px;
  font-weight: 400;
  color: #000;
  margin-bottom: 80px;
}

#single .titolo h1:after {
  content: '';
  position: absolute;
  width: 150px;
  bottom: -30px;
  left: calc(50% - 75px);
  height: 2px;
  background-color: #fc7753;
}

#single .contenuto p {
  font-weight: 300;
  letter-spacing: 2px;
  word-spacing: 2px;
  line-height: 30px;
}

#footer {
  border: none;
  background-color: #fff;
}

#footer #copyrights {
  background-color: transparent;
  color: #fff;
}

#footer #copyrights .logo-footer img {
  height: 50px;
  width: 50px;
}

#footer #copyrights .social-footer a {
  color: #444;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#footer #copyrights .social-footer a:not(:last-child) {
  padding-right: 10px;
}

#footer #copyrights .diritti {
  color: #ccc;
}
