/*
Theme Name: NextoilResourceCenter
Author: Gianluca Tuscano
Author URI: http://skriba.it
Description: Skriba custom theme
Version: 5.4.3
*/

:root {
  --blue: #00669D;
  --orange: #E74E00;
  --gray: #2E2E2E;
  --darkblue: #002031;
  --lightgray: #EFEFEF;
}

@font-face {
  font-family: "Titillium Web";
  src: url(./font/TitilliumWeb-Regular.ttf) format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Titillium Web";
  src: url(./font/TitilliumWeb-SemiBold.ttf) format("truetype");
  font-weight: 600;
}

@font-face {
  font-family: "Titillium Web";
  src: url(./font/TitilliumWeb-SemiBoldItalic.ttf) format("truetype");
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: "Titillium Web";
  src: url(./font/TitilliumWeb-BoldItalic.ttf) format("truetype");
  font-weight: 800;
  font-style: italic;
}

@font-face {
  font-family: "Titillium Web";
  src: url(./font/TitilliumWeb-Bold.ttf) format("truetype");
  font-weight: 700;
}

html {
  margin: 0;
  padding: 0;
  font-size: 17px;
  background-color: white;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  font-size: 1rem;
  font-family: 'Titillium Web', sans-serif;
  background-color: white;
  position: relative;
  color: var(--gray);
}

body p:empty:before {
  content: none;
}

body p:empty {
  margin: 0;
}

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

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  padding: 0;
  font-weight: 700;
}

h1 {
  font-weight: 700;
  font-size: 3.7rem;
  text-transform: uppercase;
  color: white;
}

h2 {
  font-size: 2.4rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  text-align: center;
  text-transform: uppercase;
}

a {
  color: var(--blue);
  text-decoration: none;

}

a:hover {
  color: var(--orange);
}

a:focus,
a:hover {
  text-decoration: none;
}

span.wpcf7-list-item {
  margin: 0;
}

div.wpcf7 {
  text-align: center;
}

.preloader {
  background-color: var(--orange);
  width: 100vw;
  height: 100vh;
  position: fixed;
  z-index: 1000000;
  bottom: 0;
  left: 0;
}

.preloader.out {
  height: 0;
  width: 0;
  -webkit-transition: height cubic-bezier(.29, .78, .31, .95) .5s, bottom ease-in 0.3s;
  -o-transition: height cubic-bezier(.29, .78, .31, .95) 0.5s, bottom ease-in 0.3s;
  transition: height cubic-bezier(.29, .78, .31, .95) 0.5s, bottom ease-in 0.3s;
}

.standard .content {
  padding-top: 50px;
  padding-bottom: 80px;
}

.standard .content h2,
.standard .content h3,
.standard .content h4 {
  text-align: inherit;
  text-transform: inherit;
  margin-bottom: 10px;
  margin-top: 20px;
}

.main.e404 {
  margin-bottom: 0;
  padding-top: 200px;
}

.e404 {
  background-color: var(--darkblue);
  padding-top: 250px;
  padding-bottom: 300px;
  position: relative;
}

.e404 .error {
  color: #FF5100;
  font-size: 1.9rem;
  text-align: center;
  margin-top: 60px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 5rem;
}

.e404 .error span {
  font-size: 10rem;
  display: block;
  font-weight: 700;
}

.e404 h2 {
  font-size: 2.5rem;
  font-style: italic;
  color: white;
  text-align: center;
  font-weight: 700;
  border-bottom: 2px solid #FF5100;
  width: fit-content;
  margin: 0 auto;
  padding-bottom: 15px;
}

.e404 a {
  background-color: #FF5100;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.2rem;
  padding: 10px 16px;
  margin-top: 150px;
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* buttòn */

button {}


/* form */

label {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  text-transform: lowercase;
  color: #706f6f;
  width: 100%;

}

input {
  max-width: 100%;
  font-size: 0.9rem;
  font-family: 'Montserrat';
  margin-top: 10px;
  border: 1px solid #64dd17;
  padding: 10px;
  border-radius: 50px;
  background-color: transparent;
  text-transform: uppercase;
  color: white;
  width: 100%;
}

textarea {
  width: 100%;
  border: 1px solid #64dd17;
  border-radius: 35px;
  font-size: 0.9rem;
  font-family: 'Montserrat';
  text-transform: uppercase;
  padding: 20px;
  margin-top: 10px;
  background-color: transparent;
  color: white;

}

input[type=checkbox] {
  width: auto;
}

input[type=submit] {
  background-color: #64dd17;
  color: black;
  font-weight: 700;
  font-size: 0.8rem;
  float: right;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: 50px;
  margin-top: 0;
  font-family: 'Montserrat', sans-serif;
  width: fit-content;
}

.flexslider {
  border: 0;
}

/* colours */

.white {
  background-color: white;
  color: black;
}

.black {
  background-color: black;
}

a:focus {
  outline: none;
}

a:hover {
  text-decoration: none;
}

.flex-baseline {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
}

.flex-end {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.flex-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.flex-height {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
}

.cover {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.contain {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.evidenza {
  width: 100%;
  height: 30vw;
}

.clearfix {
  clear: both;
}

.no-padding {
  padding-left: 0;
  padding-right: 0;
}

.no-padding-left {
  padding-left: 0 !important;
}

.no-padding-right {
  padding-right: 0 !important;
}

.no-padding-top {
  padding-top: 0 !important;
}

.relative {
  position: relative;
}

.main {
  padding-top: 94px;
}

.loop {
  margin-top: 150px;
  margin-bottom: 150px;
}

/* Menu icon css */

#nav-icon1 {
  width: 35px;
  height: 25px;
  position: relative;
  margin-left: auto;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  top: 6px;
}

#nav-icon1 span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #64dd17;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon1 span:nth-child(1) {
  right: 20px;
  top: 0px;
}

#nav-icon1 span:nth-child(2) {
  top: 10px;
}

#nav-icon1 span:nth-child(3) {
  top: 20px;
}

#nav-icon1.open span:nth-child(1) {
  top: 10px;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

#nav-icon1.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

#nav-icon1.open span:nth-child(3) {
  top: 10px;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}



/*-------------------*/

/* header */

.header-container {}

.top {
  background-color: var(--blue);
  position: fixed;
  width: 100%;
  z-index: 999;
}

.top.scroll {
  background-color: var(--gray);
}

.logo-top-head {
  width: 100%;
  background-color: white;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-top-head svg {
  width: 220px;
}

/* menu */

.main-menu a {
  color: white;
  font-size: 1rem;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

.main-menu .current-menu-item a {
  color: #64dd17;
}

.menu {
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
}

.menu ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: flex-end;
  list-style-type: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  margin-block-start: 0;
}

.menu li:not(:last-child) {
  margin-right: 8vw;
}

.menu-mobile {
  display: none;
}

/* home */

.home .nextoil-news {
  padding-top: 60px;
  padding-bottom: 80px;
}

.home .nextoil-news .titolo-news {
  position: relative;
  z-index: 1;
}

.home .nextoil-news .titolo-news h3 {
  text-transform: uppercase;
  color: white;
  text-align: center;
  font-size: 2.3rem;
  position: relative;
  margin-bottom: 80px;
  background: var(--blue);
  width: 100%;
  padding: 8px;
}

.home .nextoil-news .titolo-news h3:before {
  content: '';
  display: block;
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--orange);
  width: 100%;
  height: 100%;
  z-index: -1;
}

.home .nextoil-news {
  background-color: var(--lightgray);
}

.home .content-blog {
  background-color: #2E2E2E;
  color: white;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.home .content-blog .thumbnail-blog {
  width: 100%;
  height: 240px;
}

.home .content-blog .excerpt-blog {
  padding: 20px 20px 90px 20px;
  position: relative;
  height: 290px;
}

.home .content-blog .excerpt-blog h5 {
  margin-bottom: 10px;
  color: #FF5100;
  height: 3rem;
}

.home .content-blog .excerpt-blog span {
  display: block;
  position: absolute;
  padding: 10px 15px;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  bottom: 20px;
  right: 20px;
  background-color: rgba(255, 81, 0, 1);
}

.home .page-head {
  min-height: 400px;
  position: relative;
  z-index: 1;
  background-repeat: no-repeat;
  background-size: calc(100% - 33vw);
  background-position: 100%;
  height: 28vw;
  margin-bottom: 0;
}

.home .page-head:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--orange) 40%, transparent 65%);
  z-index: -1;
}

.home .page-head:after {
  content: '';
  display: block;
  position: absolute;
  left: -4%;
  top: 1vw;
  background-image: url(images/svg/goccia-background.svg);
  height: 30vw;
  width: 300px;
  z-index: -1;
  background-repeat: no-repeat;
}

.home .page-head .container {
  position: relative;
  top: 45%;
  left: 0;
  transform: translateY(-50%);
  padding-bottom: 5px;
}

.home .page-head .miniatura {
  height: 80px;
  width: 80px;
  margin-bottom: 20px;
}

/* footer */

.footer-bottom {
  background-color: #2E2E2E;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 0.7rem;
}

.footer-sotto {
  position: relative;
  height: 60px;
}

.footer-sotto p {
  margin-bottom: 0;
}

footer {
  color: white;
  background-color: var(--blue);
}

.footer-dati p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.footer-dati a {
  color: white;
  font-weight: 600;
}

.footer-dati strong {
  color: white;
  padding-bottom: 5px;
  display: block;
}

.footer-dati>div:last-child::before {
  right: 10%;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-right: none;
  transform: skew(-20deg);
  transform-origin: bottom right;
}

.footer-dati>div:last-child::after {
  left: 0px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-left: none;
}

.logo-footer {
  background-color: white;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-footer svg {
  width: 140px;
}

/* media queries incasinate */

@media (max-width: 1399.98px) {}


@media (max-width: 1199.98px) {

  #nav-icon1 {
    z-index: 100;
  }

  .menu-mobile .menu-contain>ul>li>a {
    padding: 15px 0;
    width: fit-content;
    margin: 0 auto;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 6rem;
  }


  .menu .sub-menu {
    left: auto;
    transform: none;
    z-index: 1000;
    width: 75%;
    margin: 0 auto;
    background-color: white;
  }

  .menu nav>ul>li {
    height: auto;
  }

  .menu ul {
    display: block;
    float: none;
  }

  .menu-mobile {
    z-index: 0;
    position: fixed;
    top: 1vw;
    padding-top: 30vw;
    right: 1vh;
    ;
    width: 0;
    height: 0;
    background: -webkit-linear-gradient(bottom, rgba(100, 221, 23, 1) 0%, rgba(0, 0, 0, 1) 46%);
    background: -o-linear-gradient(bottom, rgba(100, 221, 23, 1) 0%, rgba(0, 0, 0, 1) 46%);
    background: linear-gradient(to top, rgba(100, 221, 23, 1) 0%, rgba(0, 0, 0, 1) 46%);
    ;
    transition: height 600ms cubic-bezier(0.23, 1, 0.32, 1), width 600ms cubic-bezier(0.23, 1, 0.32, 1), border-radius 600ms cubic-bezier(0.23, 1, 0.32, 1), top 600ms cubic-bezier(0.23, 1, 0.32, 1), right 600ms cubic-bezier(0.23, 1, 0.32, 1);
    display: none;
    border-radius: 50%;
  }

  .menu-mobile.menu-ham {
    display: block;
    z-index: 99;
    transition: height 1.5s cubic-bezier(0.755, 0.05, 0.855, 0.06), width 1.5s cubic-bezier(0.755, 0.05, 0.855, 0.06), border-radius 1.5s cubic-bezier(0.755, 0.05, 0.855, 0.06), top 1.5s cubic-bezier(0.755, 0.05, 0.855, 0.06), right 1.5s cubic-bezier(0.755, 0.05, 0.855, 0.06);
    height: 100%;
    width: 100%;
    border-radius: 0;
    top: 0;
    right: 0;
  }

  .menu-contain .main-menu li,
  .menu-contain .main-menu .sub-menu li {
    display: block;
    width: 100%;
    text-align: center;
  }

  .menu-contain .main-menu .sub-menu {
    display: block;
  }

  .main-menu ul {
    position: relative;
  }

}

@media (max-width: 991.98px) {}

@media (max-width: 767.98px) {}

@media (max-width: 575.98px) {}