f/*
Theme Name: Arianna Mancini
Author: Neikos srl
Description: Tema per il sito Studio Legale Arianna Mancini
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Studio Legale Arianna Mancini
*/

body {
  margin: 0;
}

/* font-family: 'Open Sans', sans-serif; */

h1, h2, h3, h4, h5 {
  font-family: 'Lora', serif;
}

p {
  font-family: 'Lora', serif;
}

a {
  -webkit-transition: all .25s ease-in-out;
  -moz-transition: all .25s ease-in-out;
  -ms-transition: all .25s ease-in-out;
  -o-transition: all .25s ease-in-out;
  transition: all .25s ease-in-out;
}

.grid-container {
  max-width: 85rem;
}

header.sticky-container {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  z-index: 1;
}

header .container {
  padding:0;
  width: 100%;
  z-index: 10;
  transition: height .25s ease;
  background-color: #012942;
}

header .logo-container {
  background: #ffffff;
}

header a.logo {
  background: url('img/logo.svg') top left no-repeat;
  background-color: #ffffff;
  background-size: cover;
  width: 135px;
  height:110px;
  display: block;
  text-indent: -9999px;
  transition: all .25s ease;
  margin: 15px auto;
}

header .is-stuck a.logo {
  width: 100px;
  height: 80px;
}

header .menu-cont {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

header ul.menu {
  margin: 0;
}

header ul.menu li a {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  transition: all .25s ease;
}

header ul.menu li a:hover,
header ul.menu li.current-menu-item a {
  color: #C0986A;
}

header ul.menu li:last-child a {
  border:1px solid #ffffff;
}

header ul.menu li:last-child a:hover,
header ul.menu li:last-child.current-menu-item a {
  background: #C0986A;
  color: #ffffff;
  border: 1px solid #C0986A;
}

button.menu-icon {
  width: 80px;
  height: 80px;
  display: block;
  float: right;
  background:transparent;
  position: relative;
  margin:0;
  padding: 0
  transition: all .25s ease;
}

button.menu-icon:hover {
  background:transparent;
}

button.menu-icon::after {
  margin: auto;
  height: 3px;
  width: 60%;
  right: 0;
  left: 0;
  top: 24px;
  background: #C0986A;
  box-shadow: 0 13px 0 #C0986A,0 26px 0 #C0986A;
}

button.menu-icon:hover::after {
  background:#C0986A;
  box-shadow: 0 13px 0 #C0986A,0 26px 0 #C0986A;
}

#intro {
  width: 100%;
  position: relative;
  height:550px;
  margin-top: 130px;
}

#intro .small-12.medium-6.cell.foto {
  padding-left: 0;
  padding-right: 0;
}

#intro .slider-intro {
  height: 550px;
  overflow: hidden;
}

#intro .slider-intro .slick-list {
  height: 100%;
}

#intro .slider-intro .slick-list .slick-track {
  height: 100%;
}

#intro .slider-intro figure {
  margin: 0;
  height: 100%;
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
}

#intro .intro-message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  padding: 0 50px;
}

#intro .intro-message h1 {
  color: #012942;
  font-size: 30px;
  font-weight: 700;
}

#intro .intro-message p {
  color: #6E8B9D;
  font-size: 24px;
}

#intro .intro-message h5 a {
  color: #c0986a;
}

#intro-image {
  width: 100%;
  position: relative;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  height:550px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 130px;
}

#intro-image.pagina {
  height: 350px;
  border-bottom: 10px solid #C0986A;
}

#intro-image.pagina h1 {
  text-align: center;
  color: #ffffff;
  font-size: 40px;
  text-transform: uppercase;

  background-color: rgba(1, 41, 66, 0.8);
  padding: 20px 60px;
}

#intro-image.pagina h1 span {
  display: table;
  color: #999;
  font-size: 22px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding:0;
  margin:0 auto;
  border-bottom: 2px solid #C0986A;
}

#aree-consulenza {
  background: #012942;
  border-top: 10px solid #C0986A;
  padding:70px 0 40px 0;
}

#aree-consulenza h2 {
  color: #6E8B9D;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: table;
  margin: 0 auto;
}

#aree-consulenza h5 {
  display: table;
  color: #999;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 40px 15px 40px;
  margin:0 auto 100px auto;
  border-bottom: 2px solid #C0986A;
}

#aree-consulenza .aree h5,
#pagina.archive-areediconsulenza .aree h5 {

  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  border-bottom: none;
  letter-spacing:normal;
  text-transform: none;
  margin: 0 0 20px 0;
  padding: 0;
}

#aree-consulenza .aree h5 a,
#pagina.archive-areediconsulenza .aree h5 a {
  color: #C0986A;
}

#aree-consulenza .aree p,
#pagina.archive-areediconsulenza .aree p {
  color: #C3C3C3;
  font-size: 16px;
  line-height:28px;
}

#aree-consulenza .aree a {
  color: #C0986A;
}

#pagina.archive-areediconsulenza .aree p {
  color: #012942;
}

#aree-consulenza .aree .cell,
#pagina.archive-areediconsulenza .aree .cell {
  padding-left:50px;
  position: relative;
  margin-bottom: 60px;
}

#aree-consulenza .aree a {
  color: #C0986A;
}

#pagina.archive-areediconsulenza .aree a {
  color: #C0986A;
}

#aree-consulenza .aree figure,
#pagina.archive-areediconsulenza .aree figure {
  width: 40px;
  height: 35px;
  position:absolute;
  left: 0;
  background-position: center center;
  background-repeat:no-repeat;
  background-size: contain;
}

#studio {
  width: 100%;
  height:600px;
}

#studio .foto figure {
  margin: 0;
  height:600px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#studio .studio-text {
  background-color: #FBF7F4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  padding: 0 100px;
}

#studio .studio-text h2 {
  color: #012942;
  font-weight: 600;
  font-family: 'Open Sans', sans-serif;
  border-left: 5px solid #C0986A;
  padding: 0 0 0 15px;
}

#studio .studio-text h2 span {
  font-weight:400;
}

#studio .studio-text em {
  font-style: italic;
  color: #5D5D5D;
  font-size: 18px;
  font-family: 'Lora', serif;
  display: block;
  margin: 20px 0 50px 0;
}

#studio .studio-text p {
  color: #5D5D5D;
  font-size: 18px;
  line-height:30px;
}

#studio .studio-text a.button {
  display: table;
  text-transform: uppercase;
  background: #C0986A;
  letter-spacing: 2px;
  padding-left: 30px;
  padding-right: 30px;
  margin: 40px 0 0 0;
}

#legal-news {
  width: 100%;
  display: block;
  padding: 100px 0;
}

#legal-news h3 {
  display: table;
  color: #012942;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 40px 15px 40px;
  margin:0 auto 50px auto;
  border-bottom: 2px solid #C0986A;
}

#legal-news .legalnews-slider article,
#pagina.archive article {
  padding: 0 10px;
}

#legal-news .legalnews-slider article figure,
#pagina.archive article figure {
  height: 250px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#legal-news .legalnews-slider article time,
#pagina.archive article time {
  color: #C0986A;
  display: table;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  margin: 15px 0;
}

#legal-news .legalnews-slider article a,
#pagina.archive article a {
  color: #012942;
  font-size: 18px;
  line-height: 24px;
  margin: 0 0 20px 0;
  display: block;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
}

#legal-news .legalnews-slider article a:hover,
#pagina.archive article a:hover {
  color: #C0986A;
}

#legal-news .legalnews-slider article p,
#pagina.archive article p {
  color: #6E8B9D;
  line-height: 24px;
  font-size: 16px;
}

#legal-news .legalnews-slider article p a {
  color: #C0986A;
  font-size: 1rem;
  font-weight: 400;
  display: block;
  margin: 20px 0 0 0;
}

#pagina.archive article.cell p a {
  color: #C0986A;
  font-size: 1rem;
  font-weight: 400;
  display: block;
  margin: 20px 0 0 0;
}

#legal-news .legalnews-slider .slick-arrow {
  position: absolute;
  top: 20%;
  width: 30px;
  height: 60px;
  margin: auto;
  border: 1px solid #C0986A;
}

#legal-news .legalnews-slider .slick-prev {
  left: -40px;
  background: url('img/arrow.svg') center no-repeat;
  background-size:40%;
  -moz-transform: rotate(-180deg);
  -webkit-transform: rotate(-180deg);
  -o-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  transform: rotate(-180deg);
  cursor: pointer;
  text-indent:9999px;
  display: block;
}

#legal-news .legalnews-slider .slick-next {
  right: -40px;
  background: url('img/arrow.svg') center no-repeat;
  background-size:40%;
  cursor: pointer;
  text-indent:-9999px;
  display: block;
}

#avvocato-risponde {
  width: 100%;
  height:600px;
}

#avvocato-risponde .foto figure {
  margin: 0;
  height:600px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#avvocato-risponde .avvocato-text {
  background-color: #FBF7F4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  padding: 0 100px;
}

#avvocato-risponde .avvocato-text h2 {
  color: #012942;
  font-weight: 600;
  font-family: 'Open Sans', sans-serif;
  border-left: 5px solid #C0986A;
  padding: 0 0 0 15px;
  display: block;
  margin-bottom: 60px;
}

#avvocato-risponde .avvocato-text h2 span {
  font-weight:400;
}

#pagina.archive-avvocatorisponde article {
  position: relative;
  position: relative;
  border-bottom: 1px solid #6E8B9D;
  margin-bottom: 40px;
}

#pagina.archive-avvocatorisponde span.tit-domanda,
#pagina.archive-avvocatorisponde span.tit-risposta {
  color: #C0986A;
  text-transform: uppercase;
}

#pagina.archive-avvocatorisponde article p {
  font-size: 16px;
  line-height: 28px;
}

#pagina.archive-avvocatorisponde article p a {
  display: block;
  float: right;
  margin: 15px 0;
}

#avvocato-risponde .avvocato-text a.domanda,
#pagina.archive-avvocatorisponde a.domanda {
  color: #6E8B9D;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Open Sans', sans-serif;
  margin-bottom:20px;
  position: relative;
  display:block;
}

#avvocato-risponde .avvocato-text a.domanda {
  padding-right: 35px;
  margin-bottom:40px;
}

#avvocato-risponde .avvocato-text a.domanda:hover,
#pagina.archive-avvocatorisponde a.domanda:hover {
  color: #012942;
}

#avvocato-risponde .avvocato-text a.domanda::after {
  content: '';
  position: absolute;
  background: url('img/arrow.svg') center no-repeat;
  background-size:40%;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0px;
  width: 30px;
  height: 60px;
  margin: auto;
  border: 1px solid #C0986A;
}

footer {
  background:#323333;
  padding: 50px 0;
}

footer .flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  align-content: center;
}

footer .flex-start {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  align-content: center;
}

footer h5 {
  color: #6E8B9D;
  font-weight: 700;
  font-size: 20px;
  font-family: 'Lora', serif;
  margin: 0;
  position: relative;
}

footer h5:before {
  content: '';
  position: absolute;
  background: url('img/marker.svg') top left no-repeat;
  width: 16px;
  height: 25px;
  top: 0;
  left:-26px;
}

footer h5 span {
  display: block;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}

footer p {
  color: #ACACAC;
}

footer p strong {
  color: #6E8B9D;
  font-weight: 700;
}

footer ul.footer-menu {
  -webkit-column-count:2;
  -moz-column-count:2;
  column-count:2;
  margin: 0;
  list-style: none;
}

footer ul.footer-menu li a {
  text-transform: uppercase;
  color: #ACACAC;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 1px;
  font-size: 14px;
}

footer ul.footer-menu li a:hover {
  color: #6E8B9D;
  transition: all .25s ease;
}

footer a.button {
  border: 2px solid #6E8B9D;
  color: #6E8B9D;
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  background: transparent;
}

footer a.button:hover {
  background: #6E8B9D;
  border: 2px solid #6E8B9D;
  color: #ffffff;
}

footer ul.social {
  clear: both;
  color: #ACACAC;
  text-transform: uppercase;
  font-size: 14px;
}

footer ul.social li {
  font-family: 'Open Sans', sans-serif;
  padding: 0 5px 0 0;
}

footer ul.social li a {
  text-indent: -9999px;
  display: block;
  width: 25px;
  height: 25px;
}

footer ul.social li.fb a {
  background: url('img/facebook.svg') center center no-repeat;
}

footer ul.social li.in a {
  background: url('img/linkedin.svg') center center no-repeat;
}

#credits {
  background-color: #242424;
  padding: 10px 0;
  font-family: 'Open Sans', sans-serif;
}

#credits a {
  color: #D6D6D6;
  font-size: 12px;
}

#credits .neikos {
  font-size: 12px !important;
  display: block;
  text-align: right;
  color: #D6D6D6;
  padding-top: 3px;
  font-family: 'Open Sans', sans-serif;
}

#credits .neikos a {
  background:url('img/neikos.svg') right -3px no-repeat;
  color: #D6D6D6;
  margin: 0 5px 0 0;
  padding: 0 20px 0 0;
  text-decoration: none;
  text-transform: none;
}

.js-off-canvas-overlay {
  background:hsla(0,0%,0%,.5)
}

#offCanvasRight,
#offCanvasRight .is-drilldown-submenu {
  background: #012942;
  margin: 0;
}

#offCanvasRight .close-button,
#offCanvasRight .close-button:hover,
#offCanvasRight .close-button:focus {
  color: #C0986A;
}

#offCanvasRight .vertical {
  margin: 60px auto 0 auto;
  width: 90%;
}

#offCanvasRight ul.menu-mobile li a {
  color: #ffffff;
  font-size: 18px;
  line-height: 22px;
  font-weight: 400;
  text-transform: uppercase;
  border-bottom: 1px solid #023758;
  padding: 1rem;
  width: 100%;
  display: block;
}

#offCanvasRight .is-drilldown-submenu-parent > a::after {
  border-color: transparent transparent transparent #8a8a8a;
}

#offCanvasRight .js-drilldown-back > a::before {
  border-color: transparent #8a8a8a transparent transparent;
}

.close-button, .close-button.medium {
  font-size: 3rem;
}

#pagina {
  padding: 100px 0;
}

#pagina img.alignright {
  float: right;
  margin: 20px 0 20px 20px;
}

#pagina ul li {
  color: #5D5D5D;
  font-size: 18px;
}

#pagina .intro-text h3 {
  color: #012942;
  font-weight:400;
  margin-bottom: 30px;
  font-family: 'Open Sans', sans-serif;
  border-left: 5px solid #C0986A;
  padding: 0 0 0 15px;
}

#pagina .intro-text h5 {
  color: #5D5D5D;
  font-size: 18px;
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 50px;
}

#pagina .intro-text h6 {
  color: #C0986A;
  font-size: 20px;
  margin-top: 30px;
  font-weight: 600;
}

#pagina .foto-intro {
  display: flex;
  align-items: center;
}

#pagina .foto-studio figure {
  height: 330px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-left: 8px solid #ffffff;
  margin: 50px 0;
}

#pagina .foto-studio .cell:first-child figure{
  border-left: none;
}

#pagina #team {
  padding-top:70px 0;
}

#pagina #team h3 {
  color:#012942;
  text-transform: uppercase;
  font-weight: 400;
  text-align: center;
  letter-spacing: 2px;
  border-bottom: 1px solid #C0986A;
  display: table;
  margin: 0 auto;
  padding: 0 100px 10px 100px;
}

#pagina #team .list-team {
  margin-top: 50px;
}

#pagina #team a {
  display: block;
}

#pagina #team a figure {
  height: 430px;
  margin-bottom: 25px;
  background-position: center;
  background-repeat:no-repeat;
  background-size: cover;
  cursor: pointer;
  position: relative;
}

#pagina #team a figure figcaption {
  width:100%;
  height:100%;
  background-color: rgba(110, 139, 157, 0.75);
  background-position: center center;
  background-repeat: no-repeat;
  opacity:0;
  margin: auto;
  top: 0;
  bottom: 0;
  position: absolute;
  left: 0;
  right: 0;
  transition: all .25s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor:pointer;
}

#pagina #team a:hover figure figcaption {
  opacity: 1;
  color: #ffffff;
  background-image: url('img/plus.svg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 20%;
}

#pagina #team a h4 {
  font-weight: 600;
  text-align: center;
  text-transform: none;
  color: #012942;
  display: block;
  text-align: center;
}

#pagina #team a h5 {
  color: #C0986A;
  display: block;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
}

#pagina.avvocato,
#pagina.sidebar {
  border-top: 10px solid #C0986A;
  margin-top: 130px;
}

#pagina.avvocato figure {
  height: 450px;
  background-position: center;
  background-repeat:no-repeat;
  background-size: cover;
  margin-bottom: 50px;
}

#pagina.avvocato .main-text h1 {
  color: #012942;
  font-weight:700;
  margin-bottom: 30px;
  font-family: 'Open Sans', sans-serif;
  border-left: 5px solid #C0986A;
  padding: 0 0 0 15px;
  margin: 0;
  font-size: 1.9375rem;
}

#pagina.avvocato .main-text h2 {
  color: #C0986A;
  display: block;
  text-align: left;
  padding: 0 0 0 18px;
  margin-bottom: 50px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.25rem;
}

#pagina.avvocato ul {
  margin-left: 2rem;
}

#pagina.avvocato ul li {
  font-family: 'Lora', serif;
  margin: 0 0 10px 0;
}

#pagina p {
  color: #5D5D5D;
  font-size: 18px;
  line-height: 34px;
}

#pagina p a {
  color: #C0986A;
}

#pagina p a:hover {
  text-decoration: underline;
}

#pagina.avvocato h4 {
  color: #C0986A;
  font-weight: 700;
  display: block;
  text-align: left;
  border-left: 5px solid #C0986A;
  padding: 0 0 0 15px;
  margin:50px 0 20px 0;
  font-family: 'Open Sans', sans-serif;
}

#pagina.sidebar time {
  color: #C0986A;
  font-size: 16px;
  margin: 0 0 20px 0;
  display: block;
}

#pagina.sidebar h1 {
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  border-left: 5px solid #C0986A;
  padding: 0 0 0 15px;
  margin: 0 0 30px 0;
}

#pagina.sidebar h1.area {
  font-family: 'Lora', serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  border-left: 5px solid #C0986A;
  padding: 0 0 0 15px;
  margin: 0 0 30px 0;
}

#pagina.sidebar figure {
  height: 400px;
  background-position: center;
  background-repeat:no-repeat;
  background-size: cover;
  margin: 50px 0;
  position: relative;
}

#pagina.sidebar .sidebar h3 {
  font-size: 26px;
  font-weight: 700;
  font-family: 'Lora', serif;
  color:#C0986A;
  border-left: none;
  padding: 0;
}

#pagina.sidebar .sidebar ul.menu {
  margin: 30px 0 0 0;
}

#pagina.sidebar .sidebar ul.menu li a {
  background:#FCF9F9;
  padding: 20px 30px 20px 40px;
  display: block;
  border-bottom: 1px solid #E6E6E6;
  color: #8E8E8E;
  font-size: 16px;
  font-family: 'Lora', serif;
  font-weight: 700;
  position: relative;
}

#pagina.sidebar .sidebar ul.menu li a:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left:15px;
  margin: auto;
  width:12px;
  height:12px;
  background: url('img/side-arrow.svg') center no-repeat;
  background-size: cover;
}

#pagina.sidebar .sidebar ul.menu li:last-child a {
  border-bottom: none;
}

#pagina.sidebar .sidebar ul.menu li a:hover {
  color: #ffffff;
  background: #6E8B9D;
}

#pagina.sidebar .sidebar .widget {
  margin-top: 50px;
}

#pagina.sidebar .sidebar .widget ul {
  list-style: none;
}

#pagina.sidebar .sidebar .widget ul li a {
  display: block;
  color: #8E8E8E;
  font-size: 16px;
  font-family: 'Lora', serif;
  font-weight: 700;
  position: relative;
  margin-bottom: 10px;
}

#pagina.sidebar .sidebar .widget ul li a:hover {
  color: #6E8B9D;
}

#map {
  width: 100%;
  height: 400px;
  margin-bottom: 40px;
}

#map .acf-map {
  width: 100%;
  height:100%;
}

input.wpcf7-submit {
  background: #012942;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 12px;
  display: block;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif;
}

form input::placeholder,
form textarea::placeholder {
  color:#666666;
}

#pagination nav {
  margin: 50px 0 0 0;
}

#pagination a {
  display: inline-block;
}

#pagination .current {
  background: #D6B048;
  padding: 0.5rem 1rem;
}

#pagination .nav-links {
  display: inline-block;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

body.page-template-page-contatti #pagina h5 {
    color: #C0986A;
    font-weight: 700;
    font-size: 20px;
    font-family: 'Lora', serif;
    margin: 0;
    position: relative;
    text-align: left;
}

.wpcf7-form-control-wrap {
  padding-right: .9375rem;
  padding-left: .9375rem;
  margin-bottom: 30px;
}

.consenso,
span.wpcf7-list-item.first.last {
  padding: 0;
  margin: 0;
}

/* - - - - - - - - - - - - - - - - - */
/* - - - - - MEDIA QUERIES - - - - - */
/* - - - - - - - - - - - - - - - - - */

/* Small only */
@media screen and (max-width: 39.9375em) {

  header .menu-cont {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
  }

  header.sticky-container {
    position:relative;
  }

  #intro {
    width: 100%;
    position: relative;
    height: auto;
  }

  #intro-image {
    margin-top: 0;
  }

  #intro .intro-message {
    display: block;
    padding: 50px 30px;
  }

  #intro .slider-intro {
    height: 350px;
    overflow: hidden;
  }

  #intro .slider-intro figure {
    height: 350px;
  }

  #intro .intro-message h1 {
    font-size: 1.5rem;
  }

  #intro .intro-message p {
    font-size: inherit;
  }

  #aree-consulenza {
    padding: 50px 0 40px 0;
  }

  #aree-consulenza .aree figure {
    left: 0;
    right: 0;
    margin: 0 auto;
    top: -50px;
  }

  #aree-consulenza .aree .cell {
    padding-left: initial;
  }

  #aree-consulenza h5 {
    display: block;
  }

  #aree-consulenza .aree .cell {
    text-align: center;
  }

  #studio {
    height: auto;
  }

  #studio .foto figure {
    height: 350px;
  }

  #studio .studio-text {
    padding: 50px;
  }

  #studio .studio-text em {
    font-size: inherit;
  }

  #studio .studio-text p {
    font-size: inherit;
  }

  #studio .studio-text a.button {
    margin: 0 auto;
  }

  #legal-news {
    padding: 40px 0;
  }

  #legal-news .legalnews-slider .slick-arrow {
    bottom: 0;
    width: 40px;
    height: 40px;
    left: 0;
    right: 0;
    top: inherit;
  }

  #legal-news .legalnews-slider .slick-prev {
    left: -70px;
  }

  #legal-news .legalnews-slider .slick-next {
    right: -70px;
  }

  #legal-news .legalnews-slider {
    padding-bottom: 60px;
  }

  #avvocato-risponde {
    height: auto;
  }

  #avvocato-risponde .avvocato-text {
    padding: 50px;
  }

  #avvocato-risponde .avvocato-text a.domanda {
    font-size: 14px;
  }

  #avvocato-risponde .foto figure {
    height: 350px;
  }

  footer {
    text-align: center;
  }

  footer ul.footer-menu {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
    margin:30px 0;
    list-style: none;
    width: 100%;
  }

  footer a.button {
    margin: 0 auto;
  }

  footer ul.social {
    margin: 20px auto 0 auto;
  }

  #credits {
    text-align: center;
  }

  #credits .neikos {
    margin: 5px 0 0 0;
    text-align: center;
  }

  #pagina.avvocato figure {
    height: 280px;
  }

  #pagina.avvocato {
    margin-top: 0;
  }

  .menu-menu-principale-container {
    width: 100%;
  }

}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {

  header.sticky-container {
    position:relative;
  }

  #studio .studio-text {
    padding: 20px;
  }

  #studio .studio-text h2 {
    font-size: 20px;
  }

  #studio .studio-text em {
    font-size: inherit;
  }

  #studio .studio-text p {
    font-size: inherit;
    line-height: inherit;
  }

  #studio .studio-text a.button {
    margin: 10px 0 0 0;
  }

  #intro {
    margin: 0;
    height: 650px;
  }

  #intro .slider-intro {
    height: 650px;
  }

  #legal-news {
    padding: 50px 0;
  }

  #legal-news .legalnews-slider article figure {
    height: 150px;
  }

  #legal-news .legalnews-slider article a {
    font-size: inherit;
  }

  #avvocato-risponde .avvocato-text {
    padding: 20px;
  }

  #avvocato-risponde .avvocato-text h2 {
    font-size: 20px;
  }

  #avvocato-risponde .avvocato-text h2 {
    margin-bottom: 40px;
  }

  #avvocato-risponde .avvocato-text a.domanda {
    font-size: inherit;
  }

  footer h5:before {
    display: none;
  }

  footer h5 {
    text-align: center;
  }

  footer p {
    text-align: center;
  }

  #pagina.avvocato {
    margin-top: 0;
  }

  #pagina.avvocato figure {
    height: 250px;
  }

}

/* Sistemazione menu su schermi piccoli */
@media screen and (min-width: 1024px) and (max-width: 1200px) {
  header ul.menu li a {
    padding: 0.7rem 0.4rem;
    font-size:11px;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1280px) {
  header ul.menu li a {
    padding: 0.7rem 0.4rem;
    font-size:13px;
  }
}

@media screen and (min-width: 1280px) and (max-width: 1500px) {
  header ul.menu li a {
    padding: 0.7rem 0.5rem;
    font-size:13px;
  }
}
