:root {
  --container-margin: (100vw - 1260px) / 2;
  --navbar-height: 62px;
}

@media (max-width: 1300px) {
  :root {
    --container-margin: (100vw - 1000px) / 2;
    --navbar-height: 64px;
  }
}

@media (max-width: 1100px) {
  :root {
    --container-margin: (100vw - 700px) / 2;
    --navbar-height: 52px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-margin: (100vw - 500px) / 2;
  }
}

@media (max-width: 576px) {
  :root {
    --container-margin: 15px;
  }
}

:root {
  --container-margin: (100vw - 1260px) / 2;
  --navbar-height: 62px;
}

.tablet-section{
  margin-top: 57px;
  margin-bottom: 20px;
}

@media (max-width: 844px) {
  .overlayrow {
    display: none;
  }
}

@media (min-width: 416px) {
  .overlaytextmobile {
    display: none;
  }
}

@media (max-width: 1238px) {
  .alignphoto {
    display: flex;
    justify-content: center;
  }
}

@media (min-width: 1290px) {
  .overlayrow {
    position: absolute;
    top: 510px !important;
    left: -10px;
  }
}

.title {
  font-weight: 400;
  font-size: 40px;
  line-height: 49px;
  color: #304a70;
  margin-bottom: 16px;
}

@media (max-width: 764px) {
  .title {
    font-size: 26px;
    line-height: 30px;
  }
}

.caption {
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 1;
  position: relative;
  color: #304a70;
}

.yellow-button {
  z-index: 1;
  position: relative;
  font-size: 1rem;
  line-height: 1.25;
  color: #ffffff !important;
  background-color: #f0af36;
  padding: 16px 24px;
  font-weight: 700;
  display: block;
  text-align: center;
  margin-bottom: 20px;
  width: 220px;
}

.yellow-button:hover {
  color: #ffffff;
  background-color: #f0af36;
  text-decoration: none;
}

.yellow-buttonsecond {
  z-index: 1;
  position: relative;
  font-size: 1rem;
  line-height: 1.25;
  color: #ffffff;
  background-color: #f0af36;
  padding: 16px 24px;
  font-weight: 700;
  display: block;
  text-align: center;
  margin-bottom: 20px;
  width: 238px;
}

.yellow-buttonsecond:hover {
  color: #ffffff;
  background-color: #f0af36;
  text-decoration: none;
}

.yellow-buttonone {
  z-index: 1;
  position: relative;
  font-size: 1rem;
  line-height: 1.25;
  color: #ffffff;
  background-color: #f0af36;
  padding-top: 16px;
  padding-bottom: 16px;
  font-weight: 700;
  display: block;
  text-align: center;
  margin-bottom: 20px;
  width: 220px;
}

.yellow-buttonone:hover {
  color: #ffffff;
  background-color: #f0af36;
  text-decoration: none;
}

.link {
  cursor: pointer;
}

.link .vertical {
  transform: rotateZ(90deg);
}

.sub-title-wrapper {
  padding: 45px 0 110px 0px;
  position: relative;
  margin-top: -300px;
}
.phone-section{
  padding: 97px 0px 0px 0px;
}
.phone-title{
  color: #304A70;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
}

.text-headline{
  color: #304A70;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2.8px;
}

.phone-image{
  margin-left: -90px;
}
.blue-bg{
  width: 430px;
  height: 90%;
  background: rgba(60, 181, 161, 0.10);
}

.phone-desc{
  color: #304A70;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  max-width: 300px;
}
.text-padding{
  padding-left: 40px;
}
@media (max-width:1299px){
  .button-align-wrapper{
    margin-left: 0px !important;
  }
}

.text-shr-wrapper{
  padding-left: 85px;
}

.background{
  left: 50px;
}

@media (max-width:1100px){
  .text-wrapper{
    text-align: left !important;
  }
  .text-padding{
    padding-left: 0px !important;
  }
  .text-right{
    text-align: left !important;
  }
  .section{
    margin-top: 0px;
    margin-bottom: 40px !important;
  }
  .end-section{
    margin-top: 20px !important;
  }
  .background{
  left: 0px;
  }
  .section-title {
    margin-top: 40px !important;
  }
  .section-description {
    margin-bottom: 40px !important;
  }
  .end-section{
    margin-top: 50px;
  }
  .text-shr-wrapper{
    padding-left: 0px;
    padding-top: 30px;
  }
  .phone-section{
    padding: 50px 0px 0px 0px !important;
  }
  .sub-title-wrapper {
    margin-top: 0px !important;
    padding: 40px 0px !important;
  }
  .button-align-wrapper{
    margin-left: 0px !important;
    margin-top: 20px;
  }
  .blue-bg{
   display: none !important;
  }
  .phone-image{
    width: 100%;
    margin-left: 0px;
  }
  .phone-desc{
    max-width: 100% !important;
  }
}

.sub-title-wrapper::after {
  position: absolute;
  background-color: #ffffff;
  top: 0;
  right: 0;
  content: "";
  height: 100%;
  width: 100vw;
}

.sub-title-wrapper .sub-title {
  font-weight: 400;
  font-size: 28px;
  line-height: 36.5px;
  color: #304a70;
  z-index: 1;
  position: relative;
}

.button-align-wrapper{
  margin-left: 70px;
}

@media (max-width: 764px) {
  .sub-title-wrapper {
    padding: 30px 5px;
  }

  .sub-title-wrapper::after {
    position: absolute;
    background-color: #ffffff;
    top: 0;
    right: 0;
    content: "";
    height: 90%;
    width: 100vw;
  }

  .sub-title-wrapper .sub-title {
    font-size: 22px;
    line-height: 23px;
    padding-right: 5px;
    margin-bottom: 20px;
  }
}

.slider-title {
  font-size: 30px;
  line-height: 37px;
  color: #304a70;
  z-index: 1;
  position: relative;
  margin-bottom: 76px;
  margin-top: 120px;
}

@media (max-width: 764px) {
  .slider-title {
    font-size: 22px;
    padding-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 30px;
    margin-bottom: 40px;
  }
}

.section {
  color: #304a70;
}

.section .section-title {
  font-weight: 700;
  font-size: 26px;
  line-height: 32px;
}

.section .section-description {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
}

.tablet-section .text-wrapper {
  padding-top: 70px;
  padding-bottom: 40px;
  position: relative;
}

.tablet-section .text-wrapper::after {
  position: absolute;
  width: 100vw;
  height: 100%;
  content: "";
  background-color: #EBF8F6;
  top: 0;
  left: 50%;
  z-index: -1;
}

.tablet-section .tablet-image {
  /* padding: 72px 0; */
  width: 620px;
  max-width: 620px;
  padding-top: 70px;
}

@media (max-width: 1099.98px) {
  .tablet-section .tablet-image {
    padding-top: 0;
    width: 100% !important;
    margin-top: 0px;
    margin-left: 0px;
  }
}

.laptop-section .laptop-description {
  font-weight: 400;
  font-size: 21px;
  line-height: 26px;
  color: #304a70;
}

.laptop-section .background-color {
  position: absolute;
  background-color: #EBF8F6;
  top: 0;
  right: 25%;
  height: 60%;
  width: 100vw;
  z-index: -1;
}

.logos-wrapper .logos-text {
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;
  color: #304a70;
  padding: 78px 46px;
  position: relative;
}

.logos-wrapper .logos-text::after {
  background-color: rgba(235, 93, 64, 0.1019607843);
  content: "";
  z-index: -1;
  top: 0;
  right: 50%;
  position: absolute;
  height: 100%;
  width: 100vw;
}

.logos-wrapper .logo {
  height: 48px;
}

.small-agenda-card-container {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  height: 100%;
  transition: 0.3s ease;
}

.small-agenda-card-container:hover {
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
}

.small-agenda-card-container .image-container {
  width: 100%;
  padding-bottom: 56.25%;
  position: relative;
  /* background-color: #f6ecd1; */
  background-image: url("/assets/esperto-lavoro/bg-esperti.png");
}

.small-agenda-card-container .image-container img {
  position: absolute;
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.small-agenda-card-container .image-container0 {
  width: 100%;
  padding-bottom: 56.25%;
  position: relative;
  background-color: #f5cec5;
}

.small-agenda-card-container .image-container0 img {
  position: absolute;
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.small-agenda-card-container .image-container1 {
  width: 100%;
  padding-bottom: 56.25%;
  position: relative;
  background-color: #d6eede;
}

.small-agenda-card-container .image-container1 img {
  position: absolute;
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.small-agenda-card-container .content {
  padding: 18px 0;
  flex: 1;
  flex-direction: column;
  margin-left: 5px;
}

.small-agenda-card-container .content .text {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 0;
  color: #304a70;
}

.slider-section {
  position: relative;
  width: 100%;
  z-index: 1;
}

.slider-section .slider-container {
  position: relative;
  width: 100%;
  min-height: 350px;
  position: relative;
}

.slider-section .slider-container::before {
  position: absolute;
  height: 100%;
  width: 100%;
  right: calc(100% + 8px);
  top: -10px;
  content: "";
  background-color: #ffffff;
  z-index: 2;
}

@media (max-width: 1099px) {
  .slider-section .slider-container::before {
    display: none;
  }
}

.slider-section .controls-wrapper {
  position: absolute;
  top: 64px;
  left: -18px;
  right: -18px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 576px) {
  .slider-section .controls-wrapper {
    transform: translateX(0);
  }
}

.slider-section .controls-wrapper .swiper-button-disabled {
  opacity: 0.8;
}

.slider-section .controls-wrapper * {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 48px;
  background-color: #3cb5a1;
  padding: 16px;
  border-radius: 24px;
  cursor: pointer;
}

@media (max-width: 764px) {
  .slider-section .controls-wrapper {
    margin-left: 15px;
    margin-right: 15px;
  }
}

.end-section .background {
  background-color: #EBF8F6;
  position: absolute;
  height: 100%;
  z-index: -1;
}

@media (max-width: 576px) {
  .end-section {
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .end-section .yellowbutondiv {
    display: flex;
    justify-content: center;
  }
}

