/* INTRO CRUMBS AND TITLE */

#intro {
  margin: 0 0 30px 0;
}

#crumbs {
  font-size: 0.889em;
}

section#crumbs {
  margin: 32px 0 0 0;
}

#crumbs a {
  color: #003882;
  font-weight: 300;
}

#crumbs a:hover {
  /*font-weight: 600;*/
}

#crumbs .breadcrumb {
  padding: 0;
  overflow: hidden;
  vertical-align: bottom;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  line-height: 1.5;
}

#crumbs .breadcrumb .breadcrumb-item {
  line-height: 1.5;
  display: inline-block;
}

#crumbs .breadcrumb .breadcrumb-item a {
  line-height: 1.5;
}

#crumbs .breadcrumb .breadcrumb-item span.separator {
  font-weight: 300;
  padding: 0;
  margin: 0 4px 0 8px;
  line-height: 1.5;
}

#crumbs .breadcrumb .breadcrumb-item:focus {
  border: 2px solid #ff8c00 !important;
}

#crumbs .breadcrumb .breadcrumb-item.active a {
  color: #555;
  pointer-events: auto;
}

#intro .section-title,
#intro #section-menu,
#intro-themes .section-title {
  margin-top: 8px;
}

#intro #section-menu {
  margin-top: 53px;
}

#intro .section-title h2,
#intro-themes .section-title h2 {
  color: #003882;
  font-size: 2.222em;
  margin: 0;
  letter-spacing: 0;
}

#intro .section-title h4,
#intro-themes .section-title h4 {
  color: #796c31;
  font-size: 1.556em;
  margin: 16px 0 0 0;
  font-weight: bold;
}

#intro .section-title p,
#intro-themes .section-title p {
  margin: 24px 0 0 0;
}

#intro #section-menu h4 {
  font-size: 0.889em;
  font-weight: 600;
  text-transform: uppercase;
}

#intro #section-menu .list-group-item {
  border: 0;
  padding: 4px 0;
  font-size: 0.889em;
  background: transparent;
}

#intro #section-menu .list-group-item a {
  color: #003882;
  text-decoration: none;
}

#intro #section-menu .list-group-item a:hover {
  text-decoration: underline;
}

#intro .text-search {
  font-weight: 300;
  color: #1c2a29;
  height: 48px;
  border: 0;
  border-radius: 4px;
  background-color: #f2f2f2;
}

#intro input::placeholder,
#intro input::-ms-input-placeholder,
#intro input:-ms-input-placeholder {
  color: #9b9b9b;
  font-size: 0.889em;
  line-height: 21px;
}

#intro .form-group {
  padding: 0;
  margin-top: 48px;
}

#intro .form-group .ico-sufix {
  position: absolute;
  width: 48px;
  text-align: center;
  right: 0;
  top: 0;
  bottom: 0;
  vertical-align: middle;
  background-color: #4e7e5b;
  border-radius: 0 4px 4px 0;
  border: 0;
  padding: 8px;
  cursor: pointer;
  z-index: 700;
}

#intro .form-group .ico-sufix svg.icon {
  fill: #fff;
  width: 24px;
  height: 24px;
}

#intro .form-group .ico-sufix:focus {
  border: 2px solid #ff8c00 !important;
  outline: 0;
}

#article-detail-text .pagination-wrapper {
  margin-top: 40px;
}

#featured-sections {
  padding: 24px 0 21px 0;
  background: url(../img/ombra.png) no-repeat top center;
  background-size: contain;
}

#themes-news {
  padding: 64px 0 56px 0;
  background: url(../img/ombra.png) no-repeat top center;
  background-size: contain;
  margin: 0 0 32px 0;
}

.row.schede {
  margin-top: 12px;
}

.panel {
  background: #fff;
  -webkit-box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #eceff1;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.panel-brick {
  background: #fff;
  -webkit-box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #eceff1;
  position: relative;
  height: 100%;
}

.panel-theme-list .panel-theme-list-text {
  display: flex;
  align-items: start;
  padding: 10px 24px 16px 24px;
}

.panel-theme-list .panel-theme-list-text h4 {
  font-weight: bold;
  margin: 0;
  line-height: 1.25;
}

.col-md-3 .panel-theme-list .panel-theme-list-text h4 {
  font-size: 1.15em;
}

.col-md-4 .panel-theme-list .panel-theme-list-text h4 {
  font-size: 1.33em;
}

.panel-theme-list .panel-icon {
  width: 48px;
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eaf2ec;
  margin: 0 16px 0 0;
  text-align: center;
  vertical-align: middle;
  line-height: 43px;
  color: #003882;
}

.panel-theme-list .panel-icon-square {
  width: 54px;
  min-width: 54px;
  height: 54px;
  border-radius: 6%;
  background: #e0f9cf;
  margin: 0 16px 0 0;
  text-align: center;
  vertical-align: middle;
  line-height: 43px;
  color: #474546;
}
.panel-theme-list h4 {
}

.panel-brick .panel-icon svg.icon {
  width: 24px;
  height: 24px;
  fill: #003882;
}

.panel-brick .panel-icon-square svg.icon {
  width: 28px;
  height: 28px;
  fill: #474546;
}
.short-panel {
  height: auto;
  margin-bottom: 24px;
}

/*
.short-panel:last-child {
    margin-bottom: 0px;
}
*/

.panel-round {
  border-radius: 4px;
}

.panel-margin {
  margin-bottom: 24px;
}

.panel .panel-icon-small {
  color: #003882;
  letter-spacing: 1px;
  font-size: 0.778em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 24px 24px 0 24px;
}

.panel .panel-icon-small svg.icon {
  width: 24px;
  height: 24px;
  margin: 0 10px 3px 0;
  fill: #003882;
  color: #003882;
}

.panel-news .panel-icon-small svg.icon,
.panel-person .panel-icon-small svg.icon {
  fill: #555;
}

.panel .panel-icon-small a:focus {
  outline: 2px solid #ff8c00 !important;
}

.panel .panel-text,
.panel .panel-text-small,
.panel .panel-footer,
.panel-brick .panel-text {
  padding: 10px 24px 16px 24px;
}

.panel .panel-text-small {
  flex: 1 0 auto;
}

.panel .panel-text-small h4 {
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 8px;
}

.panel .panel-text-small p {
  font-size: 0.889em;
}

.panel .panel-text-small h4 a {
  color: #003882;
}

.panel .panel-footer {
  border-top: 0px solid #d8d8d8;
  flex: 0 0 auto;
}

.panel .panel-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eaf2ec;
  margin: 24px 24px 8px 24px;
  text-align: center;
  vertical-align: middle;
  line-height: 43px;
  color: #003882;
}

.panel .panel-icon svg.icon {
  width: 24px;
  height: 24px;
  fill: #003882;
}

.panel .panel-text {
  padding-top: 20px;
  flex: 1 0 auto;
}

.panel .panel-text h4,
#article-detail-text .panel .panel-text h4 {
  font-size: 1.556em;
  font-weight: bold;
  margin: 0 0 8px 0;
  line-height: 1.1;
}

.panel .panel-text p {
  font-size: 0.889em;
  line-height: 24px;
  padding: 12px 0;
}

.panel .panel-text h4 a,
.panel .panel-text h4 a:not([href]):not([tabindex]),
.panel .panel-text h4 a:not([href]):not([tabindex]):focus,
.panel .panel-text h4 a:not([href]):not([tabindex]):hover {
  color: #003882;
}

.all {
  color: #4e7e5b;
  font-size: 0.778em;
  vertical-align: middle;
  display: inline-block;
  font-weight: bold;
  letter-spacing: 1px;
}

.all:not([href]):not([tabindex]),
.all:not([href]):not([tabindex]):focus,
.all:not([href]):not([tabindex]):hover {
  color: #4e7e5b;
}

.all svg.icon {
  vertical-align: bottom;
  width: 18px;
  height: 20px;
  fill: #4e7e5b;
}

.panel-news {
  height: calc(100% - 6px);
  margin-bottom: 6px;
}

.panel-news .panel-photo {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.panel-news .panel-photo figure {
  margin: 0;
}

.panel-news .panel-photo img {
  border-radius: 4px 4px 0 0;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.panel-news .panel-data {
  height: 80px;
  width: 80px;
  border-radius: 4px;
  background-color: #ffffff;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1), 0 4px 8px 0 rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1),
    0 4px 8px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1),
    0 4px 8px 0 rgba(0, 0, 0, 0.1);
  position: absolute;
  right: 24px;
  top: 24px;
  color: #455a64;
  text-align: center;
  font-size: 0.889em;
  font-weight: 600;
  line-height: 1.3;
  padding: 12px 0;
  text-transform: capitalize;
}

.panel-news .panel-data strong {
  font-size: 1.667em;
  font-weight: 700;
  display: block;
}

.panel-news .panel-text h4,
.panel-brick .panel-text h4 {
  font-size: 1.333em;
  font-weight: bold;
  margin: 0 0 8px 0;
  line-height: 1.1;
}

.panel-news .panel-icon-small {
  color: #555;
  margin: 0 0 12px 0;
}

.panel-news .panel-themes {
  padding: 10px 24px 16px 24px;
}

.panel-news .panel-themes a.badge-themes {
  color: #003882;
  border: 1px solid #003882;
  margin-right: 8px;
  margin-bottom: 12px;
  font-size: 0.889em;
  font-weight: 600;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-news .panel-themes a.badge-themes:hover {
  background-color: #003882;
  color: #fff;
  text-decoration: none;
}

.panel-news .panel-themes a:focus {
  outline: 1px solid #ff8c00 !important;
}

.view-all {
  text-align: center;
  margin-top: 16px;
}

.view-all button svg.icon,
.view-all a svg.icon {
  display: none;
}

#services-sections {
  padding: 48px 0 24px 0;
}

#services-sections .view-all .btn-green {
  margin-bottom: 0;
}

/* themes */

#themes-sections {
  margin-bottom: 24px;
}

#themes-sections .other-themes {
  margin-top: 0;
}

#themes-sections .other-themes .other-themes-list {
  margin-left: 0;
  text-align: center;
}

/* SECTIONS themes*/

#intro-themes {
  position: relative;
  padding-top: 72px;
  margin: 0 0 48px 0;
}

#intro-themes .bg-theme {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: absolute;
  top: 0;
}

#intro-themes .bg-theme img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.theme-box {
  -webkit-box-shadow: 4px 4px 8px 0 rgba(90, 103, 114, 0.1);
  -moz-box-shadow: 4px 4px 8px 0 rgba(90, 103, 114, 0.1);
  box-shadow: 4px 4px 8px 0 rgba(90, 103, 114, 0.1);
  background-color: #ffffff;
  border-radius: 4px;
  position: relative;
  padding: 24px 48px;
}

.theme-box #menu-area p {
  font-size: 0.778em;
  font-weight: 600;
}

#featured-themes {
  padding-bottom: 64px;
  margin-bottom: 32px;
}

#theme-documents .widget {
  padding: 24px 0;
}

.filter {
  text-align: right;
}

#themes-services .widget {
  padding: 24px 0;
}

/* UFFICI */

#help {
  position: relative;
  padding-top: 96px;
  margin: 0 0 64px 0;
}

#help h3 {
  color: #fff;
  font-size: 1.778em;
  margin: 0;
}

#help p {
  color: #fff;
  font-size: 0.889em;
  margin: 16px 0 48px 0;
  line-height: 1.5;
}

/* SITI TEMATICI */

.panel-app {
  border-radius: 4px;
  box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.1);
  color: #fff;
  padding: 0;
  margin-bottom: 24px;
  height: 128px;
  position: relative;
}

.panel-app .bg-full {
  width: 100%;
  overflow: hidden;
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 2px;
  border: 1px solid #eceff1;
}

.panel-app .bg-full img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.panel-app p {
  color: #fff;
  padding: 16px 24px;
  position: relative;
}

.panel-app a {
  color: #fff;
  font-size: 0.889em;
}

.panel-app a strong {
  font-size: 1.25em;
}

.panel-app.h488 {
  height: 488px;
}

.panel-app.h264 {
  height: 252px;
}

.panel-app.h280 {
  height: 280px;
}

.panel-app.h184 {
  height: 184px;
}

.panel-app.h144 {
  height: 144px;
}

.panel-app .panel-arg-img {
  position: relative;
  height: 100%;
}

.panel-app .panel-arg-img .velo {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  height: 100%;
  position: relative;
  border-radius: 4px;
}

.panel-app .panel-arg-img h4 {
  bottom: 24px;
  left: 32px;
  right: 32px;
  font-size: 1.7em;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

@media (min-width: 767px) and (max-width: 991px) {
  .theme-box #menu-area {
    margin: 32px 0 0 0;
  }
}

@media (max-width: 767px) {
  #intro .section-title,
  #intro #section-menu,
  #intro-themes .section-title {
    margin-top: 8px;
  }

  #intro .section-title h2,
  #intro-themes .section-title h2 {
    font-size: 2em;
    line-height: 1;
  }

  #intro #section-menu h4 {
    display: none;
  }

  #intro #section-menu .list-group-item {
    font-size: 1em;
  }

  #intro .text-search {
    font-size: 1em;
    height: 40px;
  }

  #intro .form-group .ico-sufix {
    width: 40px;
  }

  .panel {
    margin-bottom: 16px;
    height: auto;
  }

  .all {
    font-size: 0.875em;
  }

  .panel .panel-icon-small {
    font-size: 0.875em;
  }

  .panel .panel-text-small h4 {
    font-size: 1em;
  }

  .panel .panel-text h4 {
    font-size: 1.5em;
  }

  .panel .panel-text p,
  .panel .panel-text-small p {
    font-size: 1em;
  }

  .panel-list li a {
    font-size: 1em;
  }

  .panel .panel-footer {
    padding: 16px 24px 13px 24px;
  }

  .panel-brick {
    margin-bottom: 16px;
  }

  .panel-margin {
    margin-bottom: 0px;
  }

  .row-eq-height {
    margin-bottom: 0px;
  }

  #featured-sections {
    padding: 21px 0;
  }

  .panel-news {
    position: relative;
    display: block;
    min-height: 120px;
  }

  .short-panel:last-child {
    margin-bottom: 16px;
  }

  #featured-themes .short-panel:last-child {
    /* margin-bottom: 0px; */
  }

  .panel-app {
    margin-bottom: 16px;
  }

  .panel-news .panel-photo {
    position: absolute;
    width: 144px;
    right: 0;
    height: 100%;
  }

  .panel-news .panel-photo figure {
    height: 100%;
  }

  .panel-news .panel-photo img {
    border-radius: 0 4px 4px 0;
    object-fit: cover;
    height: 100%;
    width: 144px;
  }

  .panel-news .panel-data {
    height: 64px;
    width: 64px;
    padding: 6px 0;
  }

  .panel-news .panel-data strong {
    font-size: 1.5em;
  }

  .panel-news .panel-icon-small {
    margin-bottom: 4px;
  }

  .panel-news .panel-icon-small.mr114 {
    margin-right: 114px;
  }

  .panel-news .panel-icon-small i {
    vertical-align: middle;
  }

  .panel-news .panel-text {
    flex: none;
    margin-right: 144px;
  }

  .panel-news .panel-text h4 {
    font-size: 1em;
    line-height: 1.3;
  }

  .panel-news .panel-text p,
  .panel-news .panel-themes {
    display: none;
  }

  .panel-news .no-mr-sm {
    margin-right: 0;
  }

  .panel-news .mt32 {
    margin-top: 16px;
  }

  .view-all {
    text-align: left;
    margin: 8px 0 8px 8px;
  }

  .view-all .btn-green {
    background: none;
    padding: 4px 8px;
    font-size: 0.875em;
    color: #4e7e5b !important;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .view-all .btn-green:hover {
    color: #fff !important;
  }

  .view-all button svg.icon {
    display: inline-block;
    vertical-align: bottom;
    width: 18px;
    height: 18px;
    fill: #4e7e5b;
  }

  .view-all button:hover svg.icon {
    fill: #fff;
  }

  #services-sections {
    padding: 32px 0;
  }

  #intro-themes {
    padding: 0;
    margin: 0;
    background: #fff;
  }

  #intro-themes .bg-theme {
    height: 240px;
    position: relative;
  }

  .theme-box {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    padding: 32px 0 0 0;
  }

  .theme-box #menu-area {
    margin: 32px 0;
  }

  .theme-box #menu-area p {
    font-size: 0.875em;
  }

  #featured-themes {
    padding: 32px 0;
  }

  #featured-themes .widget,
  #theme-documents .widget {
    margin: 0;
  }

  #themes-services .widget,
  #theme-documents .widget {
    padding: 0 0 32px 0;
  }

  #themes-news .widget {
    margin: 32px 0;
  }

  section .section-title {
    border: 0;
  }

  section .section-title h3 {
    border-bottom: 2px solid #f1f2f4;
    padding-bottom: 8px;
  }

  section .section-title .float-left,
  section .section-title .float-left {
    float: none !important;
  }

  .filter {
    text-align: left;
    margin-top: 32px;
  }

  .filter .btn-trasparent {
    margin-left: 0;
    margin: 0 8px 8px 0;
  }

  #article-detail-text .pagination-wrapper {
    margin-top: 0;
  }

  #help p {
    font-size: 1em;
    margin: 16px 0 32px 0;
  }
}

@media (max-width: 576px) {
  .panel-news .panel-photo {
    width: 114px;
  }

  .panel-news .panel-photo img {
    width: 114px;
  }

  .panel-news .panel-text {
    margin-right: 114px;
  }

  .panel-news .no-mr-xs {
    margin-right: 0;
  }
}
