/*
Theme Name: 	The Motion x FDP International
Description: 	Responsive Starter WordPress Theme with: Minimal Style, 3 Menus, Trasparent Header, Cool animations, Light and fast.
Version:     	1.0.0
Author:     	Manuel Tirone
Site:         http://www.tironedesign.it
Text Domain: 	motion
Tested up to: 6.3
Requires PHP: 5.6
Domain Path: 	/languages
Tags:        	blog, custom-colors, custom-logo, custom-menu, custom-bg-image, theme-options, translation-ready, block-editor-patterns, block-editor-styles, custom-background, featured-images, footer-widgets, photography, portfolio, wide-blocks,
License:    	GNU General Public License v3.0
License URI:	http://www.gnu.org/licenses/gpl-3.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

:root {
  /* Colors */
  --white: #ffffff;
  --grey-light: #f3f3f3;
  --grey: #cccccc;
  --grey-dark: #999999;
  --black: #000000;

  /*Theme colors*/
  --background: #ffffff;
  --secondary: #f8f9fa;
  --tertiary: #ced4da;
  --headline: #2e587c;
  --paragraph: #2a2a2a;
  --button: #2271b1;
  --hover: #73bff9;
}

* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 1;
  text-decoration: none !important;
}
*::before,
*::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  font-family: "Barlow", Arial, Helvetica, sans-serif;
  font-size: clamp(0.925rem, 0.8767rem + 0.1644vw, 1rem);
  font-weight: 300;
  color: var(--paragraph);
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -ms-font-smoothing: antialiased;
  text-rendering: optimizeLegibility !important;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  margin: 20px 0 30px 0;
  padding: 0 20px;
}
ul li,
ol li {
  margin-bottom: 10px;
  line-height: 1.6;
}
ul li::marker,
ol li::marker {
  color: var(--button);
}

a {
  transition: 0.3s all ease-in-out;
  color: var(--button);
}
a:visited,
a:active {
  color: var(--button);
}

/*Images*/

figure {
  margin: 0;
}

img {
  width: 100%;
  height: auto;
}

figcaption {
  font-style: italic;
  color: var(--paragraph);
  margin-top: 10px;
  line-height: 1.6;
}

/* Definition list */

dl {
  margin-bottom: 30px;
  font-size: clamp(0.925rem, 0.8767rem + 0.1644vw, 1rem);
  font-weight: 400;
  color: var(--paragraph);
}

dt {
  font-size: clamp(0.925rem, 0.8767rem + 0.1644vw, 1rem);
  line-height: 1.6;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--button);
}

dd {
  padding-left: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/*Tables*/

table {
  width: 100%;
  margin-bottom: 30px;
  border-collapse: collapse;
}

table caption {
  padding: 20px;
  background-color: var(--secondary);
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--headline);
}

th,
td {
  border: none !important;
  padding: 0.75rem !important;
}

td {
  font-weight: 400;
  color: var(--paragraph);
  font-size: 0.875rem;
}

tbody th,
th {
  font-weight: 600;
  text-align: left;
  background: var(--paragraph);
  color: var(--white);
}

tr:nth-child(even) {
  background: var(--white);
}

tr:nth-child(odd) {
  background: var(--grey-light);
}

tfoot tr {
  background: var(--paragraph) !important;
}
tfoot td {
  color: var(--white);
  font-weight: 600;
}

/* Other */

blockquote {
  font-style: italic;
  color: var(--button);
}
blockquote::before {
  content: "\0023";
  color: var(--button);
  font-size: clamp(1rem, 0.5455rem + 1.9394vw, 2rem);
  font-weight: 600;
  opacity: 0.5;
}

hr {
  border: 1px solid var(--grey);
  margin: 40px 0;
}

address {
  margin-bottom: 30px;
  font-style: normal;
}

kbd {
  font-weight: 700;
  color: var(--button);
}

pre {
  font-family: "Barlow", Arial, Helvetica, sans-serif;
  line-height: 1.6;
  margin-bottom: 30px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

button {
  border: none;
  background-color: transparent;
  cursor: pointer;
}

/* Input type */

label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  line-height: 1.6;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--background);
  clip: auto !important;
  clip-path: none;
  color: var(--paragraph);
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

fieldset {
  border: 1px solid var(--grey);
  padding: 20px;
}

legend {
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 0 5px;
  font-weight: 600;
  color: var(--button);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="range"],
select,
textarea {
  border: none;
  border-bottom: 1px solid var(--white);
  padding: 10px 0;
  width: 100%;
  font-size: 1rem;
  font-family: "Barlow", Arial, Helvetica, sans-serif;
  color: var(--paragraph);
  transition: 0.3s;
  background-color: transparent;
}

input[type="range"] {
  accent-color: var(--button);
}

input[type="submit"],
button[type="submit"] {
  display: block;
  width: 100%;
  padding: 15px 0;
  background-color: var(--button);
  border: none;
  color: var(--white);
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s all ease-in-out;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
  background-color: var(--hover);
}

textarea {
  height: 100px;
  min-height: 100px;
  resize: none;
  font-family: "Barlow", Arial, Helvetica, sans-serif;
}

input:focus,
textarea:focus,
select:focus {
  border-bottom: 1px solid var(--hover);
  outline: none;
}

input:-webkit-autofill {
  box-shadow: inset 0 0 0 9999px var(--white);
  -webkit-box-shadow: inset 0 0 0 9999px var(--white);
}
input:-webkit-autofill:focus {
  box-shadow: 0 0 0 50px var(--white) inset;
  -webkit-box-shadow: 0 0 0 50px var(--white) inset;
}

::placeholder {
  color: var(--grey-light);
}

/* Tipografia */

/* barlow-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Barlow";
  font-style: normal;
  font-weight: 300;
  src: url("./fonts/barlow-v12-latin-300.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* barlow-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/barlow-v12-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* barlow-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  src: url("./fonts/barlow-v12-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  word-wrap: break-word;
}

h1 {
  font-size: clamp(2rem, 1.0342rem + 3.2877vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 500;
  color: var(--headline);
}

h2 {
  font-size: clamp(1.6rem, 0.8274rem + 2.6301vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 500;
  color: var(--headline);
}

h3 {
  font-size: clamp(1.3rem, 0.8493rem + 1.5342vw, 2rem);
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 500;
  color: var(--button);
}

h4 {
  font-size: clamp(1.1rem, 0.8425rem + 0.8767vw, 1.5rem);
  line-height: 1.4;
  margin-bottom: 30px;
  font-weight: 500;
  color: var(--headline);
}

h5,
h6 {
  font-size: clamp(1rem, 0.8068rem + 0.6575vw, 1.3rem);
  line-height: 1.4;
  margin-bottom: 15px;
  font-weight: 500;
  color: var(--headline);
}

p {
  font-size: clamp(0.925rem, 0.8767rem + 0.1644vw, 1rem);
  line-height: 1.6;
  margin-bottom: 10px;
  color: var(--paragraph);
}

.subtitle {
  position: relative;
  text-transform: uppercase;
}
.subtitle::after {
  position: absolute;
  top: -10px;
  left: 0;
  content: "";
  width: 40px;
  height: 2px;
  background-color: var(--hover);
}

/* Custom class */

.container-md-desktop {
  width: 80%;
  margin-inline: auto;
  position: relative;
}
.container-lg-desktop {
  width: 90%;
  margin-inline: auto;
  position: relative;
}

.container-sm {
  width: min(800px, 100% - 10vw);
  position: relative;
  margin-inline: auto;
}
.container-md {
  width: min(1200px, 100% - 10vw);
  position: relative;
  margin-inline: auto;
}
.container-lg {
  width: min(1400px, 100% - 10vw);
  position: relative;
  margin-inline: auto;
}

@media (max-width: 992px) {
  .container-md-desktop {
    width: 100%;
  }
  .container-lg-desktop {
    width: 100%;
  }
}

.spacer {
  padding: 120px 0;
}
.divider {
  margin: 120px 0;
}
.center {
  text-align: center;
}
.upper {
  text-transform: uppercase;
}
.margin-t-30 {
  margin-top: 30px;
}
.margin-t-60 {
  margin-top: 60px;
}
.margin-t-100 {
  margin-top: 100px;
}
.margin-b-30 {
  margin-bottom: 30px;
}
.margin-b-60 {
  margin-bottom: 60px;
}
.margin-b-100 {
  margin-bottom: 100px;
}

/* Buttons */

.button {
  position: relative;
  display: block;
  width: fit-content;
  padding: 15px 40px 16px 40px;
  color: var(--white) !important;
  font-weight: 600;
  line-height: 1;
  background-color: transparent;
  margin-top: 30px;
  border: 1px solid var(--white);
}
.button::before {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  width: 0;
  height: 3px;
  background-color: var(--hover);
  transition: 0.3s all cubic-bezier(0.39, 0.575, 0.565, 1);
}
.button:hover::before {
  width: 100%;
}

.normal {
  border: 1px solid var(--paragraph);
  color: var(--paragraph) !important;
}

/*Alerts*/

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 5px;
}

.alert-ok {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

.alert-info {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1;
}

.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

/*Grid*/

.d-grid {
  display: grid;
}
.d-flex {
  display: flex;
}
.d-flex-c {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.row > * {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
}

.row-cols-auto > * {
  flex: 0 0 auto;
  width: auto;
}

@media (min-width: 768px) {
  .col-md {
    flex: 1 0 0%;
  }
  .row-cols-md-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
  .row-cols-md-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .row-cols-md-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .row-cols-md-3 > * {
    flex: 0 0 auto;
    width: 33.3333333333%;
  }
  .row-cols-md-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .row-cols-md-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .row-cols-md-6 > * {
    flex: 0 0 auto;
    width: 16.6666666667%;
  }
  .col-md-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-md-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-md-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-md-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-md-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-md-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-md-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-md-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-md-12 {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (min-width: 992px) {
  .col-lg {
    flex: 1 0 0%;
  }
  .row-cols-lg-auto > * {
    flex: 0 0 auto;
    width: auto;
  }
  .row-cols-lg-1 > * {
    flex: 0 0 auto;
    width: 100%;
  }
  .row-cols-lg-2 > * {
    flex: 0 0 auto;
    width: 50%;
  }
  .row-cols-lg-3 > * {
    flex: 0 0 auto;
    width: 33.3333333333%;
  }
  .row-cols-lg-4 > * {
    flex: 0 0 auto;
    width: 25%;
  }
  .row-cols-lg-5 > * {
    flex: 0 0 auto;
    width: 20%;
  }
  .row-cols-lg-6 > * {
    flex: 0 0 auto;
    width: 16.6666666667%;
  }
  .col-lg-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }
  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  .col-lg-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  .col-lg-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }
  .col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .gap-md {
    gap: 60px;
  }
}
@media (max-width: 992px) {
  .gap-lg {
    gap: 60px;
  }
}

.row-reverse {
  flex-direction: row-reverse;
}
.col-reverse {
  flex-direction: column-reverse;
}

.col-text-md,
.col-text-lg {
  padding: 0 50px;
}

@media (max-width: 768px) {
  .row-md-reverse {
    flex-direction: row-reverse;
  }
  .col-md-reverse {
    flex-direction: column-reverse;
  }
  .col-text-md {
    padding: 0;
  }
}
@media (max-width: 992px) {
  .row-lg-reverse {
    flex-direction: row-reverse;
  }
  .col-lg-reverse {
    flex-direction: column-reverse;
  }
  .col-text-lg {
    padding: 0;
  }
}

.a-top {
  align-items: flex-start;
}
.a-center {
  align-items: center;
}
.a-end {
  align-items: flex-end;
}
.space-btw {
  justify-content: space-between;
}
.space-around {
  justify-content: space-around;
}
.just-center {
  justify-content: center;
}
.scroll-lock {
  overflow: hidden !important;
}

/* ------------ header ------------ */
.admin-bar .header {
  margin-top: 32px;
}
@media only screen and (max-width: 768px) {
  .admin-bar .header {
    margin-top: 46px;
  }
}
@media only screen and (max-width: 600px) {
  .admin-bar .header-fix {
    margin-top: 0;
  }
}
.header-fix .header {
  background-color: var(--black);
  padding: 10px 0;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 7px 29px 0px;
}
.header {
  width: 100%;
  background-color: transparent;
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: 0.3s all ease-in-out;
}
.header .brand {
  margin-right: 50px;
}
.header .brand img {
  width: 110px;
}
.header ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.header .menu li {
  display: inline-block;
  margin-bottom: 0;
}
.header .menu li:not(:last-child) {
  margin-right: 20px;
}
.header .menu li > a {
  text-transform: uppercase;
  font-weight: 500;
  color: var(--white);
}
.header .menu li > a:hover {
  color: var(--hover);
}

.current-menu-item a {
  color: var(--hover) !important;
}

.menu-brand {
  display: none;
}

@media (min-width: 992px) {
  /* ------------ burger ------------ */
  .burger {
    display: none;
  }
}
@media (max-width: 992px) {
  /* ------------ burger ------------ */
  .burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    cursor: pointer;
    position: relative;
    z-index: 1001;
  }
  .burger .item {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--white);
  }
  /* ------------ header ------------ */
  .header .inner {
    justify-content: space-between;
  }
  /* ------------ menu ------------ */
  .header-fix .header .menu {
    top: 80px;
  }
  .header .menu {
    position: fixed;
    overflow-x: hidden;
    top: 0;
    right: -100%;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--white);
    width: 50%;
    z-index: 1000;
    padding: 100px 50px;
    overflow-y: auto;
  }
  .header .menu li {
    display: block;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
  }
  .header .menu li > a {
    color: #444;
    font-size: clamp(1.2rem, 0.7138rem + 2.0746vw, 2rem);
    font-weight: 400;
  }
  /* ------------ menu layer------------ */
  .menu-layer {
    display: block;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    background-color: var(--black);
    opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
  }
  .menu-brand {
    position: absolute;
    bottom: 30px;
    right: 30px;
    filter: invert(1);
    z-index: 10001;
    display: block;
    opacity: 0.1;
    width: 250px;
    opacity: 0;
  }
  .header-fix .menu-brand {
    bottom: 110px;
  }
}
@media (max-width: 575px) {
  .header .menu {
    width: 100%;
  }
}

/* ------------ above ------------ */

.above {
  position: relative;
  overflow: hidden;
  background-color: var(--black);
}
.above * {
  color: var(--white);
}
.above,
.above .inner {
  min-height: 100vh;
  min-height: 100dvh;
}

.above .preview-page {
  height: 100%;
  width: 100%;
  position: absolute;
}
.above .preview-page::before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background-color: var(--black);
  opacity: 0.3;
  z-index: 1;
}
.above .video-cover img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.above .above-video {
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.above-page,
.above-page .inner {
  min-height: 500px !important;
}
.above .inner {
  position: relative;
  z-index: 5;
}
.above video {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  height: 100%;
  width: 100%;
  z-index: 1;
  opacity: 0.7;
}
.above .text {
  padding: 200px 0 100px 0;
}
.above .post-preview {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  opacity: 0.5;
}
.above .post-preview img {
  height: 100%;
  object-fit: cover;
}
/* ------------ media-text ------------ */
.media-text .img-wrap {
  display: block;
  position: relative;
  max-height: 700px;
  height: 100%;
  width: 100%;
}
.media-text .img-wrap img {
  object-fit: cover;
  height: 100%;
}
.media-text .line-img {
  display: block;
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translate(-50%, 0);
  content: "";
  height: 50px;
  width: 3px;
  background-color: var(--hover);
}

@media (max-width: 1260px) {
  .cta {
    flex-direction: column;
  }
  .cta .button {
    width: 100%;
    text-align: center;
  }
  .cta .button:last-child {
    margin-top: 0;
  }
}
@media (max-width: 768px) {
  .media-text .img-wrap {
    aspect-ratio: 16 / 9;
  }
}
/* ------------ cover ------------ */
.cover {
  width: 100%;
  position: relative;
  min-height: 450px;
  background-color: var(--black);
  overflow: hidden;
}
.cover .inner * {
  color: var(--white);
}
.cover .inner {
  position: relative;
  z-index: 5;
}
.cover .inner p {
  max-width: 700px;
  font-size: clamp(1rem, 0.8784rem + 0.5189vw, 1.3rem);
}
.cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  z-index: 0;
  object-fit: cover;
}

/* ------------ colored block ------------ */
.colored-block {
  background-color: #000;
  opacity: 0.95;
  background-image: repeating-radial-gradient(
      circle at 0 0,
      transparent 0,
      #000 10px
    ),
    repeating-linear-gradient(#000, #08243a);
}
.colored-block * {
  color: var(--white);
}
.list-box .num-list {
  color: var(--hover);
  font-weight: 700;
  position: relative;
  margin-right: 30px;
}
.list-box .num-list::after {
  position: absolute;
  content: "";
  bottom: 5px;
  right: -20px;
  height: 10px;
  width: 10px;
  border: 3px solid var(--hover);
  border-radius: 50%;
}
.list-box .box {
  padding: 20px 0;
}
.list-box .box:not(:last-child) {
  border-bottom: 1px solid #444;
}
.brand-fire {
  position: absolute;
  z-index: -1;
  opacity: 0.15;
  height: 500px;
  width: 500px;
  bottom: -50px;
  right: -110px;
}
.brand-master {
  position: absolute;
  z-index: 2;
  width: 700px;
  bottom: -130px;
  left: -100px;
}
#mastersafe::after {
  position: absolute;
  content: "";
  height: 500px;
  width: 500px;
  border: 30px solid var(--white);
  top: -50px;
  left: 10%;
  z-index: 1;
}
@media (max-width: 768px) {
  #mastersafe::after {
    display: none;
  }
  .brand-master {
    position: absolute;
    z-index: 2;
    width: 500px;
    bottom: -130px;
    left: 100px;
    opacity: 0.3;
  }
}
/* ------------ contact ------------ */
#contatti {
  background-color: var(--black);
}
#contatti * {
  color: #fff;
}
#contatti .img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
}
#contatti .ico {
  height: 70px;
  width: 70px;
}
#contatti .box {
  border-bottom: 1px solid #a1a1a1;
  padding: 20px 0;
}
#contatti .box p {
  max-width: 300px;
}
#contatti a:hover {
  color: var(--hover);
}

/* ------------ Footer ------------ */
.footer {
  width: 100%;
  background-color: var(--white);
  position: relative;
}
.footer .brand img {
  width: 150px;
  filter: invert(1);
}
.footer a,
.footer p {
  color: var(--paragraph);
}
.footer a:hover {
  color: var(--hover);
}
.footer h4 {
  margin-top: 40px;
}
.credits {
  padding: 20px 0;
  border-top: 1px solid var(--grey);
}
.credits p {
  margin: 0;
}
@media (max-width: 768px) {
  .credits {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 20px;
  }
}
.scroll-top {
  position: absolute;
  right: 30px;
  top: 0;
  display: grid;
  place-content: center;
  background-color: var(--button);
  height: 40px;
  width: 40px;
  cursor: pointer;
  z-index: 20;
}

.wpml-menu {
  position: absolute;
  right: 0;
  top: 58%;
  transform: translate(-50%, -50%);
  gap: 7px;
}
.wpml-menu a {
  color: var(--white);
  font-weight: 500;
}
.wpml-ls-current-language a {
  color: var(--hover) !important;
}

@media (max-width: 992px) {
  .wpml-menu {
    right: 50px;
  }
}
.footer .menu-footer {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer .wpml-menu {
  list-style: none;
  position: unset;
  margin: 0;
  padding: 0;
  transform: unset;
}
.footer .wpml-menu li {
  margin: 0;
}
.footer .wpml-menu a {
  color: var(--paragraph);
  margin: 0;
  font-weight: 400;
}
.footer .wpml-menu a:hover {
  color: var(--hover);
}

/* ------------ Contact form and checkbox custom ------------ */

.wpcf7-form .wpcf7-form-control-wrap {
  position: relative;
}
.wpcf7-form .wpcf7-not-valid-tip {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.7rem;
  font-weight: 300 !important;
  color: var(--button);
}
.wpcf7-form .select .wpcf7-not-valid-tip {
  right: -20px;
}
.wpcf7-form .form-richiesta .wpcf7-not-valid-tip {
  top: -122px;
}
.wpcf7-form .wpcf7-spinner {
  display: none;
}
.wpcf7-form .wpcf7-list-item {
  position: relative;
  top: -20px;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.6;
}
.wpcf7-form .wpcf7-list-item label {
  display: flex;
  gap: 5px;
  color: #a8a8a8;
  font-size: 0.825rem;
  font-weight: 300;
}
.wpcf7-form .wpcf7-list-item label a {
  color: var(--button);
  font-size: 0.825rem;
  font-weight: 300;
}
.wpcf7-form .wpcf7-list-item label span {
  line-height: 1.6;
}
.wpcf7-form .wpcf7-response-output {
  position: relative;
  left: 10px;
  border: none !important;
  color: var(--button);
  font-size: 0.9rem;
  margin: 0 !important;
  padding: 0 !important;
  margin-top: 20px !important;
}
.wpcf7-form .wpcf7-response-output::after {
  position: absolute;
  top: 0;
  left: -10px;
  content: "";
  background-color: var(--button);
  height: 100%;
  width: 3px;
}

/* ---- checkbox ----*/

input[type="checkbox"] {
  padding: 0;
  position: relative;
  top: 2px;
  margin-right: 5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  border: 1px solid var(--grey);
  background-color: transparent;
  width: 0;
  min-width: 15px;
  height: 15px;
  cursor: pointer;
}

input[type="checkbox"]::before {
  position: absolute;
  content: "";
  background-color: var(--white);
  width: 9px;
  height: 9px;
  top: -7%;
  left: -10%;
  transform: scale(0);
  transition: 0.75s all cubic-bezier(0.63, 0.03, 0.21, 1);
}
input[type="checkbox"]:checked::before {
  transform: scale(1) !important;
  left: -1px;
  top: -1px;
}
/* ------------ breadcrumbs ------------ */

.rank-math-breadcrumb {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: var(--button);
  padding: 10px 30px;
}
.rank-math-breadcrumb p {
  margin: 0;
  padding: 0;
}
.rank-math-breadcrumb a {
  color: var(--white) !important;
  font-weight: 500;
}

/* ------------ 404 ------------ */

.page-not-found {
  height: 100vh;
  background-color: var(--black);
}
.page-not-found .inner {
  height: 100vh;
  align-items: center;
  justify-content: center;
}
.page-not-found .inner h1 {
  color: var(--white);
}
.page-not-found .inner p {
  color: var(--white) !important;
}
.error-404 {
  font-weight: 700;
  font-size: 15rem;
  background: -webkit-linear-gradient(
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 1)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media only screen and (max-width: 992px) {
  .page-not-found {
    margin: 0;
    border-radius: 0;
  }
}
@media only screen and (max-width: 578px) {
  .error-404 {
    font-size: 5rem;
  }
}
