.pagecomposer-riga.row {
  width: auto; }

.main-banner {
  height: 650px;
  display: table;
  margin-bottom: 80px; }

.main-banner .col-banner {
  display: table-cell;
  vertical-align: middle;
  float: none;
  margin: 0; }

.main-banner .col-banner h1 {
  font-size: 48px;
  font-weight: 400;
  color: #fff;
  text-transform: none;
  margin: 0 0 32px 0;
  float: none;
  display: inline-block;
  line-height: 58px;
  letter-spacing: 0; }

.main-banner .col-banner p {
  margin: 0; }

.main-banner .col-banner .btn-default {
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  text-align: center;
  padding: 0;
  height: auto;
  line-height: 50px;
  border: 2px solid #fff;
  float: none;
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 204px;
  background: transparent;
  border-radius: 0;
  /*overflow: hidden;*/
  position: relative; }

.main-banner .col-banner .btn-default.b-w-2::before {
  border-color: #fff; }

.main-banner .banner-text {
  padding: 175px 35px 90px;
  width: 100%;
  max-width: 1430px;
  margin: 0 auto;
  display: block;
  position: relative; }

.main-banner .banner-text::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  width: 80px;
  height: 100%;
  background: url("/themes//srm/images/main-banner-before.png") no-repeat center / contain; }

.main-banner .banner-text::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 0;
  width: 80px;
  height: 100%;
  background: url("/themes//srm/images/main-banner-after.png") no-repeat center / contain; }

.riga-bannerone {
  height: 400px;
  display: table;
  margin-bottom: 80px; }

.col-bannerone {
  display: table-cell;
  vertical-align: middle;
  float: none;
  margin: 0; }

.testo-bannerone {
  width: 100%;
  max-width: 734px;
  margin: 0 auto;
  display: block;
  position: relative; }

.testo-bannerone .cont-box-img {
  height: 170px;
  display: table;
  width: 100%; }

.testo-bannerone .cont-box-img a {
  height: 100%;
  display: table;
  width: 100%; }

.testo-bannerone figure {
  display: table-cell;
  vertical-align: middle;
  position: relative;
  width: 170px;
  height: 170px; }

.testo-bannerone h2 {
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.2);
  font-size: 36px;
  font-weight: 600;
  line-height: 46px;
  color: #fff;
  text-align: left;
  text-transform: none;
  margin: 0;
  width: 100%;
  max-width: 330px; }

.testo-bannerone .box-testo-img {
  display: table-cell;
  vertical-align: middle;
  padding-left: 90px;
  position: relative; }

.testo-bannerone figure::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 170px;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.1); }

.testo-bannerone figure img {
  max-width: 112px;
  max-height: 109px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%); }

.testo-bannerone .btn-default {
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  text-align: center;
  padding: 0;
  height: auto;
  line-height: 50px;
  border: 2px solid #fff;
  float: none;
  display: inline-block;
  width: 100%;
  max-width: 204px;
  background: transparent;
  border-radius: 0;
  position: absolute;
  right: 0;
  bottom: -46px;
  margin: 0;
  overflow: hidden; }

.riga-news .btn-default, .riga-eventi .btn-default {
  float: none;
  width: 258px;
  height: 54px;
  line-height: 54px;
  display: inline-block;
  margin: 32px 0 0 0;
  border-radius: 0;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  background: #213259; }

.riga-eventi {
  padding-top: 80px;
  background: #F5F5F5; }

.slider-ricerche {
  position: relative; }

.slider-ricerche .swiper-container {
  position: static; }

.banner-services .testo-bannerone {
  max-width: 888px;
  margin-top: -55px; }

.banner-services .testo-bannerone figure {
  width: 265px;
  height: auto; }

.banner-services .testo-bannerone figure::before {
  display: none; }

.banner-services .testo-bannerone figure img {
  max-width: 100%;
  max-height: 100px; }

.banner-services .testo-bannerone .box-testo-img {
  padding-left: 80px; }

.banner-services .testo-bannerone .btn-default {
  left: 80px;
  right: auto;
  bottom: -97px; }

.banner-services .testo-bannerone h2 {
  font-size: 42px;
  font-weight: 400;
  line-height: 52px;
  max-width: 100%; }

@media (max-width: 991px) {
  .testo-bannerone {
    padding: 0 15px; } }

@media (min-width: 768px) {
  .riga-news-eventi .col-w-75 {
    width: 66.6667%;
    margin: 0; }
  .riga-news-eventi .col-w-25 {
    width: 33.3333%;
    margin: 0;
    padding: 0 15px; } }

@media (max-width: 767px) {
  .main-banner {
    height: 300px; }
  .main-banner .banner-text {
    padding: 55px 35px 30px; }
  .main-banner .col-banner h1 {
    font-size: 25px;
    line-height: 35px;
    margin-bottom: 16px; }
  .main-banner .col-banner .btn-default {
    line-height: 44px;
    font-size: 14px; }
  .banner-services.riga-bannerone {
    height: auto;
    padding: 80px 0; }
  .banner-services .testo-bannerone {
    margin-top: 0; }
  .banner-services .testo-bannerone .box-testo-img {
    display: inline-block;
    width: 100%;
    padding-left: 0; }
  .banner-services .testo-bannerone figure {
    display: inline-block;
    width: 100%;
    height: 100px; }
  .banner-services .testo-bannerone h2 {
    margin: 20px 0;
    font-size: 32px;
    line-height: 42px; }
  .banner-services .testo-bannerone .btn-default {
    left: auto;
    bottom: auto;
    position: relative; }
  .testo-bannerone .box-testo-img {
    padding-left: 30px; }
  .riga-news-eventi .col-w-100.container .pagecomposer-riga.row .col-w-75 {
    margin-bottom: 0; }
  .riga-news-eventi .col-w-100.container .pagecomposer-riga.row .col-w-75 .box-news {
    margin-bottom: 32px; }
  .riga-news-eventi .col-w-100.container .pagecomposer-riga.row .col-w-25 {
    padding: 0 15px; }
  .testo-bannerone figure {
    width: 90px;
    height: 90px; }
  .testo-bannerone figure img {
    max-width: 100%;
    max-height: 70px; }
  .testo-bannerone h2 {
    font-size: 26px;
    line-height: 36px; }
  .testo-bannerone .btn-default {
    bottom: -64px; }
  .testo-bannerone .cont-box-img {
    height: 108px; }
  .riga-bannerone {
    height: 300px; } }
