/*
Theme Name:   Via Tribunali
Theme URI:    https://www.digimarkkinointi.fi/
Description:  A WP Bootstrap Starter Child Theme
Author:       Suomen Digimarkkinointi Oy
Author URI:   https://www.digimarkkinointi.fi/
Template:     wp-bootstrap-starter
Version:      1.0.2
Text Domain:  wpbootstrapstarterchild
*/

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

:root {
    /* Colors: */
    --main-dark:    #000000;
    --main-light:   #FFFFFF;
    --grey:         #00000029;
    --dark-grey:    #212121;
    --brand-1:      #000000;
    --brand-2:      #FFFFFF;
    --brand-3:      #F2D9D9;
    --text:         #000000;
    --text-light:   #FFFFFF;
    --header-light: #FFFFFF;
    --header-dark:  #000000;
    --bg-light:     #FFFFFF;
    --bg-dark:      #000000;
  
    /* Font/text values */
    --font-family-primary: "BebasNeue", sans-serif;
    --font-family-secondary: "Merriweather", serif;
    --font-size-xm: 14px;
    --font-size-sm: 16px;
    --font-size-md: 18px;
    --font-size-lg: 20px;
    --font-size-xl: 24px;
    --font-size-2xl: 32px;
    --font-size-3xl: 40px;
    --font-size-4xl: 48px;
    --font-size-5xl: 64px;
    --font-size-6xl: 160px;
    --line-height-xm: 20px;
    --line-height-sm: 22px;
    --line-height-md: 24px;
    --line-height-lg: 28px;
    --line-height-xl: 32px;
    --line-height-2xl: 36px;
    --line-height-3xl: 48px;
    --line-height-4xl: 64px;
    --line-height-5xl: 160px;
  
    /* margin and padding variables */
    --margin-xm: 8px;
    --margin-sm: 16px;
    --margin-md: 32px;
    --margin-lg: 40px;
    --margin-xl: 60px;
    --margin-2xl: 100px;
    --margin-3xl: 120px;
    --margin-4xl: 160px;
    --margin-5xl: 225px;
    --margin-6xl: 320px;
    --margin-7xl: 460px;

}

body {
  overflow-x: hidden;
  font-family: var(--font-family-secondary);
}

.site {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

html :where(img) {
  max-width: none;
}

h1 {
  font-family: var(--font-family-primary);
  font-size: 9vw;
  font-weight: bold;
  line-height: 0.95;
  margin-bottom: var(--margin-md);
  color: var(--text);
}

@media (max-width: 1920px) {
  h1 {
    font-size: 12vw;
  }
  h1.sm {
      font-size: 10vw;
  }

  .entry-title {
    font-size: 9vw;
  }
}

@media (max-width: 1014px) {
  h1 {
    font-size: 14vw;
  }
}
 
h2 {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-5xl);
  line-height: var(--line-height-4xl);
  font-weight: bold;
  margin-bottom: var(--margin-md);
}

h3 {
  font-family: var(--font-family-primary);
  font-weight: bold;
  font-size: var(--font-size-4xl);
  line-height: 1;
}

h4 {
  font-family: var(--font-family-primary);
  font-weight: bold;
  font-size: var(--font-size-3xl);
  line-height: 1;
}

h5 {
  font-family: var(--font-family-primary);
  font-weight: bold;
}

p {
  font-family: var(--font-family-secondary);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-md);
  font-weight: normal;
  margin-bottom: 0;
}

@media (max-width: 575px) {
  p, ul li {
    font-size: var(--font-size-xm);
  }
}

p a {
  text-decoration: underline;
}

p a:hover {
  text-decoration: none !important;
}

a {
  color: var(--text);
}

a:hover {
  color: var(--text);
  text-decoration: none;
}

.sdm-bg--dark a {
  color: var(--main-light);
}

.sdm-bg--dark a:hover {
  color: var(--main-light);
  text-decoration: underline;
}

p + p {
  margin-top: var(--margin-sm);
}

h2 + p, p + h2 {
  margin-top: var(--margin-md);
}

h3 + p, p + h2 {
  margin-top: var(--margin-md);
}

p + button {
  margin-top: 24px;
}

h1, h2, h3, h4, h5, h6 {
  scroll-margin-top: 200px;
}

.site-content {
  margin-bottom: var(--margin-xl);
}

.site-content .sdm-bg--light:last-child {
  padding-bottom: 80px;
}
/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

@font-face {
  font-family: BebasNeue;
  src:  url(assets/fonts/BebasNeueRegular.ttf) format('truetype'),
        url(assets/fonts/BebasNeueRegular.woff) format('woff'),
        url(assets/fonts/BebasNeueRegular.woff2) format('woff2');
  font-weight: 400;
}

@font-face {
  font-family: BebasNeue;
  src:  url(assets/fonts/BebasNeueBook.ttf) format('truetype'),
        url(assets/fonts/BebasNeueBook.woff) format('woff'),
        url(assets/fonts/BebasNeueBook.woff2) format('woff2');
  font-weight: 300;
}

@font-face {
  font-family: BebasNeue;
  src:  url(assets/fonts/BebasNeueLight.ttf) format('truetype'),
        url(assets/fonts/BebasNeueLight.woff) format('woff'),
        url(assets/fonts/BebasNeueLight.woff2) format('woff2');
  font-weight: 200;
}

@font-face {
  font-family: BebasNeue;
  src:  url(assets/fonts/BebasNeueBold.ttf) format('truetype'),
        url(assets/fonts/BebasNeueBold.woff) format('woff'),
        url(assets/fonts/BebasNeueBold.woff2) format('woff2');
  font-weight: 600;
}

@font-face {
  font-family: Icons;
  src:  url('assets/fonts/tribu-icon.ttf') format('truetype'),
        url('assets/fonts/tribu-icon.woff') format('woff'),
        url('assets/fonts/tribu-icon.woff2') format('woff2');
}

* {
  -webkit-font-smoothing: antialiased;
}


/*--------------------------------------------------------------
# Bootstrap additions
--------------------------------------------------------------*/
#primary {
  margin: 0 auto;
}

.btn {
  vertical-align: top;
}

.nav-links { /* Posts navigation links */
  display: flex;
  justify-content: space-between;
}

.navbar-brand {
  max-width: 20%;
}

.navbar-brand img { /* Navbar logo size */
  width: auto;
  height: 48px;
}

.site-header {
  padding-top: var(--margin-sm);
  padding-bottom: var(--margin-sm);
}

.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl {
  padding-right: 20px;
  padding-left: 20px;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col,
.col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm,
.col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md,
.col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg,
.col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl,
.col-xl-auto {
  padding-right: 20px;
  padding-left: 20px;
}

.container > .row {
  margin-left: -25px;
  margin-right: -25px;
}

.d-block {
  margin-bottom: var(--margin-lg);
}

button:focus {
  outline: none;
}

@media (min-width: 576px) {
  .container, .container-sm {
    max-width: none;
  }
}

@media (min-width: 768px) {
  .container, .container-sm, .container-md {
    max-width: none;
  }
}

@media (min-width: 992px) {
  .container, .container-sm, .container-md, .container-lg {
    max-width: none;
  }
}

@media (min-width: 1200px) {
  .container, .container-sm, .container-md, .container-lg, .container-xl {
    max-width: none;
  }
}

@media (min-width: 1760px) {
  .container, .container-sm, .container-md, .container-lg, .container-xl {
    max-width: 1680px;
  }
}


/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/* Add hover transition to menu dropdowns */
@media all and (min-width: 992px) {
	.navbar .dropdown-menu-end{ right:0; left: auto; }
	.navbar .nav-item .dropdown-menu{  display:block; opacity: 0;  visibility: hidden; transition:.3s; margin-top:0; }
	.navbar .dropdown-menu.fade-down{ top:80%; transform: rotateX(-75deg); transform-origin: 0% 0%; }
	.navbar .dropdown-menu.fade-up{ top:180%; }
	.navbar .nav-item:hover .dropdown-menu{ background: var(--main-light); transition: .5s; opacity:1; visibility:visible; transform: rotateX(0deg); -webkit-transition: .5s; -moz-transition: .5s; -ms-transition: .5s; -o-transition: .5s; }
  .navbar .nav-item:hover .dropdown-menu a { color: var(--main-dark); }
}	

.sdm-transparent--nav.col-lg-12 {
  top: 0;
  position: absolute;
  background: transparent;
  padding-right: 0;
  padding-left: 0;
}

.site-header {
  position: fixed;
  width: 100%;
  z-index: 99;
}

.site-header::before {
  position: absolute;
  content: '';
  display: block;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: var(--main-light);
  transform: translateY(-100%);
  transition: all .3s ease-in-out;
}

.sticky-header::before {
  transform: translateY(0%);
}

.navbar-nav .nav-item {
  padding: 0 8px !important;
}

.navbar-nav li .nav-link {
  font-family: var(--font-family-primary);
  font-weight: 400;
  color: var(--main-dark)!important;
  padding-left: 0!important;
  padding-right: 0!important;
}

.navbar-nav li .nav-link {
  background: linear-gradient(to bottom, var(--main-dark) 0%, var(--main-dark) 98%);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left 80%;
  transition: all .3s ease-in-out;
}

.navbar-nav li .nav-link:hover, .navbar-nav li .nav-link:focus {
  background-size: 100% 1px;
  outline-width: 0;
  outline-style: none;
}

.navbar-nav > li > .nav-link {
  font-size: 18px;
  line-height: 1;
  letter-spacing: .1em;
}

.dropdown-toggle::after {
  font-family: 'Icons';
  content: '\ea01';
  position: relative;
  border: none;
  vertical-align: -0.3em;
  top: -0.1em;
  line-height: 1;
  transform: scaleY(1);
  transition: all .3s ease-in-out;
}

.show > .dropdown-toggle::after {
  transform: scaleY(-1);
}

.navbar-nav li a {
  padding: 20px 0;
}

#mobile-nav .navbar-nav li a {
  padding: 8px 0;
}

.navbar-nav .dropdown {
  position: static;
}

.navbar-nav > .menu-item-has-children > .dropdown-menu {
  width: 100vw;
  position: absolute;
  left: -20px;
  top: -20px;
  padding: 122px 0 40px;
  z-index: -1;
  display: flex;
  flex-wrap: wrap;
  border-radius: 0;
  border-color: var(--main-dark);
  transform: translateY(-100%);
  transition: all .3s ease-in-out;
}

.navbar-nav > .menu-item-has-children > .show.dropdown-menu {
  transform: translateY(0%);
}

.navbar-nav > .menu-item-has-children > .dropdown-menu > .nav-item {
  display: inline-block;
  padding: 8px 20px !important;
}

.navbar-nav > .menu-item-has-children > .dropdown-menu > .nav-item > .dropdown-item {
  font-family: var(--font-family-primary);
  font-weight: 700; 
  font-size: 32px;
  line-height: 1;
  display: inline;
  padding: 4px 0;
  background: linear-gradient(to bottom, var(--main-dark) 0%, var(--main-dark) 98%);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left 100%;
  transition: all .3s ease-in-out;
}

.navbar-nav > .menu-item-has-children > .dropdown-menu > .nav-item > .dropdown-item:hover {
  background-size: 100% 1px;
}

#mobile-nav {
  display: none!important;
}

@media (max-width: 1214px) {

  #mobile-nav {
    display: block!important;
  }

  .navbar-toggler {
    z-index: 99;
    border: 0px;
    color: var(--main-dark);
  }

  .navbar-collapse {
    position: fixed;
    right: 0;
    top: 0;
    padding: 104px 20px 64px;
    height: 100%!important;
    width: 100%;
    max-width: 320px;
    border-left: 1px solid var(--main-dark);
    background: var(--main-light);
    transform: translateX(100%);
    transition: all .3s ease-in-out;
  }
  .navbar-collapse.show {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%!important;
    width: 100%;
    max-width: 320px;
    background: var(--main-light);
    transform: translateX(0%);
  }

  .navbar-nav .nav-item {
    padding: 2px 8px !important;
  }

  .navbar-nav > .menu-item-has-children {
    position: relative;
  }

  .navbar-nav > .menu-item-has-children > .dropdown-menu {
    width: 100vw;
    position: absolute;
    left: 0;
    top: 0;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0px;
    z-index: 0;
    display: block;
    flex-wrap: wrap;
    border-radius: 0;
    border: none;
    box-sizing: border-box;
    transform: translateY(0) scaleY(0);
    overflow-y: hidden;
    transition: all 0s ease-in-out;
  }

  .navbar-nav > .menu-item-has-children > .show.dropdown-menu {
    position: relative;
    margin-top: 8px;
    margin-bottom: 12px;
    transform: translateY(0) scaleY(1);
  }

  .navbar-nav > .menu-item-has-children > .dropdown-menu > .nav-item {
    display: block;
    padding: 2px 0 4px!important;
  }
  
  .navbar-nav > .menu-item-has-children > .dropdown-menu > .nav-item > .dropdown-item {
    font-family: var(--font-family-primary);
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    display: inline;
    padding: 4px 0;
    background: linear-gradient(to bottom, var(--main-dark) 0%, var(--main-dark) 98%);
    background-size: 0% 1px;
    background-repeat: no-repeat;
    background-position: left 100%;
    transition: all .3s ease-in-out;
  }

}


/* Mobile Nav - DON'T TOUCH */

.navbar-toggler {
  border: none;
  color: black;
  background: var(--main-light);
  border-radius: 99px;
  padding: 9px 11px;
  display: block;
  width: 40px;
  height: 40px;
  z-index: 999;
}

.navbar-toggler span {
  height: 2px;
  width: 22px;
  border-radius: 1px;
  display: block;
  background: var(--main-dark);
  position: absolute;
  transition: all .3s ease-in-out;
}

.navbar-toggler span:nth-child(1) {
  position: relative;
  width: 16px;
  left: 3px;
  transform: translateY(-1px) rotate(0deg);
}

.navbar-toggler span:nth-child(2) {
  position: relative;
  transform: translateY(1px) rotate(0deg);
}

.navbar-toggler.open span:nth-child(1) {
  left: 0;
  width: 18px;
  position: relative;
  transform: translateY(1px) rotate(45deg);
}

.navbar-toggler.open span:nth-child(2) {
  width: 18px;
  position: relative;
  transform: translateY(-1px) rotate(-45deg);
}

#sdm-mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: -16px;
  bottom: 0;
  background: var(--main-light);
  font-family: var(--font-family-primary);
  font-size: 20px;
  padding: 0;
  overflow-y: scroll;
  transform: translateX(100%);
  display: none;
  animation: moveout .6s;
  animation-iteration-count: 1;
  -webkit-animation-iteration-count: 1;
  animation-fill-mode: both;
  -webkit-animation-fill-mode: both;
}

@keyframes moveout {
  0% {
    display: block;
    transform: translateX(0%);
  }
  99% {
    display: block;
    transform: translateX(100%);
  }
  100% {
    display: none;
    transform: translateX(100%);
  }
}

#sdm-mobile-nav.mobile-menu-visible {
  display: block;
  animation: movein .6s;
  animation-direction: normal;
  transform: translateX(0%);
}

@keyframes movein {
  0% {
    display: none;
    transform: translateX(100%);
  }
  1% {
    display: block;
    transform: translateX(100%);
  }
  100% {
    display: block;
    transform: translateX(0%);
  }
}

#sdm-mobile-nav ul {
  list-style: none;
  padding-left: 0;
}

#sdm-mobile-nav .sdm-navbar-mobile {
  padding: 120px 40px 40px;
}

#sdm-mobile-nav .sdm-navbar-mobile > .menu-item {
  font-size: 24px;
  font-weight: 700;
}

#sdm-mobile-nav .sdm-navbar-mobile > .menu-item-has-children .sub-menu {
  font-weight: 400;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 160px 40px 40px;
  background: var(--main-light);
  z-index: 1;
  transform: translateX(100%);
  display: none;
  animation: moveout .6s;
  animation-iteration-count: 1;
  -webkit-animation-iteration-count: 1;
  animation-fill-mode: both;
  -webkit-animation-fill-mode: both;
}

.sdm-submenu-toggle {
  display: block;
  position: relative;
  height: 20px;
  width: 20px;
}

.sdm-submenu-toggle::after {
  position: absolute;
  top: -4px;
  left: 0;
  content: '\ea01';
  font-family: 'Icons';
  font-style: normal;
  font-weight: 700;
  display: block;
  font-size: 20px;
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
}

.sdm-submenu-close {
  display: block;
  position: relative;
  height: 20px;
  width: 20px;
}

.sdm-submenu-close::after {
  position: absolute;
  top: -15px;
  left: 0;
  content: '\ea01';
  font-family: 'Icons';
  font-style: normal;
  font-weight: 700;
  display: block;
  font-size: 20px;
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
}

.sdm-sub-menu-toggle-btn {
  border: 0;
  background: transparent;
}

#sdm-mobile-nav .sdm-navbar-mobile > .menu-item-has-children .sub-menu.mobile-submenu-visible {
  display: block;
  animation: movein .6s;
  animation-direction: normal;
  transform: translateX(0%);
}

.navbar-brand {
  z-index: 9;
}

.sub-menu .menu-item a {
  font-size: 24px;
}


/*--------------------------------------------------------------
# Text styling
--------------------------------------------------------------*/

.sdm--uppercase {
  text-transform: uppercase;
}

.sdm--bebas {
  font-family: var(--font-family-primary);
}

.sdm--regular {
  font-weight: 400;
}

.sdm--book {
  font-weight: 300;
}

.sdm--light {
  font-weight: 200;
}

.sdm--spacing {
  letter-spacing: 5.12px;
}

.sdm-3xl--text {
  font-size: var(--font-size-3xl);
}

.sdm-xl--text {
  font-size: var(--font-size-xl);
}

.sdm-lg--text {
  font-size: var(--font-size-lg);
}

.sdm-align--super {
  vertical-align: super;
}

.sdm--absolute {
  position: relative;
}

.sdm-highlight--text {
  font-size: var(--font-size-xl);
  line-height: 32px;
  font-style: italic;
}


/*--------------------------------------------------------------
# Predefined margins & paddings
--------------------------------------------------------------*/

.sdm-margin-sm--bottom {
  margin-bottom: 18px;
}

.sdm-margin-md--bottom {
  margin-bottom: 24px;
}

.sdm-margin-lg--bottom {
  margin-bottom: 48px;
}

.sdm-margin-sm--top {
  margin-top: 18px;
}

.sdm-margin-md--top {
  margin-top: 24px;
}

.sdm-margin-lg--top {
  margin-top: 48px;
}

.sdm-margin-3xl--top {
  margin-top: 120px;
}

.sdm-neg-margin-4xl--top {
  margin-top: -160px;
}

.sdm-padding--md {
  padding-top: 24px;
  padding-bottom: 24px;
}

.sdm-padding-4xl--top {
  padding-top: var(--margin-4xl) !important;
}

.sdm-padding-6xl--top {
  padding-top: var(--margin-6xl) !important;
}

.sdm-padding-7xl--bottom {
  padding-bottom: var(--margin-7xl);
}

.sdm-offset-top--40 {
  margin-top: 40px;
}

.sdm-margin-bottom--80 {
  margin-bottom: 80px;
}

.sdm-border--bottom {
  border-bottom: 1px solid var(--main-dark);
}

.sdm-border--bottom:last-child {
  border: none;
}

.sdm-border--top {
  border-top: 1px solid var(--main-dark);
}

/* Use if Bootstrap override is needed */
.sdm-neg-horizontal--margin {
  margin-right: -15px;
  margin-left: -15px;
}


/*--------------------------------------------------------------
# Buttons & Links
--------------------------------------------------------------*/

/* Primary button */
.sdm-btn--main {
  border-style: none;
  border-radius: 0;
  font-weight: bold;
  padding: 0;
}

.sdm-btn--main svg {
  transition: transform .3s ease-in-out;
  -webkit-transition: transform .3s ease-in-out;
  -moz-transition: transform .3s ease-in-out;
  -ms-transition: transform .3s ease-in-out;
  -o-transition: transform .3s ease-in-out;
  transform: translateX(0);
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  position: relative;
  top: -2px;
  margin-left: 4px;
}

.sdm-btn--main:hover svg {
  transform: translateX(8px);
  -webkit-transform: translateX(8px);
  -moz-transform: translateX(8px);
  -ms-transform: translateX(8px);
  -o-transform: translateX(8px);
}

.sdm-btn--main a {
  color: var(--main-dark);
  text-decoration: none;
}

.sdm-btn--main:hover a {
  color: var(--main-dark);
}

.sdm-bg--dark .sdm-btn--main a {
  color: var(--main-light);
  text-decoration: none;
}

.sdm-bg--dark .sdm-btn--main:hover a {
  color: var(--main-light);
}

.sdm-bg--dark .sdm-btn--main svg #Line_1 {
  stroke: var(--main-light);
}

.sdm-bg--dark .sdm-btn--main svg #Polygon_1 path {
  fill: var(--main-light);
}


/* Secondary button */
.sdm-btn--secondary {
  background-color: var(--bg-light);
  border: 1px solid var(--brand-1);
  border-radius: 0;
  padding: 15px 20px 15px 20px;
  font-weight: bold;
}

.sdm-btn--secondary:hover {
  background-color: var(--bg-dark);
  border-color: var(--brand-3);
}

.sdm-btn--secondary a {
  color: var(--text);
  text-decoration: none;
}

.sdm-btn--secondary:hover a {
  color: var(--text-light);
}

/* CTA Link */
.sdm-cta--link {
  color: var(--brand-1);
  font-weight: bold;
  font-family: var(--font-family-primary);
  font-size: var(--font-size-lg);
  letter-spacing: 1.6px;
}

.sdm-cta--link:hover {
  color: var(--brand-3);
  text-decoration: none;
}

.sdm-contact-form .sdm-cta--link:hover {
  color: var(--bg-dark);
}

.gform_footer .sdm-cta--link:hover {
  color: var(--bg-dark);
}

.bi .bi-facebook {
  content: '';
}

.bi .bi-instagram {
  content: '\F437';
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/

h1 span {
  display: block;
}

h1 span:last-child {
  text-align: right;
}

.sdm-content-header span:first-child {
  font-size: var(--font-size-5xl);
  line-height: 88px;
}

.sdm-content-header span:last-child {
  text-align: left;
}

.sdm-hero {
  z-index: 0;
  width: 100vw;
  padding-top: var(--margin-5xl);
  padding-bottom: var(--margin-xl);
  padding-left: 80px;
  padding-right: 80px;
  overflow: hidden;
}

.sdm-hero--bg--img {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
 /* box-shadow: inset 0 0 0 1000px rgba(0,0,0,.3); */
}

.sdm-hero-img-absolute {
  position: absolute;
  overflow: hidden;
  padding: 0 48px 64px;
  filter: drop-shadow(0px 24px 48px rgba(0,0,0,0.32));
}

.sdm-hero-img-absolute img {
  width: 150%;
  position: relative;
}

.sdm-hero-img--right {
  right: 0;
  top: 320px;
  width: 17%;
  max-width: 800px;
  min-width: 300px;
}

.sdm-hero-img--right img {
  left: 0;
}

.sdm-hero-img--left {
  left: 0;
  top: 160px;
  width: 17%;
  max-width: 800px;
  min-width: 300px;
}

.sdm-hero-img--left img {
  left: -50%;
}

.sdm-hero--icon {
  height: 80px;
  margin-right: 40px;
}

.sdm-hero--highlight {
  margin-top: var(--margin-xl);
}

.sdm-hero--highlight p + .sdm-cta--link {
  margin-top: 12px;
  display: block;
}

.sdm-highlight--img {
  height: 640px;
  object-fit: cover;
  margin-top: var(--margin-md);
}

.sdm-hero--intro {
  font-size: var(--font-size-2xl);
  line-height: 1.25;
  font-style: italic;
}

.sdm-hero--highlight p {
  font-size: var(--font-size-xm);
  line-height: 1.57;
  font-style: italic;
}

.sdm-hero--highlight .sdm-cta--link {
  font-size:  var(--font-size-sm);
  line-height: 1;
  letter-spacing: 1.28px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer  {
  position: relative;
  padding-bottom: 40px;
}

#footer-widget.sdm-section-default {
  padding: 0 80px;
}

.sdm-footer-logo--main {
  max-width: 15%;
}

.sdm-ornament--footer-right {
  right: -20px;
  background-image: url('/wp-content/themes/wp-bootstrap-starter-child/assets/img/tribunali-ornament-bottom-right.svg');
  display: block;
  width: 128px;
  height: 128px;
  background-size: cover;
  bottom: 0;
}

.sdm-ornament--footer-bottom {
  left: 108px;
  right: 108px;
  background-image: url('/wp-content/themes/wp-bootstrap-starter-child/assets/img/tribunali-ornament-bottom.svg');
  display: block;
  height: 128px;
  background-repeat: repeat-x;
  bottom: 0;
}

.sdm-ornament--footer-left {
  left: -20px;
  background-image: url('/wp-content/themes/wp-bootstrap-starter-child/assets/img/tribunali-ornament-bottom-left.svg');
  display: block;
  width: 128px;
  height: 128px;
  background-size: cover;
  bottom: 0;
}

.sdm--fb {
  background-image: url('/wp-content/themes/wp-bootstrap-starter-child/assets/img/facebook.svg');
  display: block;
  width: 36px;
  height: 36px;
  background-repeat: no-repeat;
  margin-right: 20px;
}

.sdm--ig {
  background-image: url('/wp-content/themes/wp-bootstrap-starter-child/assets/img/instagram.svg');
  display: block;
  width: 36px;
  height: 36px;
  background-repeat: no-repeat;
}

.sdm-footer-line-cont hr {
  margin: 0;
  border: none;
  height: 4px;
  background-color: var(--brand-1);
}

.sdm-footer-line-cont .col-10 {
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
}

.sdm-footer-line-cont {
  margin-bottom: 6px;
}

.sdm-footer-line-cont + #footer-widget {
  margin-top: 44px !important;
}

.sdm-section-default.sdm-footer--section {
  padding-bottom: 64px;
  padding-top: 0px;
}

.sdm-footer--logo {
  margin-bottom: 40px;
  max-width: 150px !important;
}

.footer-nav {
  list-style-type: none;
  padding: 0;
  font-family: var(--font-family-primary);
  font-weight: normal;
  font-size: var(--font-size-md);
  line-height: 1;
}

#footer-nav {
  padding: 0;
}

.footer-nav .nav-item .nav-link {
  padding: 11px 0;
}

.site-footer .container {
  z-index: 1;
}

.sdm-overflow-container {
  overflow-x: hidden;
}

.sdm-ornament-container {
  padding-top: 100px;
}

.sdm-footer ul li a {
  font-size: var(--font-size-md);
}


/*--------------------------------------------------------------
# Images & video
--------------------------------------------------------------*/

.wp-block-image img {
  height: auto;
}

img.alignnone {
  max-width: 100%;
  height: auto;
}

.sdm-img--default {
  object-fit: contain;
  width: 100%;
}

.sdm-bg-img {
  width: 100%;
  height: auto;
}

.sdm-img--pizza {
  width: 100%;
  height: auto;
}

.sdm-product--img {
  object-fit: contain;
  width: 100%;
  height: 200px;
  margin-top: 0;
  margin-bottom: var(--margin-md);
}

.sdm-pizza--img {
  width: 100%;
  filter: drop-shadow(0px 24px 48px rgba(0,0,0,0.24));
}

.sdm-img--md {
  object-fit: cover;
  height: 100% !important;
  width: 100%;
  position: absolute;
}

.sdm-img--overlay {
  width: 80%;
  left: -20%;
  margin-top: 56px;
  position: relative;
}

.sdm-img-overlay--right {
  width: 80%;
  right: -40%;
  margin-top: 56px;
  position: relative;
}

.sdm-img--cont {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
}

.sdm-img--480 {
  object-fit: cover;
  height: 480px;
  width: 100%;
}

.sdm-img--catalog {
  object-fit: cover;
  height: 300px;
  width: auto;
}

.sdm-section-full-width .row div {
  padding: 0;
}

.sdm-video-wrapper {
  position: relative;
  padding-top: 56.25%;
  width: 100%;
}

.sdm-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

* + .sdm-video-wrapper {
  margin-top: 32px;
}

/*--------------------------------------------------------------
# Content blocks
--------------------------------------------------------------*/

.sdm-section-default {
  padding: 120px 80px;
}

.sdm-section-hero + .sdm-section-default {
  padding-top: 60px;
}

.sdm-section-full-width {
  padding: 60px 0;
}

.sdm-bg {
  width: 100vw;
  padding-top: var(--margin-3xl);
  padding-bottom: var(--margin-3xl);
}

.sdm-bg--light {
  background-color: var(--bg-light);
  color: var(--main-dark)
}

.sdm-bg--dark {
  background-color: var(--bg-dark);
  color: var(--main-light);
}

.sdm-bg--light + .sdm-bg--light {
  padding-top: 0;
}

.sdm-bg--dark + .sdm-bg--dark {
  padding-top: 0;
}

.sdm--row {
  margin: 0px;
}

.sdm-highlight-box {
  margin: 20px 0px;
  position: relative;
  height: 400px;
}

.sdm-highlight-box:hover .sdm-page-highlight--bg {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}

.sdm-highlight-box > a {
  position: absolute;
  top: 0;
  left: 20px;
  bottom: 0;
  right: 20px;
  overflow: hidden;
}

.sdm-highlight-box:hover .sdm-btn--main svg {
  transform: translateX(8px);
  -webkit-transform: translateX(8px);
  -moz-transform: translateX(8px);
  -ms-transform: translateX(8px);
  -o-transform: translateX(8px);
}

.sdm-page-highlight--bg {
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  transition: transform .3s ease-in-out;
  -webkit-transition: transform .3s ease-in-out;
  -moz-transition: transform .3s ease-in-out;
  -ms-transition: transform .3s ease-in-out;
  -o-transition: transform .3s ease-in-out;
}

.sdm-white-cta--box {
  background-color: white;
  padding: 40px 40px 40px 0;
  position: absolute;
  left: 20px;
  bottom: 0;
}

.sdm-row--heading {
  margin-right: 20px;
}

.sdm-opening--hours span {
  font-size: var(--font-size-2xl);
  color: var(--text);
}

.sdm-opening--hours span:first-child {
  font-weight: bold;
  text-transform: uppercase;
}

.sdm-opening--hours .sdm--info {
  font-size: 20px;
  display: block;
  position: relative;
  top: -8px;
}

.sdm-offset--1 {
  margin-bottom: -40px;
}

.sdm-offset--1 > div {
  margin-bottom: 40px;
}

.sdm-offset--bottom {
  margin-bottom: -120px;
  padding-bottom: 0;
}

.sdm-offset--bottom + .sdm-section-default {
  padding-top: 240px;
}

p iframe {
  max-width: 100%;
}

.sdm-row--heading p {
  margin-bottom: 0.5rem;
}

.sdm-single {
  padding-right: 0;
  padding-left: 0;
}


/*--------------------------------------------------------------
# Woocommerce
--------------------------------------------------------------*/

.sdm-shop--hero {
  padding-top: var(--margin-5xl);
}

.sdm-single-product-section {
  padding-top: 208px;
}

.sdm-shop-hero-img--right {
  right: -450px;
  top: 0px;
}

.sdm-shop-hero-img--left {
  left: -450px;
  top: 0px;
}

.sdm-shop--row > div:nth-child(even) {
  justify-content: flex-end;
}

.sdm-clear {
  clear: both;
}

.woocommerce img, .woocommerce-page img {
  max-width: none;
}

.woocommerce div.product .cat-name {
  margin-top: 80px;
  font-family: var(--font-family-primary);
}

.woocommerce div.product .product_title {
  font-size: var(--font-size-3xl);
  line-height: var(--font-size-3xl);
  margin-bottom: 12px;
  color: var(--main-dark);
  font-weight: bold;
  margin-top: 20px;
}
.woocommerce-product-details__short-description p{
  color: var(--main-dark);
}

.woocommerce-product-details__short-description + form{
  margin-top: 40px;
}

.woocommerce div.product p.price, .woocommerce div.product span.price{
  font-family: var(--font-family-primary);
  font-size: var(--font-size-3xl);
  line-height: var(--font-size-3xl);
  color: var(--main-dark);
  font-weight: 300;
  margin-bottom: 20px;
}

.woocommerce #respond input#submit.alt.disabled, .woocommerce #respond input#submit.alt.disabled:hover, .woocommerce #respond input#submit.alt:disabled, .woocommerce #respond input#submit.alt:disabled:hover, .woocommerce #respond input#submit.alt:disabled[disabled], .woocommerce #respond input#submit.alt:disabled[disabled]:hover, .woocommerce a.button.alt.disabled, .woocommerce a.button.alt.disabled:hover, .woocommerce a.button.alt:disabled, .woocommerce a.button.alt:disabled:hover, .woocommerce a.button.alt:disabled[disabled], .woocommerce a.button.alt:disabled[disabled]:hover, .woocommerce button.button.alt.disabled, .woocommerce button.button.alt.disabled:hover, .woocommerce button.button.alt:disabled, .woocommerce button.button.alt:disabled:hover, .woocommerce button.button.alt:disabled[disabled], .woocommerce button.button.alt:disabled[disabled]:hover, .woocommerce input.button.alt.disabled, .woocommerce input.button.alt.disabled:hover, .woocommerce input.button.alt:disabled, .woocommerce input.button.alt:disabled:hover, .woocommerce input.button.alt:disabled[disabled], .woocommerce input.button.alt:disabled[disabled]:hover {
    background-color: transparent;
    font-family: var(--font-family-primary);
    color: var(--main-dark);
    text-transform: uppercase;
    letter-spacing: 1.6px;
    line-height: var(--font-size-lg);
    font-size: var(--font-size-lg);
    opacity: 1;
}

.woocommerce .quantity .qty {
  border-radius: 99px;
  height: 40px;
  width: 40px;
}

.form-control {
  border: 0;
  border-radius: 0!important;
  border-bottom: 2px solid var(--main-dark);
  padding: 0 0 10px;
  appearance: none;
  background-color: transparent!important;
}

.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations td {
    border: 0;
    line-height: 2em;
    vertical-align: top;
    display: block;
}
.woocommerce div.product form.cart .variations td label {
  font-family: var(--font-family-primary);
  letter-spacing: 0.8px;
  color: var(--main-dark);
  opacity: 0.8;
}

.woocommerce div.product form.cart .variations td.value select {
  font-family: var(--font-family-secondary);
  font-style: italic;
}

.woocommerce div.product form.cart .variations tr + tr td:first-child {
  margin-top: 32px;
}

.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
    float: left;
    width: 50%;
    clear: none;
    margin-left: 10%;
}
.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
    float: left;
    width: 40%;
}

/*Product tabs*/
.woocommerce #content div.product .woocommerce-tabs ul.tabs li, .woocommerce div.product .woocommerce-tabs ul.tabs li, .woocommerce-page #content div.product .woocommerce-tabs ul.tabs li, .woocommerce-page div.product .woocommerce-tabs ul.tabs li {
  display: block;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: #fff;
    z-index: 2;
    border-bottom-color: #000;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0 5px;
    margin: 25px 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: none;
    position: relative;
    z-index: 0;
    border-radius: 4px 4px 0 0;
    margin: 0 -5px;
    padding: 10px 0;
    border-radius: 0;
    background: white;
    border-bottom: 2px solid #000;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--font-family-primary);
  font-size: 32px;
  line-height: 32px;
  padding-bottom: 0;
}

.woocommerce .woocommerce-loop-product__link {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

.woocommerce .product:nth-child(even) .woocommerce-loop-product__link {
  flex-direction: row-reverse;
}

.woocommerce .woocommerce-loop-product__link img {
  width: 100%;
}

.woocommerce .woocommerce-loop-product__link .label-group {
  margin-top: 80px;
  font-family: var(--font-family-primary);
  font-size: 16px;
  letter-spacing: 1px;
}

.woocommerce .woocommerce-loop-product__link h3 {
  margin-top: 20px;
  margin-bottom: 12px;
}

.woocommerce .woocommerce-loop-product__link .price {
  margin-top: 12px;
}

.woocommerce-billing-fields__field-wrapper .form-row {
  display: block;
}

.form-row .woocommerce-input-wrapper {
  width: 100%;
}

.col-12 .woocommerce-shipping-fields {
  margin-top: 24px;
}

.woocommerce-form__label span {
  font-size: var(--font-size-xl);
}

#order_review_heading {
  margin-top: 24px;
}

#customer_login .col-1, #customer_login .col-2 {
  -ms-flex: 0 0 8.333333%;
  flex: auto;
  max-width: 100%;
}

.woocommerce a.button.alt {
  background-color: var(--bg-dark);
}

.woocommerce-form__label-for-checkbox {
  width: 100%;
}

.woocommerce-form__label-for-checkbox span {
  font-size: var(--font-size-md);
}

.woocommerce-form-row span {
  width: 100%;
}

.woocommerce-button, .single_add_to_cart_button, .checkout-button, .button {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-lg) !important;
  border-style: none !important;
  font-weight: bold;
  display: flex !important;
  padding: 0 !important;
  color: var(--main-dark) !important;
  text-decoration: none;
  background-color: transparent !important;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  margin-top: 12px !important;
  margin-bottom: 12px !important;
}

.checkout-button {
  font-size: var(--font-size-2xl) !important;
}

.woocommerce-button::after, .single_add_to_cart_button::after, .checkout-button::after, .button::after {
  content: url('/wp-content/themes/wp-bootstrap-starter-child/assets/img/arrow-right.svg');
  display: block;
  transition: transform .3s ease-in-out;
  -webkit-transition: transform .3s ease-in-out;
  -moz-transition: transform .3s ease-in-out;
  -ms-transition: transform .3s ease-in-out;
  -o-transition: transform .3s ease-in-out;
  transform: translateX(0);
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  position: relative;
  top: -3px;
  margin-left: 8px;
}

.checkout-button::after {
  top: -6px;
  margin-left: 12px;
}

.woocommerce-button:hover::after, .single_add_to_cart_button:hover::after, .checkout-button:hover::after, .button:hover::after {
  transform: translateX(8px);
  -webkit-transform: translateX(8px);
  -moz-transform: translateX(8px);
  -ms-transform: translateX(8px);
  -o-transform: translateX(8px);
}

.sdm-shop-hero--highlight {
  padding: 64px 10% !important;
}

.sdm-shop-hero--highlight p {
  font-family: var(--font-family-primary);
  font-size: 16px;
  letter-spacing: 1px;
}

.sdm-shop-hero--highlight h3 {
  margin-top: 20px;
  margin-bottom: 20px;
}

.sdm-shop--hero + .woocommerce-notices-wrapper + .sdm-section-default {
  padding-top: 40px;
}

.dropdown:hover>.dropdown-menu {
  display: block;
}

.actions .coupon {
  padding-right: 20px;
}

.entry-content .woocommerce > .woocommerce-notices-wrapper {
  margin-top: 100px;
}

@media (max-width: 1214px) {
  .woocommerce div.product + div.product {
    margin-top: 40px;
  }
}

@media (max-width: 1004px) {

  .woocommerce .woocommerce-loop-product__link .label-group {
    margin-top: 24px;
  }
  
  .woocommerce .woocommerce-loop-product__link h3 {
    margin-top: 20px;
    margin-bottom: 12px;
  }
  
  .woocommerce .woocommerce-loop-product__link .price {
    margin-top: 12px;
  }

  .sdm-single-product-section {
    padding-top: 160px!important;
  }
}

@media (max-width: 757px) {
  .woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
      float: left;
      width: 100%;
      clear: none;
      margin-left: 0;
  }
  .woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
      float: left;
      width: 100%;
  }
  .sdm-single-product-section {
    padding-top: 160px!important;
  }
  .woocommerce div.product .cat-name {
    margin-top: 40px;
  }
}

@media (max-width: 575px) {
  .sdm-single-product-section {
    padding-top: 160px!important;
  }
}


/* Related products layout */
.related.products.sdm-section-default {
  padding-top: 0;
}

.related.products.sdm-section-default .sdm-shop--row > .col-12 {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.related.products.sdm-section-default .sdm-shop--row a > div {
  padding-left: 5px !important;
}


@media (min-width: 991px) {
  .related.products.sdm-section-default a {
    display: block;
  }

  .related.products.sdm-section-default .sdm-shop--row {
    width: 50%;
    flex-wrap: nowrap;
  }

  .related.products.sdm-section-default .sdm-shop--row > .col-12 {
    margin-top: 0;
  }

  .related.products.sdm-section-default .sdm-shop--row a > div {
    max-width: 100%;
  }

  .related.products.sdm-section-default .sdm-shop--row a .label-group {
    margin-top: 32px;
  }
}

@media (min-width: 1200px) {
  .related.products.sdm-section-default .sdm-shop--row {
    width: 33%;
  }
}


/*--------------------------------------------------------------
# Google Maps
--------------------------------------------------------------*/

.sdm--map .wpgmp_map {
  height: 280px !important;
}


/*--------------------------------------------------------------
# Slider
--------------------------------------------------------------*/

.sdm-slider {
  overflow: hidden;
}

.sdm-slider-item {
  min-height: 500px;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}


/*--------------------------------------------------------------
# Gravity Forms
--------------------------------------------------------------*/

.sdm-contact-form_wrapper .ginput_container {
  border-style: none;
  border-bottom: 2px solid var(--brand-1);
}

.sdm-contact-form_wrapper .ginput_container .large {
  background-color: transparent;
  border: none;
  padding-left: 0 !important;
}

.sdm-contact--form {
  background-color: var(--brand-3);
  padding: 80px 0;
  position: relative;
  display: flex;
  width: 100%;
}

/* News letter form */
#field_8_1 {
  padding-top: 32px;
}

/* News letter form */
#input_8_1 {
  text-align: center;
}

/* Text colors */
.gform_wrapper {
  color: var(--text-light);
}

.gform_button {
  background-color: var(--bg-light);
  color: var(--text);
  border-style: none;
  border-radius: 0;
  padding: 15px 20px 15px 20px;
  font-weight: bold;
  transition: ease-in-out 0.3s;
}

/* Text fields */
.ginput_container {
  width: 100%;
  border: none;
}

/* Text field placeholder text color */
.ginput_container_text {
  color: var(--brand-3);
}

/* Large text field for recruitment form */
#input_10_6 {
  height: 30px;
}

.gform_footer.top_label {
  display: block !important;
}


/* Form on light background
-----------------------------*/

.sdm-bg--light .gform_wrapper {
  color: var(--text);
}

.sdm-bg--light .gform_button {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-style: none;
  border-radius: 0;
  padding: 15px 20px 15px 20px;
  font-weight: bold;
  transition: ease-in-out 0.3s;
}


/*--------------------------------------------------------------
# Lightbox
--------------------------------------------------------------*/

.sdm-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 15px;
  z-index: 999999;
}

.sdm-lightbox--inner {
  position: relative;
  width: 100%;
  max-width: 70%;
  min-height: 100px;
  background: none;
}

.sdm-lightbox--close {
  background: none;
  border: none;
  outline: none;
  position: absolute;
  top: -50px;
  right: -40px;
  padding: 0 10px;
  font-size: 40px;
  cursor: pointer;
  color: var(--main-dark);
}

.sdm-lightbox--close:hover {
  color: var(--main-light);
}

.hidden {
  display: none;
}

#lightboxbtn:hover {
  cursor: pointer;
}

.iframe-cont {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.sdm-video--cont {
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
  min-height: 300px;
}


/*--------------------------------------------------------------
# Staff
--------------------------------------------------------------*/

.sdm-staff--member {
  margin-bottom: var(--margin-lg);
}

.sdm-staff--content {
  padding-top: var(--margin-sm);
  float: left;
}

.sdm-staff--title {
  display: block;
  font-weight: bold;
  margin-bottom: var(--margin-xm);
}

.sdm-staff--desc {
  display: block;
  margin-top: var(--margin-xm);
  margin-bottom: var(--margin-xm);
}

.sdm-staff--img {
  width: 100%;
  object-fit: cover;
}

.llms-form-field {
  padding: 12px 12px;
}

/*--------------------------------------------------------------
# Lifter
--------------------------------------------------------------*/

.llms-parent-course-link {
  margin-bottom: 24px;
}

.llms-video-wrapper {
  margin-bottom: 24px;
}

.page-id-6971 .site-content {
  padding-top: 240px !important;
}

.llms-person-login-form-wrapper {
  display: none;
}



/*--------------------------------------------------------------
# Ornaments
--------------------------------------------------------------*/

.sdm-ornament {
  position: absolute;
  background-size: contain;
}

.sdm-ornament--top-left {
  top: 0;
  left: 0;
  background-image: url('/wp-content/themes/wp-bootstrap-starter-child/assets/img/tribunali-ornament-top-left.svg');
  display: block;
  width: 128px;
  height: 128px;
  background-size: cover;
}

.sdm-ornament--top {
  top: 0;
  left: 128px;
  right: 128px;
  background-image: url('/wp-content/themes/wp-bootstrap-starter-child/assets/img/tribunali-ornament-top.svg');
  display: block;
  height: 128px;
  background-repeat: repeat-x;
}

.sdm-ornament--top-right {
  top: 0;
  right: 0;
  background-image: url('/wp-content/themes/wp-bootstrap-starter-child/assets/img/tribunali-ornament-top-right.svg');
  display: block;
  width: 128px;
  height: 128px;
  background-size: cover;
}

.sdm-ornament--right {
  right: 0;
  background-image: url('/wp-content/themes/wp-bootstrap-starter-child/assets/img/tribunali-ornament-right.svg');
  display: block;
  width: 128px;
  top: 128px;
  bottom: 128px;
  background-repeat: repeat-y;
}

.sdm-ornament--bottom-right {
  bottom: 0;
  right: 0;
  background-image: url('/wp-content/themes/wp-bootstrap-starter-child/assets/img/tribunali-ornament-bottom-right.svg');
  display: block;
  width: 128px;
  height: 128px;
  background-size: cover;
}

.sdm-ornament--bottom {
  bottom: 0;
  left: 128px;
  right: 128px;
  background-image: url('/wp-content/themes/wp-bootstrap-starter-child/assets/img/tribunali-ornament-bottom.svg');
  display: block;
  height: 128px;
  background-repeat: repeat-x;
}

.sdm-ornament--bottom-left {
  bottom: 0;
  left: 0;
  background-image: url('/wp-content/themes/wp-bootstrap-starter-child/assets/img/tribunali-ornament-bottom-left.svg');
  display: block;
  width: 128px;
  height: 128px;
  background-size: cover;
}

.sdm-ornament--left {
  left: 0;
  background-image: url('/wp-content/themes/wp-bootstrap-starter-child/assets/img/tribunali-ornament-left.svg');
  display: block;
  width: 128px;
  top: 128px;
  bottom: 128px;
  background-repeat: repeat-y;
}


/*--------------------------------------------------------------
# Media queries
--------------------------------------------------------------*/


@media only screen and (max-width: 991px) {

  .sdm-section-hero + .sdm-bg--light {
    padding-top: 0;
  }

  .col-md-12 + .col-md-12 {
    margin-top: 60px;
  }

  .sdm-column--reverse > .col-md-12 + .col-md-12 {
    margin-bottom: 40px;
    margin-top: 0px;
  }
  
  .sdm-section-default {
    padding: 60px 60px;
  }

  .entry-content > .sdm-section-default:first-child {
    padding-top: 120px;
  }

  .align-self-end .sdm-img--cont {
    display: none;
  }

  .sdm-hero {
    padding-left: 60px;
    padding-right: 60px;
  }
  
  .sdm-hero-img--right {
    top: 560px;
    min-width: 180px;
  }

  .sdm-hero-img--right img {
    left: 50%;
  }
  
  .sdm-hero-img--left {
    min-width: 180px;
    top: 20px;
  }
  
  .sdm-hero-img--left img {
    left: -150%;
  }

  .navbar-brand {
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .sdm-column--reverse {
    flex-direction: column-reverse;
  }

  .sdm-neg-margin-4xl--top {
    margin-top: 40px;
  }

  .sdm-img--480 {
    height: 420px;
  }

  .sdm-contact--form {
    padding: 64px 32px;
  }

  .sdm-hero-img-absolute img {
    width: 240%;
  }

  .sdm-img-overlay--right {
    width: 40%;
    right: -20%;
    margin-top: 0;
    position: absolute;
  }

  .sdm-img--overlay {
    width: 40%;
    left: -20%;
    margin-top: 70px;
    position: absolute;
  }

  .sdm-lightbox--inner {
    max-width: 85%;
  }

  .sdm-offset--bottom + .sdm-section-default {
    padding-top: 160px;
  }

  .sdm-img--pizza {
    width: 50%;
  }

}

@media only screen and (max-width: 767px) {

  .sdm-footer .flex-column {
    flex-direction: row !important;
    justify-content: center;
  }

  .sdm-footer--logo {
    max-height: 56px;
    margin-right: 20px;
  }

  .sdm-hero-img--right {
    top: 540px;
  }
  
  .sdm-hero-img--left {
    top: 80px;
  }

  .sdm-hero-img-absolute img {
    width: 150%;
  }

  .sdm-hero-img--left img {
    left: -100%;
  }

  .sdm-hero-img--right img {
    left: 80%;
  }

  .sdm-content-header span:first-child {
    font-size: 9vw;
    line-height: 1;
  }

  .sdm-page-highlight--bg {
    height: 64%;
  }

}

@media only screen and (max-width: 575px) {

  h2 {
    font-size: 40px;
    line-height: 1;
  }

  h3 {
    font-size: 32px;
    line-height: 1;
  }

  h4, .sdm-3xl--text {
    font-size: 24px;
    line-height: 1;
  }

  .sdm-section-default {
    padding: 40px 20px;
  }

  .sdm-hero {
    padding-top: 160px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .sdm-hero-img--right {
    top: 320px;
    display: none;
  }
  
  .sdm-hero-img--left {
    top: 20px;
  }

  .sdm-hero--intro {
    font-size: 18px;
  }

  .sdm-hero--highlight {
    margin-top: 40px;
  }

  .sdm-highlight--img {
    height: 280px;
  }

  .navbar-brand {
    max-width: 50%;
  }

  .sdm-footer-logo--main {
    max-width: 100%;
  }

  .sdm-img--480 {
    height: auto;
    object-fit: contain;
  }

  .sdm-ornament--top-left {
    width: 80px;
    height: 80px;
  }

  .sdm-ornament--top {
    height: 80px;
    left: 80px;
    right: 80px;
  }

  .sdm-ornament--top-right {
    width: 80px;
    height: 80px;
  }

  .sdm-ornament--right {
    width: 80px;
    top: 80px;
    bottom: 80px;
  }

  .sdm-ornament--bottom-right {
    width: 80px;
    height: 80px;
  }

  .sdm-ornament--bottom {
    height: 80px;
    left: 80px;
    right: 80px;
  }

  .sdm-ornament--bottom-left {
    width: 80px;
    height: 80px;
  }

  .sdm-ornament--left {
    width: 80px;
    top: 80px;
    bottom: 80px;
  }

  .sdm-pizza--img {
    width: calc(100% + 80px);
    position: relative;
    left: -80px;
  }

  .sdm-lightbox--inner {
    max-width: 95%;
  }

  .sdm-lightbox--close {
    right: -10px;
  }

  .ginput_container input, .ginput_container .gfield_select {
    font-size: var(--font-size-xm) !important;
  }

}

@media only screen and (min-width: 1200px) {
  .sdm-offset--1 .col-xl-5:nth-child(odd) {
    margin-left: 8.333333%;
  }
}

.sdm-section-hero p strong {

    position: relative;
}
.sdm-section-hero p strong::before {
    content: "";
    position: absolute; right: -5px; bottom: -5px; width: 350%; height: 350%;
    background-size:contain;
    background-repeat: no-repeat; background-position: right bottom;
    background-image: url('/wp-content/themes/wp-bootstrap-starter-child/assets/img/veracemobi.svg');
}
@media only screen and (min-width: 600px) {
    .sdm-section-hero p strong::before {
        right: -5px; bottom: -5px; width: 250%; height: 250%;
        background-image: url('/wp-content/themes/wp-bootstrap-starter-child/assets/img/verace.svg');
    }
}

.heading-more {
    font-size: 20%;
    font-weight: 400;
    display: flex;
    align-items: center;
}
.heading-more::before {
    content: ""; position: relative; flex-grow: 1; height: 1px; background: #000; margin-right: 20px;
}
@media (max-width: 757px) {
    .heading-more {
        font-size: 40%;
    }
    .heading-more::before {
        margin-right: 10px;
    }
}
.numerouno-more {
    font-size: 14px;
    font-weight: 400;
    display: flex;
    align-items: center;
    font-style: normal;
    font-family: var(--font-family-primary);
}
.numerouno-more::before {
    content: ""; position: relative; flex-grow: 1; height: 1px; background: #000; margin-right: 20px;
}
@media (max-width: 757px) {
    .numerouno-more {
        font-size: 100%;
    }
    .numerouno-more::before {
        margin-right: 10px;
    }
}
.awardtext {
    font-size: 10px; font-style: italic; line-height: 1.5;
}
.awardicon {
    max-height: 56px;
}
.awardicon img { height: 100%;}
@media (min-width: 757px) {
    .maxw {
        max-width: 40%;
        min-width: 30%;
    }
    
    .whitespace-nowrap p {
        white-space: nowrap;
    }
    .awardtext {
        font-size: 14px;
    }
    .awardicon {
        max-height: 80px;
    }
    
}
.sdm-cta--link.sdm-btn--secondary {
    display: flex;
}

.sdm-cta--link.sdm-btn--secondary:hover {
    color: #fff !important;
}
.sdm-cta--link.sdm-btn--secondary img {
    max-height: 24px; width: 24px; margin-left: 10px;
}
.sdm-cta--link.sdm-btn--secondary:hover img {
    -webkit-filter: invert(100%); /* safari 6.0 - 9.0 */
    filter: invert(100%);
    
}
.btn-main + .btn-main { margin: 0 0 0 30px ;}