/* GENERAL RULES */
h1 {
  color: #06c;
  margin: 30px;
}

h2 {
  color: #06c;
  text-align: center;
  padding: 20px 0 10px;
}

h2::after {
  content: '';
  display: block;
  border-bottom: 3px solid #06c;
  max-width: 120px;
  position: relative;
  margin: auto;
  padding-top: 10px;
}

.container-fluid {
  padding-right: 0;
  padding-left: 0;
}

.btn.btn-primary.btn-lg {
  border-radius: 40px;
  padding: 10px 50px;
}

/* SLIM HEADER */
.it-header-slim-wrapper {
  background-color: rgb(0,70,134);
}

.it-header-slim-wrapper .it-header-slim-wrapper-content .it-header-slim-right-zone button, .it-header-slim-wrapper .it-header-slim-wrapper-content .it-header-slim-right-zone .it-access-top-wrapper > a, .it-header-slim-wrapper .it-header-slim-wrapper-content .header-slim-right-zone button, .it-header-slim-wrapper .it-header-slim-wrapper-content .header-slim-right-zone .it-access-top-wrapper > a {
  background: #004686;
  padding-top: 7.5px;
  padding-bottom: 7.5px;
  color: white;
}

.filter-option-inner-inner {
  padding-right: 10px;
  padding-top: 2px;
}

/* HEADER */
.it-header-center-wrapper {
  background-color: rgb(0,83,160);
}

.it-header-navbar-wrapper {
  background-color: rgb(0,83,160);
}

.it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
  width: 90px;
  height: auto;
  /* height: 80px; */
}

/*footer logo styling */
.it-footer-main div.container > section{
  padding: 0;
  margin: 0 10px;
}
.it-footer-main div.container section > div.row:first-child > div.col-sm-12{
  padding: 0 ;
}
.it-footer-main .it-brand-wrapper a .icon {
  width: 50px;
  height: 50px;
}


#edit-keys {
  padding-right: 0.1rem;
}

#edit-submit--2 {
  margin-top: 1rem;
}

/* site logo and footer media queries */
@media (max-width: 992px) {
  .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon{
    width: 5rem;
    height: 5rem;
    margin-left: .5rem;
    padding: .5rem
  }
  .it-footer-main .it-brand-wrapper a .icon{
    width: 50px;
    height: 50px;
  }

  .it-footer-small-prints ul.it-footer-small-prints-list {
    padding: 1.5rem 0.7rem;
}

  #block-navigazioneprincipale-menu{
    z-index: 999;
  }

  #footer-top-section, #footer-row{
    margin: 0 10px;
  }

  div > p > a[href="mailto:info@interpa.it"]:first-child{
    margin-left: 1em;
  }
}

/* FOOTER */
footer h2 {
  text-align: left;
  color: white;
  font-size: 1rem;
  text-transform: uppercase;
}

footer h2::after {
  border-bottom: 2px solid white;
  max-width: 100%;
  margin: 0;
}

footer ul {
  list-style-type: none;
  padding-left: 0px;
  line-height: 35px;
}

footer a {
  color: white;
}

footer a:hover {
  color: white;
}

footer .border-white {
  border-color: transparent !important;
}

.it-footer-main {
  background-color: rgb(0,83,160);
}

.it-footer-small-prints {
  background-color: rgb(0,83,160);
}

#footer-row {
  border-top: 2px solid white;
}

/* CAROUSEL */
#home-carousel h2 {
  color: white;
  text-align: left;
}

#home-carousel h2::after {
  border-bottom: 0;
  padding-top: 0;
}

.it-hero-wrapper .it-hero-text-wrapper {
    padding: 188px 10% 108px 26px;
}

.it-hero-wrapper .it-hero-text-wrapper h1 {
  margin: 0;
  font-size: 70px;
}

.it-hero-wrapper .it-hero-text-wrapper h5 {
  font-family: "Titillium Web",Geneva,Tahoma,sans-serif;
  color: white;
  font-size: 25px;
  line-height: 40px;
}

.it-hero-wrapper.it-overlay.it-dark .img-responsive-wrapper::after {
  opacity: .77;
  background: transparent;
  background-image: none;
  background-image: linear-gradient(-180deg,rgba(39,112,183,0) 0%,#384f6b 100%);
}

@media (max-width: 992px) {
  #home-carousel {
    min-height: 822px;
  }
}

/* LAYOUT BUILDER CLASSES */
.bg-geo {
  background-image: url('img/community-bg.png');
  background-repeat: no-repeat;
  background-position: right;
}

.tabs-admin-menu {
  margin-left: 19px;
}

.field.field--name-title.field--type-string.field--label-hidden {
  margin-left: 11px;
}

.blog-card a, a:hover {
  text-decoration: none !important;
  color: #19191a;
}

/* BLOG VIEW */
#views-bootstrap-blog-block-1 .card.card-bg {
  width: 100% ;
}

#views-bootstrap-blog-block-1 h4 a {
  color: #2f2f2f;
  font-size: 38px;
  font-weight: bold;
}

#views-bootstrap-blog-block-1 .card::after {
  margin-top: 0;
}

.blog-row {
  justify-content: space-between;
}

.blog-body .clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item {
  margin: 0px 16px !important;
}

/* BOOTBLOCK - SECTION CARD*/
#sectioncard {
  text-align: center;
}

#sectioncard .card {
  width: 100%;
}

#sectioncard .card .categoryicon-top {
  display: block;
}

#sectioncard .card .categoryicon-top h2{
  display: inline-block;
}

#sectioncard .card .categoryicon-top h2::after {
  border-bottom: 0;
  padding-top: 0;
}

#sectioncard .card .categoryicon-top img {
  display: inline-block;
}

#sectioncard .card .categoryicon-top .icon {
  vertical-align: text-bottom;
}

/* BOOTBLOCK - SECTION APPS*/
#sectionapps .card {
    width: 100%;
}

#sectionapps .card::after {
    margin-top: 0;
}

#sectionapps .qr-code {
    width: 130px;
    height: auto;
}

#sectionapps .card-body {
    padding: 25px;
}

#sectionapps h4 {
    color: #1e549b;
}

#sectionapps p {
  font-size: 25px;
}

/* BOOTBLOCK - SECTION ISTRUMENTS */
.background-custom-blu_ghiaccio {
  background-color: #4682B4;
  padding: 10px;
  border-radius: 8px;
  color: white;
  font-weight: 700;
  font-size: 20px;
  text-align: left;
  }

.background-custom-blu_ghiaccio img {
  height: 60px;
  margin: 0 auto;
}

.background-custom-blu_fiordaliso {
  background-color: #6495ED;
  padding: 10px;
  border-radius: 8px;
  color: white;
  font-weight: 700;
  font-size: 20px;
  text-align: left;
}

.background-custom-blu_fiordaliso img {
  height: 60px;
  margin: 0 auto;
}

.background-custom-blu_dodger {
  background-color: #1E90FF;
  padding: 10px;
  border-radius: 8px;
  color: white;
  font-weight: 700;
  font-size: 20px;
  text-align: left;
}

.background-custom-blu_dodger img {
  height: 60px;
  margin: 0 auto;
}

.background-custom-blu_notte {
  background-color: #191970;
  padding: 10px;
  border-radius: 8px;
  color: white;
  font-weight: 700;
  font-size: 20px;
  text-align: left;
}

.background-custom-blu_notte img {
  height: 60px;
  margin: 0 auto;
}

.background-custom-acquamarina {
  background-color: #7FFFD4;
  padding: 10px;
  border-radius: 8px;
  color: white;
  font-weight: 700;
  font-size: 20px;
  text-align: left;
}

.background-custom-acquamarina img {
  height: 60px;
  margin: 0 auto;
}

.background-custom-turchese {
  background-color: #40E0D0;
  padding: 10px;
  border-radius: 8px;
  color: white;
  font-weight: 700;
  font-size: 20px;
  text-align: left;
}

.background-custom-turchese img {
  height: 60px;
  margin: 0 auto;
}

.background-custom-turchese_scuro {
  background-color: #00CED1;
  padding: 10px;
  border-radius: 8px;
  color: white;
  font-weight: 700;
  font-size: 20px;
  text-align: left;
}

.background-custom-turchese_scuro img {
  height: 60px;
  margin: 0 auto;
}

.background-custom-verde_acqua_chiaro {
  background-color: #20B2AA;
  padding: 10px;
  border-radius: 8px;
  color: white;
  font-weight: 700;
  font-size: 20px;
  text-align: left;
}

.background-custom-verde_acqua_chiaro img {
  height: 60px;
  margin: 0 auto;
}

.background-custom-verde_acqua_scuro {
  background-color: #008080;
  padding: 10px;
  border-radius: 8px;
  color: white;
  font-weight: 700;
  font-size: 20px;
  text-align: left;
}

.background-custom-verde_acqua_scuro img {
  height: 60px;
  margin: 0 auto;
}

.background-custom-violetto {
  background-color: #8A2BE2;
  padding: 10px;
  border-radius: 8px;
  color: white;
  font-weight: 700;
  font-size: 20px;
  text-align: left;
}

.background-custom-violetto img {
  height: 60px;
  margin: 0 auto;
}

.background-custom-blu_ardesia_chiaro {
  background-color: #7B68EE;
  padding: 10px;
  border-radius: 8px;
  color: white;
  font-weight: 700;
  font-size: 20px;
  text-align: left;
}

.background-custom-blu_ardesia_chiaro img {
  height: 60px;
  margin: 0 auto;
}

.background-custom-blu_ardesia_scuro {
  background-color: #483D8B;
  padding: 10px;
  border-radius: 8px;
  color: white;
  font-weight: 700;
  font-size: 20px;
  text-align: left;
}

.background-custom-blu_ardesia_scuro img {
  height: 60px;
  margin: 0 auto;
}

.background-custom-viola_scuro {
  background-color: #334184;
  padding: 10px;
  border-radius: 8px;
  color: white;
  font-weight: 700;
  font-size: 20px;
  text-align: left;
}

.background-custom-viola_scuro img {
  height: 60px;
  margin: 0 auto;
}

#sectionistrument .views-element-container {
  width: 100%;
}

#sectionistrument {
  text-align: center;
}

#sectionistrument .card {
  width: 100%;
}

#sectionistrument .card .categoryicon-top {
  display: block;
}

#sectionistrument .card .categoryicon-top h2{
  display: inline-block;
}

#sectionistrument .card .categoryicon-top h2::after {
  border-bottom: 0;
  padding-top: 0;
}

#sectionistrument .card .categoryicon-top img {
  display: inline-block;
}

#sectionistrument .card .categoryicon-top .icon {
  vertical-align: text-bottom;
}

#sectionistrument .views-row {
  width: 48%;
  margin: 10px;
  float: left;
}

#sectionistrument a {
  color: white;
  text-decoration: none;
}

#it-block-bootstrap-italia-content footer {
  display: none;
}

@media (max-width: 992px) {
  #sectionistrument .views-row {
    width: 100%;
  }
}

/* SEARCH MODAL */
.modal-content.perfect-scrollbar {
  padding: 30px;
}

.button.js-form-submit.form-submit.btn.btn-primary {
  border-radius: 40px;
  padding: 10px 50px;
}

.valid-feedback {
  display: none !important;
}

/*PAGINATORE*/
ul.js-pager__items {
  list-style: none;
  display: inline-block;
}

ul.js-pager__items li {
  display: inline;
}

div.views-element-container.contextual-region div nav {
  text-align: center;
}

/*PAGINA BLOG*/
#views-bootstrap-blog-page-1 .row [class*="col-"] > .card-wrapper > .card {
  height: 100%;
  width: 100%;
}

#views-bootstrap-blog-page-1 .card::after {
  margin-top: 0;
}

#views-bootstrap-blog-page-1 h4 a {
  color: #2f2f2f;
  font-size: 38px;
  font-weight: bold;
}

#views-exposed-form-blog-page-1 .form-group {
  position: relative;
  margin-bottom: 3rem;
  margin-top: 0;
  width: 45%;
  display: inline-block;
  margin: 0 10px 3rem 0;
}

#edit-submit-blog {
  margin-bottom: 30px;
}

@media (max-width: 475px){
  #views-exposed-form-blog-page-1 .form-group {
    width: 100%;
    display: inline-block;
    margin: 0 0 3rem 0;
    padding: 0 24px;
  }

  #edit-actions {
    text-align: center;
  }
}

/*PAGINA RISULTATI RICERCA*/
.card-search-result {
  width: 100%;
  height: 100%;
}

.card-wrapper-search-result {
  margin: 10px;
}

#edit-submit-search {
  margin-bottom: 20px; 
}