/**
IMPORT AMOS-LAYOUT VARIABLES
 */
/* AMOS-LAYOUT VARIABLES */
/* default amos-layout base color */
/* default variables for platform customizations
override into main.less on bottom */
/* default color variables for brand customize */
/*platform text based color*/
/*apply to most text tags*/
/* default color platform basic interface*/
/* default backend background color and image */
/* ../ because it's referred to assets directory in head tag */
/* default background content parts color */
/* default border color */
/* default box-shadow */
/* utility color */
/* status color */
/* social color */
/* plugin custom color */
/* AMOS-LAYOUT UTILITY
nb: use only vars in variables.less because this file is imported by other plugin
 */
.cover-object {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
/**
FLEXBOX
 */
.flexbox {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.flexbox-column {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.flexbox-row {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}
/**
BOX SHADOW
 */
/**
TRANSITION
 */
/**
LINEAR GRADIENT
 */
/**
TODO CHECK POSITION
 */
.container-custom,
.containerCustomStyle {
  padding-left: 4%;
  padding-right: 4%;
}
.container-custom::before,
.containerCustomStyle::before {
  display: table;
  content: " ";
}
.container-custom::after,
.containerCustomStyle::after {
  display: table;
  content: " ";
  clear: both;
}
nav .container-custom,
nav .containerCustomStyle {
  padding-left: calc(4% - 2*4px);
  padding-right: calc(4% - 2*4px);
}
@media screen and (min-width: 768px) {
  .container-custom,
  .containerCustomStyle {
    padding-left: 6%;
    padding-right: 6%;
  }
  nav .container-custom,
  nav .containerCustomStyle {
    padding-left: calc(6% - 2*4px);
    padding-right: calc(6% - 2*4px);
  }
}
@media screen and (min-width: 1024px) {
  .container-custom,
  .containerCustomStyle {
    padding-left: 10%;
    padding-right: 10%;
  }
  nav .container-custom,
  nav .containerCustomStyle {
    padding-left: calc(10% - 2*4px);
    padding-right: calc(10% - 2*4px);
  }
}
.container-custom-margin,
.containerCustomStyleMargin {
  margin-left: 4%;
  margin-right: 4%;
}
.container-custom-margin::before,
.containerCustomStyleMargin::before {
  display: table;
  content: " ";
}
.container-custom-margin::after,
.containerCustomStyleMargin::after {
  display: table;
  content: " ";
  clear: both;
}
nav .container-custom-margin,
nav .containerCustomStyleMargin {
  margin-left: calc(4% - 2*4px);
  margin-right: calc(4% - 2*4px);
}
@media screen and (min-width: 768px) {
  .container-custom-margin,
  .containerCustomStyleMargin {
    margin-left: 6%;
    margin-right: 6%;
  }
  nav .container-custom-margin,
  nav .containerCustomStyleMargin {
    margin-left: calc(6% - 2*4px);
    margin-right: calc(6% - 2*4px);
  }
}
@media screen and (min-width: 1024px) {
  .container-custom-margin,
  .containerCustomStyleMargin {
    margin-left: 10%;
    margin-right: 10%;
  }
  nav .container-custom-margin,
  nav .containerCustomStyleMargin {
    margin-left: calc(10% - 2*4px);
    margin-right: calc(10% - 2*4px);
  }
}
.boxesStyle {
  font-size: 1.2rem;
  line-height: 1.4rem;
}
.boxesStyle .pluginName,
.boxesStyle .language-item {
  display: block;
  color: #ffffff;
}
.boxesStyle .color-primary {
  background-color: transparent !important;
}
.boxesStyle .ic,
.boxesStyle .am,
.boxesStyle .dash {
  color: #ffffff;
  margin-bottom: 7px;
  display: inline-block;
}
.boxesStyle .ic:before,
.boxesStyle .am:before,
.boxesStyle .dash:before {
  font-size: 3rem;
}
.boxesStyle .icon-open-modal:before {
  font-size: 2.1rem;
}
.boxesStyle .am-2 {
  font-size: unset;
}
@media screen and (max-width: 768px) {
  .boxesStyle .icon-open-modal:before {
    font-size: 2.2rem;
  }
  .boxesStyle .pluginName,
  .boxesStyle .language-item {
    font-size: 1.5rem;
    line-height: 1.6rem;
  }
}
@media screen and (min-width: 1280px) {
  .boxesStyle .ic:before,
  .boxesStyle .am:before,
  .boxesStyle .dash:before {
    font-size: 4rem;
  }
  .boxesStyle .icon-open-modal:before {
    font-size: 2.2rem;
  }
  .boxesStyle .pluginName,
  .boxesStyle .language-item {
    font-size: 1.20rem;
  }
}
.boxWidgetHeaderStyle .box-widget {
  padding: 0;
}
.boxWidgetHeaderStyle .box-widget-header .box-widget-wrapper {
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .boxWidgetHeaderStyle .box-widget-header .box-widget-title {
    display: flex;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.35rem;
  }
  .boxWidgetHeaderStyle .box-widget-header .box-widget-title .am-2,
  .boxWidgetHeaderStyle .box-widget-header .box-widget-title .pluginName,
  .boxWidgetHeaderStyle .box-widget-header .box-widget-title .language-item {
    font-size: 1.6rem;
  }
  .boxWidgetHeaderStyle .box-widget-header .box-widget-title .pluginName,
  .boxWidgetHeaderStyle .box-widget-header .box-widget-title .language-item {
    margin-left: 2%;
    width: 100%;
  }
  .boxWidgetHeaderStyle .box-widget-header .read-all {
    display: none;
  }
}
@media screen and (min-width: 768px) {
  .boxWidgetHeaderStyle .box-widget {
    padding: 0 6%;
  }
  .boxWidgetHeaderStyle .box-widget-header {
    width: calc(6% + (80% / 4 - 4px));
    position: absolute;
    padding-left: 6%;
  }
  .boxWidgetHeaderStyle .box-widget-header .box-widget-wrapper {
    position: relative;
  }
  .boxWidgetHeaderStyle .box-widget-header .box-widget-wrapper:before {
    content: "";
    display: block;
    padding-top: 100%;
  }
  .boxWidgetHeaderStyle .box-widget-header .box-widget-wrapper .box-widget-title {
    position: absolute;
    top: 0;
    right: 0;
  }
  .boxWidgetHeaderStyle .box-widget-header .read-all {
    position: relative;
    right: 0;
    text-transform: none;
    font-size: 1.1rem;
    line-height: 1.5rem;
  }
  .boxWidgetHeaderStyle .box-widget-header .read-all a {
    position: absolute;
    right: 0;
    left: 0;
    text-transform: uppercase;
    font-size: 1.2rem;
  }
}
@media screen and (min-width: 1024px) {
  .boxWidgetHeaderStyle .box-widget {
    padding: 0 10%;
  }
  .boxWidgetHeaderStyle .box-widget-header {
    padding-left: 10%;
    width: calc(10% + (80% / 6 - 4px));
  }
  .boxWidgetHeaderStyle .box-widget-header .read-all {
    font-size: 1.3rem;
    line-height: 1.8rem;
  }
}
@media screen and (min-width: 1280px) {
  .boxWidgetHeaderStyle .box-widget-header {
    width: calc(10% + (80% / 8 - 4px));
  }
}
.no-margin {
  margin: 0;
}
/**
IMPORT STYLE-CUSTOM
 */
/**
GRAPHIC WIDGET
 */
.field-news-comments_enabled {
  margin-top: 6px;
}
.field-news-comments_enabled .comment-choice {
  margin-top: 5px;
}
/**
NEWS VIEW
 */
.news-view .header-widget {
  position: relative;
  margin: 10px 0;
}
.news-view .header-widget .post-header .publication-date {
  text-align: right;
}
.news-view .header-widget .manage {
  /* override */
  margin-top: 0;
}
.news-view .header-widget .amos-tooltip {
  float: right;
}
.news-view .header-widget .reportflag-widget {
  float: right;
}
.news-view .header-widget .reportflag-widget a {
  margin: 0px 12px;
  position: relative;
  bottom: 2px;
}
.news-view .more-info-content {
  -ms-flex-grow: 1;
  flex-grow: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  justify-content: flex-end;
}
.news-view .header {
  background-color: #e6e9f2;
  margin-bottom: 15px;
  overflow: hidden;
  max-height: 350px;
}
.news-view .header .img-responsive {
  margin: 0 auto;
}
.news-view .header .title {
  background-color: rgba(255, 255, 255, 0.8);
  position: absolute;
  bottom: 0px;
  min-height: 80px;
}
.news-view .header .title .title-text {
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 5px;
  color: #000000;
}
.news-view .header .title .title-text + .subtitle-text {
  margin-top: 0;
  color: #000000;
  font-style: italic;
  font-size: 1.3em;
}
.news-view .text-content iframe {
  width: 100%;
  min-height: 350px;
  margin-top: 20px;
}
/**
NEWS CARD
 */
[data-role="list-view"] .grid-sizer,
[data-role="list-view"] .grid-item {
  width: 30%;
}
@media screen and (min-width: 768px) and (max-width: 991px) {
  [data-role="list-view"] .grid-sizer,
  [data-role="list-view"] .grid-item {
    width: 43%;
  }
}
@media screen and (min-width: 320px) and (max-width: 767px) {
  [data-role="list-view"] .grid-sizer,
  [data-role="list-view"] .grid-item {
    width: 100%;
  }
}
[data-role="list-view"] .listview-container.grid-item {
  /* override amos-layout */
  border: none;
  border-bottom: 10px solid #297a38;
}
.listview-container.news-item {
  padding-bottom: 0;
  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
}
.listview-container.news-item .icon-header .top-header {
  padding: 5px;
  background-color: rgba(41, 122, 56, 0.7);
  color: #ffffff;
  position: absolute;
}
.listview-container.news-item .icon-header .top-header > span {
  position: relative;
  top: 1px;
}
.listview-container.news-item .icon-header .top-header > span .date {
  text-transform: uppercase;
}
.listview-container.news-item .icon-header .top-header .manage {
  margin-top: 0;
}
.listview-container.news-item .icon-header .top-header .manage .manage-menu {
  color: #ffffff;
}
.listview-container.news-item .icon-header .top-header .new-badge {
  right: 5px;
  top: 35px;
}
.listview-container.news-item .icon-header .news-image {
  height: 200px;
  overflow: hidden;
}
.listview-container.news-item .icon-header .news-image .img-responsive {
  margin: 0 auto;
}
.listview-container.news-item .icon-header .post-header {
  background-color: #e6e9f2;
  padding: 10px;
  position: relative;
  bottom: 20px;
  margin: 0;
}
.listview-container.news-item .icon-body .title {
  color: #000000;
  font-weight: bold;
  text-decoration: none;
}
.listview-container.news-item .icon-body .title h3 {
  margin: 0;
}
.listview-container.news-item .icon-body .text-column {
  padding-right: 10px;
}
.listview-container.news-item .icon-body .text-column .text {
  margin-bottom: 10px;
}
.listview-container.news-item .icon-body .text-column .text .read-all {
  margin-left: 5px;
  color: #000000;
  font-weight: bold;
  text-decoration: none;
  word-wrap: normal;
}
/**
NEWS OWL CAROUSEL
*/
.wrap-graphic-widget .box-widget.latest-news section.list-news-full {
  padding: 0;
}
.wrap-slide-carousel-box {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.wrap-slide-carousel-box .wrap-item-carousel-box {
  position: relative;
}
.wrap-slide-carousel-box .wrap-item-carousel-box .abstract {
  position: absolute;
  bottom: 0;
  left: 0;
  right: -1px;
  padding: 0 15px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0);
  background: -moz-linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000000 100%);
  background: -webkit-linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000000 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000000 100%);
}
.wrap-slide-carousel-box .wrap-item-carousel-box .abstract a {
  text-decoration: none;
  color: #ffffff;
}
.wrap-slide-carousel-box .wrap-item-carousel-box .abstract a:hover .box-widget-subtitle {
  color: #ffffff;
  text-decoration: underline;
}
@media screen and (min-width: 1025px) {
  .wrap-slide-carousel-box .wrap-item-carousel-box .abstract .box-widget-text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}
.wrap-slide-carousel-box .wrap-item-carousel-box img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
#newsOwlCarousel {
  position: relative;
}
#newsOwlCarousel .owl-stage {
  padding-bottom: 20px;
  background-color: #000;
}
#newsOwlCarousel .wrap-item-carousel-box {
  width: 50%;
  min-height: 395px;
  position: relative;
}
#newsOwlCarousel .wrap-item-carousel-box .abstract {
  top: 68%;
}
#newsOwlCarousel .owl-nav:not(.disabled) {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  /* nascondo per evitare sovrapposizioni con il view-all */
}
#newsOwlCarousel .owl-nav:not(.disabled) .owl-next,
#newsOwlCarousel .owl-nav:not(.disabled) .owl-prev {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #333333;
  color: #ffffff;
  font-size: 3rem;
  line-height: 3rem;
  opacity: .7;
  cursor: pointer;
  pointer-events: auto;
  position: relative !important;
}
#newsOwlCarousel .owl-nav:not(.disabled) .owl-prev {
  opacity: 0;
  pointer-events: none;
}
#newsOwlCarouselTouch .wrap-item-carousel-box {
  min-width: 100%;
  min-height: 165px;
}
#newsOwlCarouselTouch .wrap-item-carousel-box .abstract {
  top: auto;
  bottom: 0;
  padding: 10px;
}
#newsOwlCarouselTouch .owl-dot span {
  height: 12px;
  width: 12px;
  border-radius: 6px;
}
#newsOwlCarouselTouch .box-widget-subtitle {
  font-size: 1.2em;
}
@media screen and (min-width: 768px) {
  #newsOwlCarouselTouch .wrap-item-carousel-box {
    min-height: 290px;
  }
}
