html,
body {
  background: #f2f4f5;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 18px;
  line-height: 1.3;
  color: #575756;
}
body {
  padding-top: 115px;
  overflow-x: hidden;
}
.img-fluid {
  max-width: 100%;
  height: auto;
}

.text-center {
  text-align: center;
}

.clearfix::after {
  display: block;
  clear: both;
  content: '';
}

.hidden {
  display: none;
}
a {
  color: #0e4280;
}
h1,
h2 {
  color: #0e4280;
  font-weight: 300;
  font-size: 1.667em;
}

/* header */
header {
  background: #fff;
  height: 115px;
  overflow: hidden;
  color: #0e4280;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.25);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 10px 20px;
}
header .wrapper {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}
header .logo {
  /*! margin: 1.5em 0; */
  float: left;
}
header .menu-toggle {
  display: none;
  width: 3em;
  height: 3em;
  position: absolute;
  right: 0;
  top: 23px;
  background: url(../images/menu-open.svg) center center no-repeat;
  background-size: contain;
  cursor: pointer;
}
.is-opened-mobile header .menu-toggle {
  background-image: url(../images/menu-close.svg);
  background-size: 80%;
}

header .contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  position: absolute;
  right: 0;
  top: 10px;
  width: 630px;
  display: flex;
}
header .contacts li {
  display: inline-block;
  border-left: 1px solid orange;
  padding: 0 1em;
  flex: 1 1 auto;
  align-self: center;
}
header .contacts li:first-child {
  border: 0;
  padding: 0;
}
header .contacts li:last-child {
  flex: 0 1 auto;
  padding-right: 0;
}
header .contacts li img {
  margin-right: 5px;
  height: 12px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
header .contacts .label {
  font-size: 12px;
  text-transform: uppercase;
}

@media (min-width: 1025px) {
  header .main-menu {
    position: absolute;
    right: 0;
    top: 55px;
    width: 630px;
    padding-bottom: 1em;
    margin-bottom: 1em;
  }
  nav.main-menu {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.32px;
    border-top: 1px solid #979797;
    padding-top: 0.5em;
  }

  .main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
  }

  .main-menu ul li {
    display: inline-block;
    flex: auto;
    text-align: center;
  }
  .main-menu ul li:first-child {
    text-align: left;
  }
  .main-menu ul li:last-child {
    text-align: right;
  }
}
.main-menu ul li a {
  color: #0e4280;
}
.main-menu ul li a:hover,
.main-menu ul li a.active {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  header .menu-toggle {
    display: block;
  }
  header .logo {
    float: none;
  }
  header .logo img {
    height: 102px;
    width: 135px;
    margin-bottom: 10px;
  }
  header {
    padding: 0.5em 2em;
    transition: 0.25s;
    text-align: left;
  }
  .is-opened-mobile header {
    height: 100vh;
    overflow-y: auto;
  }
  header .main-menu {
    display: block;
    border-top: 1px solid #0e4280;
    padding-top: 1em;
  }

  header .main-menu ul {
    display: block;
    padding: 0;
  }
  header .main-menu li {
    display: block;
    text-align: left;
    font-size: 34px;
    padding: 0.5em 0;
    text-transform: uppercase;
  }

  header .contacts {
    position: static;
    border-top: 1px solid #0e4280;
    padding-top: 1em;
    display: block;
    width: 100%;
  }
  header .contacts li {
    display: block;
    border: 0;
    padding: 0;
    font-size: 22px;
    margin: 1.5em 0.5em;
  }
  header .contacts li .label {
    font-size: 16px;
    margin-left: 50px;
  }

  header .contacts li img {
    height: auto;
    width: 38px;
    margin-right: 0.5em;
    position: relative;
    top: -12px;
  }
  header .contacts li:first-child img {
    top: 0;
  }
}
@media (max-width: 650px) {
  header .main-menu li {
    font-size: 26px;
  }
  header .contacts {
    padding-top: 0;
  }
  header .contacts li .label {
    font-size: 14px;
    margin-left: 0;
  }
  header .contacts li .label {
    font-size: 18px;
  }
  header .contacts li img {
    width: 18px;
    height: auto;
    position: static;
  }
}
/* menu mobile */
body.is-opened-mobile {
  overflow: hidden;
  max-height: 100vh;
}

/* ihavecookies */
#gdpr-cookie-message {
  position: fixed;
  z-index: 200;
  right: 30px;
  bottom: 30px;
  max-width: 375px;
  background-color: white;
  padding: 0;
  -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 0 20px;
  box-shadow: rgba(0, 0, 0, 0.15) 0 0 20px;
}
#gdpr-cookie-message h4 {
  color: #6b6b76;
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  padding: 20px 20px 0 20px;
}
#gdpr-cookie-message h5 {
  color: #6b6b76;
  font-size: 15px;
  font-weight: 500;
  padding: 0 20px 0 20px;
  margin: 0;
}
#gdpr-cookie-message p {
  color: #838391;
  font-size: 15px;
  line-height: 1.5em;
  padding: 20px;
}
#gdpr-cookie-message ul {
  color: #838391;
  font-size: 15px;
  padding: 0 20px 0 20px;
  margin: 0 0 20px 0;
}
#gdpr-cookie-message ul li {
  width: 50%;
  display: inline-block;
}
#gdpr-cookie-message ul li input[type='checkbox'] {
  height: 0;
  width: 0;
  visibility: hidden;
}
#gdpr-cookie-message ul li label {
  cursor: pointer;
  display: block;
  position: relative;
  padding: 0 5px 0 25px;
}
#gdpr-cookie-message ul li label:before {
  content: ' ';
  position: absolute;
  left: 0;
  top: 0;
  -webkit-transform: translateY(3px);
  transform: translateY(3px);
  height: 15px;
  width: 15px;
  border-radius: 999px;
  background: #c6c6c6;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
#gdpr-cookie-message ul li input:checked + label:before {
  background: #f18a1c;
}
#gdpr-cookie-message ul li input:disabled + label {
  cursor: default;
}
#gdpr-cookie-message a {
  color: #838391;
  text-decoration: none;
  font-size: 15px;
  padding-bottom: 2px;
  border-bottom: 1px dotted #838391;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
#gdpr-cookie-message a:hover {
  color: #838391;
  border-bottom-color: #838391;
}
#gdpr-cookie-message #gdpr-cookie-buttons-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}
#gdpr-cookie-message #gdpr-cookie-buttons-container button {
  border: 0;
  background: #0e4280;
  color: white;
  font-size: 15px;
  padding: 15px 10px 15px 10px;
  border-radius: 0;
  margin: 0;
  cursor: pointer;
  text-align: center;
  width: 50%;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
#gdpr-cookie-message #gdpr-cookie-buttons-container button:hover {
  background: #1c5ca8;
  color: white;
}
#gdpr-cookie-message
  #gdpr-cookie-buttons-container
  button#gdpr-cookie-advanced {
  background: white;
  color: #838391;
  margin: 0;
  border-radius: 0;
}
#gdpr-cookie-message
  #gdpr-cookie-buttons-container
  button#gdpr-cookie-advanced:hover {
  background: #fafafa;
  color: #838391;
}
#gdpr-cookie-message #gdpr-cookie-buttons-container button:disabled {
  opacity: 0.3;
}

/* content */
.section {
  max-width: 1280px;
  margin: 0 auto;
  margin-bottom: 5em;
}

.bg-white {
  background: #fff;
}

hr {
  border: 0;
  border-bottom: 1px solid #0e4280;
  margin: 1.4em 0;
}
.white-box {
  background: rgba(255, 255, 255, 0.79);
  padding: 1.4em 2em 2em;
}
.white-box p b {
  color: #0e4280;
}

.section .quote {
  font-size: 2.22em;
  line-height: 1.25;
  color: #0e4280;
  /*! width: 75%; */
  margin: 0 auto;
}
.section .quote:before {
  content: url(../images/icon-quote-start.svg);
  top: -0.35em;
  position: relative;
  margin-right: 0.15em;
}
.section .quote:after {
  content: url(../images/icon-quote-end-1.svg);
  top: 0.25em;
  position: relative;
  margin-left: 0.15em;
}

.hero {
  background: url(../images/family_dentist.jpg) center center #c6c9ca no-repeat;
  background-size: cover;
  height: 626px;
  width: 100%;
  display: table;
}
.hero .quote {
  color: #fff;
  text-shadow: 0 0 11px rgba(0, 0, 0, 0.5);
  font-size: 2.22em;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.hero .quote:before {
  content: url(../images/icon-quote-start.svg);
  top: -0.35em;
  position: relative;
  margin-right: 0.15em;
}
.hero .quote:after {
  content: url(../images/icon-quote-end-1.svg);
  top: -0.35em;
  position: relative;
  margin-left: 0.15em;
}

/* chi-siamo */
.chi-siamo {
  text-align: center;
  margin-top: -5em;
}
.chi-siamo .white-box {
  padding: 1.4em 15% 2em;
}

/* family dentist */
.family-dentist .white-box {
  position: relative;
  left: -6.333%;
  padding-left: 8.333%;
}

.family-dentist .image {
  position: relative;
  z-index: 2;
}

/* servizi */
.servizi-container {
  padding: 1.5em 3em 0;
}
.servizi-container > div {
  padding: 13px;
}
.box-item {
  background: #fff;
  height: 221px;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.box-item hr {
  margin: 1em 0;
}
.box-item figure {
  height: 85px;
  line-height: 85px;
}
.box-item figure img {
  vertical-align: middle;
  max-width: 100%;
}
.box-item p {
  font-weight: 600;
  margin: 0;
}
@media (max-width: 1024px) {
  .servizi-container > div {
    padding: 7px;
  }
}

/* equipe */
.equipe-banner {
  background: #fff;
}
.equipe-banner img {
  margin: 0 auto;
  max-width: 100%;
  display: block;
}
.equipe {
  margin-top: -5em;
}
.equipe p {
  margin-bottom: 1.5rem;
}
.equipe .white-box {
  padding: 1.4em 8.33% 2em;
  text-align: center;
}

/* perche sceglierci */
.perche-noi-item-container {
  padding: 1em;
}
.perche-noi-item-container > div {
  /*padding: 12px;*/
}
.perche-noi-item-container .box-item {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.21);
  height: 150px;
  padding: 10px;
}
.perche-noi-item-container .box-item figure {
  height: 50px;
  line-height: 50px;
}
.perche-noi-item-container .box-item hr {
  margin: 0.4em;
}

.perche-sceglierci {
  position: relative;
  padding-bottom: 100px;
}
.perche-sceglierci .white-box {
  position: relative;
  top: 100px;
  z-index: 2;
}
.perche-sceglierci .content-wrapper {
  padding: 0 16% 0 12%;
}
.perche-sceglierci .slideshow {
  position: absolute;
  right: 0;
}

/* expandable */
.expand-button {
  margin: 1.5em 0 0.5em;
  display: inline-block;
  cursor: pointer;
  transition: 0.25s;
}
.expand-button:hover {
  transform: scale(1.25);
}

.expandable {
  position: relative;
  overflow: hidden;
}
.expandable::after {
  content: ' ';
  background: linear-gradient(rgba(252, 252, 253, 0), #fcfcfd);
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 50px;
  display: block;
}

.expandable.expanded {
  height: auto !important;
  overflow: auto;
}

.expandable.expanded::after {
  display: none;
}

.expand-button::before {
  content: url(../images/icon-more.svg);
}
.expand-button.expanded::before {
  content: url(../images/icon-less.svg);
}

/* contatti */

.mappa-treviso {
  background: url(../images/mappa-treviso.png) center center no-repeat;
  background-size: cover;
  height: 430px;
}
.mappa-musile {
  background: url(../images/mappa-musile.png) center center no-repeat;
  background-size: cover;
  height: 430px;
}
.mappa-container > div {
  transition: 0.25s;
}
.mappa-container:hover > div {
  transform: scale(1.2);
}
.mappa-container {
  overflow: hidden;
}
.mappa-text hr {
  margin: 0.75em 0;
}
.mappa-text {
  background: #fff;
  text-align: center;
  font-size: 1.111em;
  padding: 1em;
  color: #0e4280;
}

.section .contatti {
  /*! max-width: 850px; */
  margin: 0 auto;
  padding: 1.6em 8.333% 3em;
  text-align: center;
  margin-bottom: -5em;
  position: relative;
  z-index: 2;
  color: #0e4280;
  max-width: 66.666667%;
}
.section .contatti img {
  display: block;
  margin: 0 auto 0.25em;
}

/* footer */

.footer-block {
  display: inline-block;
  margin: 1.5em 0;
  text-align: left;
}
.footer-block .logo,
.company-details {
  display: inline-block;
  vertical-align: middle;
}
.company-details {
  border-left: 1px solid #0e4280;
  padding-left: 2em;
  margin-left: 2em;
}

footer .credits {
  margin: 1em 0;
  font-size: 14px;
  text-align: right;
  color: #0e4280;
}

footer .credits a {
  font-weight: bold;
}

/* responsive */
@media (max-width: 1199px) {
  .family-dentist .white-box {
    position: static;
    padding: 1.4em 8.33% 2em;
  }
  .family-dentist .image {
    position: relative;
    float: left;
    padding-top: 57%;
    overflow: hidden;
  }
  .family-dentist .image img {
    position: absolute;
    top: -6%;
    object-fit: cover;
  }
  .servizi-container {
    padding: 0;
  }
  .perche-sceglierci {
    padding-bottom: 0;
  }
  .perche-sceglierci .white-box {
    position: static;
    margin-top: 1em;
  }
  .perche-sceglierci .slideshow {
    position: relative;
  }
  .perche-sceglierci .content-wrapper {
    padding: 0 7%;
  }

  .section .contatti {
    max-width: 100%;
    margin-bottom: 0;
  }
  .mappa-text {
    margin: 0 auto;
    width: 78.25%;
    margin-bottom: 2em;
    padding-left: 2em;
    padding-right: 2em;
  }
  div:last-child > .mappa-text {
    margin-bottom: 0;
  }
}

@media (max-width: 991px) {
  .chi-siamo {
    margin-top: 3em;
  }
  .chi-siamo .white-box {
    padding: 1.4em 8.33% 2em;
    text-align: left;
  }
  .equipe .white-box {
    text-align: left;
  }

  footer,
  footer .credits {
    text-align: center;
  }
  .perche-noi-item-container .col-4 {
    padding: 0.5em;
  }
}

@media (max-width: 767px) {
  h1,
  h2 {
    text-align: center;
  }
  a.expand-button {
    display: block;
    width: 30px;
    height: 30px;
    margin: 1em auto;
  }
  .chi-siamo {
    margin-top: 0;
  }
  .chi-siamo .white-box {
    text-align: center;
  }
  .section.servizi {
    padding: 0 2em;
  }
  .slideshow {
    max-width: 92%;
    margin: 0 auto;
  }
  .mappa-text {
    margin: 0;
    width: 100%;
  }
  .hero {
    height: 434px;
  }
  .hero .quote {
    vertical-align: bottom;
    padding-bottom: 2em;
  }
  .hero .quote:after {
    top: 0.4em;
  }
  .box-item {
    font-size: 0.9em;
    padding: 7px;
  }
  .box-item hr {
    margin: 0.5em 0;
  }

  .perche-noi-item-container .col-4 {
    padding: 0.5em;
    font-size: 0.9em;
  }
  .perche-noi-item-container .box-item {
    padding: 7px;
  }

  footer {
    margin-top: 8em;
    position: relative;
  }
  footer .logo {
    width: 100%;
    text-align: center;
    position: absolute;
    top: -120px;
    left: 0;
  }
  .company-details {
    border-left: 0;
    text-align: center;
    padding: 0;
    margin: 0;
  }
  .section .quote {
    padding: 0 0.25em 0 0.5em;
    font-size: 2em;
  }
  .section .quote:before {
    margin-left: -0.5em;
  }
  .section .quote:after {
    position: absolute;
    top: inherit;
    padding-top: 0.4em;
  }
  .section.chi-siamo .quote {
    padding: 0;
  }

  .white-box {
    padding-left: 10% !important;
    padding-right: 10% !important;
  }
  .perche-sceglierci .white-box {
    padding-left: 5% !important;
    padding-right: 5% !important;
  }
  .perche-sceglierci .content-wrapper {
    padding: 0 5%;
  }
}
@media (max-width: 480px) {
  .white-box {
    padding-left: 12% !important;
    padding-right: 12% !important;
  }
  .perche-sceglierci .white-box {
    padding-left: 6% !important;
    padding-right: 6% !important;
  }
  .perche-sceglierci .content-wrapper {
    padding: 0 6%;
  }
  header .contacts li {
    font-size: 17px;
  }
}
/* short height menu */
@media (max-height: 640px) {
  header {
    position: static;
  }
  .is-opened-mobile header {
    position: fixed;
  }
  body {
    padding-top: 0;
  }
}
