/**
 * @file
 * Use this CSS file to override base CSS rules
 */

/* Set default font weight to 300 for better typography in high-density screens */
/*body {
  font-weight: 300;
}*/

/* remove background image from header/banner */
/* .path-frontpage .page-top-container {
  background-image: none;
} */

/* remove background image from footer */
/* .footers-container {
  background-image: none;
} */

iframe {
  max-width: 100%;
}

#views-exposed-form-search-content-page-1 .form--inline {
  display: inline-flex;
}

#views-exposed-form-search-content-page-1 .form--inline label {
  display: none;
}

.faqs .ui-accordion-header {
  background: #f4f4f4;
  border: none;
}

.faqs h3.ui-accordion-header a {
  color: #333333;
  font-weight: 600;
  font-size: 26px;
  padding: 10px 30px;
  text-decoration: none;
  display: inline-block;
}

.card {
  position: relative;
  border: none;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border-bottom: 1px solid rgba(0,0,0,.125) !important;
  border-radius: .25rem;
}

.Login-Register-popup-link {
  text-align: right;
  margin-right: 60px;
  margin-top: 10px;
  margin-bottom: -10px;
}

.node--view-mode-mt-featured-teaser-video {
  margin-bottom: 15px;
  background: #fff;
  border-radius: 8px;
  max-height: 479px;
}

.node--view-mode-mt-featured-teaser-video img.image-style-mt-large {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

.node--view-mode-mt-teaser-tile-video img.image-style-mt-large {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.node--view-mode-mt-teaser-tile-video .node__title,
.node--view-mode-mt-teaser-tile-video .node__meta,
.node--view-mode-mt-teaser-tile-video .node__main-content-section {
  padding: 0 20px 0 20px;
}

.paragraph--view-mode--mt-tile .feature__icon .fontawesome-icon {
  border-radius: 50% !important;
}

div#block-subhomecoordinacionoperativaboxedwidth {
  margin-top: 20px !important;
}

div#block-views-block-mt-showcases-metro-tiles-block-home {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.home-calendar .fc-dayGrid-view .fc-body .fc-row {
  min-height: 2em;
  height: 46px !important;
}

.home-calendar {
  max-height: 480px;
  margin-left: 10%;
  width: 80%;
  background-color: #f4faf9;
  border-radius: 20px;
  padding: 10px;
  margin-top: 25px;
  overflow: hidden !important;
}

div#block-mt-business-cleanplus-tryitforfree {
  width: 110%;
  margin-left: 10%;
}

.paragraph--type--mt-icon-features.mt-style-custom-all {
  -webkit-border-radius: var(--mt-oval-radius);
  -moz-border-radius: var(--mt-oval-radius);
  border-radius: var(--mt-oval-radius);
  /*border: 1px solid var(--mt-color-primary-dark);*/
  border: none;
}

.home-calendar .fc-button-group>.fc-button {
  margin: 4px 5px 4px -4px;
}

.home-calendar .fc-toolbar h2 {
  font-size: 20px;
}

.home-calendar .fc td, .fc th {
  border-style: solid;
  border-width: 1px;
  padding: 2px 20px 2px 4px;
}

.ui-accordion .ui-accordion-header {
  margin: 12px 0;
  padding: 12px;
  font-size: 120%;
  font-weight: 600;
}

.ui-icon {
  width: 16px;
  height: 16px;
  margin: 0 14px 0 0;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
  border: 1px solid #2e2f31/*{borderColorActive}*/;
  background: #348776/*{bgColorActive}*/ /*{bgImgUrlActive}*/ /*{bgActiveXPos}*/ /*{bgActiveYPos}*/ /*{bgActiveRepeat}*/;
  font-weight: normal/*{fwDefault}*/;
  color: #ffffff/*{fcActive}*/;
}

/* header-second */
form#views-exposed-form-search-content-page-1 {
  position: relative;
  margin: 0 auto;
  width: 300px;
}

form#views-exposed-form-search-content-page-1 .form-actions{
  position: absolute;
  top: 3px;
  right: 8px;
  margin: 0;
}

form#views-exposed-form-search-content-page-1 .form-item label {
  display: none;
}

input#edit-submit-search-content {
  background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M10.442 10.442a1 1 0 0 1 1.415 0l3.85 3.85a1 1 0 0 1-1.414 1.415l-3.85-3.85a1 1 0 0 1 0-1.415z'/><path fill-rule='evenodd' d='M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  color: #FFF;
  background-size: 14px;
  font-size: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  padding: 14px;
}

.region-header-top-second .block-views-exposed-filter-blockmt-advanced-search-page-1 {
  position: relative;
  margin: 0 auto;
  width: 300px;
}

.region-header-top-second .block-views-exposed-filter-blockmt-advanced-search-page-1 .form-actions{
  position: absolute;
  top: 3px;
  right: 8px;
  margin: 0;
}

.region-header-top-second .block-views-exposed-filter-blockmt-advanced-search-page-1 .form-item label {
  display: none;
}

.region-header-top-second .block-views-exposed-filter-blockmt-advanced-search-page-1 .form-item-items-per-page {
  display: none;
}

input#edit-submit-mt-advanced-search {
  background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M10.442 10.442a1 1 0 0 1 1.415 0l3.85 3.85a1 1 0 0 1-1.414 1.415l-3.85-3.85a1 1 0 0 1 0-1.415z'/><path fill-rule='evenodd' d='M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  color: #FFF;
  background-size: 14px;
  font-size: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  padding: 14px;
}

.ui-widget {
  font-family: 'Open Sans', Helvetica Neue, Arial, sans-serif;
}

/* new nodes */
@media (min-width: 768px) {
  /* HORIZONTAL */
  .node__side {
    max-width: 385px;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 10px 0;
    padding: 10px;
    background-color: var(--mt-color-base);
    border-radius: 15px;
  }

  .node__side > div,
  .node__side div.share-links ul,
  .node__side .font-resize {
    display: flex;
    flex-direction: row;
    margin: 0 5px;
  }

  .node__side .font-resize > a,
  .node__side .font-resize > a:last-child,
  .node__side .high-contrast > a:last-child {
    font-size: 22px;
    border-top-width: 0px;
    border-right-width: 1px;
    border-right-style: solid;
    padding: 0 8px;
    border-color: rgba(var(--mt-color-default-contrast-value),0.3);
  }

  .node__side .share-links ul li {
    margin: 0 8px;
  }

  .node__side .share-links ul li a {
    padding: 0;
  }

  .node__side .high-contrast{
    margin-bottom: 0;
  }

  /* VERTICAL */
  .node--type-mt-post .node__side,
  .node--type-mt-documents.node--view-mode-full .node__side,
  .node--type-mt-testimonial.node--view-mode-full .node__side,
  .node--type-mt-legal-affairs.node--view-mode-full .node__side {
    -ms-flex: 0 0 50px;
    flex: 0 0 50px;
    flex-direction: column;
    max-width: 50px;
    justify-content: flex-start;
    align-content: center;
    margin: 0 auto;
    padding: 20px 10px 10px;
    max-height: 385px;
  }

  .node--type-mt-post .node__side > div,
  .node--type-mt-documents.node--view-mode-full .node__side > div,
  .node--type-mt-testimonial.node--view-mode-full .node__side > div,
  .node--type-mt-legal-affairs.node--view-mode-full .node__side > div {
    flex-direction: column;
  }

  .node--type-mt-post .node__side div.share-links ul,
  .node--type-mt-documents.node--view-mode-full .node__side div.share-links ul,
  .node--type-mt-testimonial.node--view-mode-full .node__side div.share-links ul,
  .node--type-mt-legal-affairs.node--view-mode-full .node__side div.share-links ul {
    flex-direction: column;
  }

  .node--type-mt-post .node__side div.share-links ul li,
  .node--type-mt-documents.node--view-mode-full .node__side div.share-links ul li,
  .node--type-mt-testimonial.node--view-mode-full .node__side div.share-links ul li,
  .node--type-mt-legal-affairs.node--view-mode-full .node__side div.share-links ul li {
    margin: 0 0 10px;
  }

  .node--type-mt-post .node__side div.share-links ul li a,
  .node--type-mt-documents.node--view-mode-full .node__side div.share-links ul li a,
  .node--type-mt-testimonial.node--view-mode-full .node__side div.share-links ul li a,
  .node--type-mt-legal-affairs.node--view-mode-full .node__side div.share-links ul li a {
    padding: 10px 0 15px;
  }

  .node--type-mt-post .node__side .font-resize,
  .node--type-mt-documents.node--view-mode-full .node__side .font-resize,
  .node--type-mt-testimonial.node--view-mode-full .node__side .font-resize,
  .node--type-mt-legal-affairs.node--view-mode-full .node__side .font-resize {
    flex-direction: column;
  }

  .node--type-mt-post .node__side .font-resize > a,
  .node--type-mt-documents.node--view-mode-full .node__side .font-resize > a,
  .node--type-mt-testimonial.node--view-mode-full .node__side .font-resize > a,
  .node--type-mt-legal-affairs.node--view-mode-full .node__side .font-resize > a,
  .node--type-mt-post .node__side .font-resize > a:last-child,
  .node--type-mt-documents.node--view-mode-full .node__side .font-resize > a:last-child,
  .node--type-mt-testimonial.node--view-mode-full .node__side .font-resize > a:last-child,
  .node--type-mt-legal-affairs.node--view-mode-full .node__side .font-resize > a:last-child {
    border-top-width: 1px;
    border-right-width: 0;
    border-right-style: solid;
    padding: 10px 0;
  }

  .node--type-mt-post .node__side .high-contrast,
  .node--type-mt-documents.node--view-mode-full .node__side .high-contrast,
  .node--type-mt-testimonial.node--view-mode-full .node__side .high-contrast,
  .node--type-mt-legal-affairs.node--view-mode-full .node__side .high-contrast {
    margin-bottom: 10px;
  }
  
  .node--type-mt-post .node__side .high-contrast > a:last-child,
  .node--type-mt-documents.node--view-mode-full .node__side .high-contrast > a:last-child,
  .node--type-mt-testimonial.node--view-mode-full .node__side .high-contrast > a:last-child,
  .node--type-mt-legal-affairs.node--view-mode-full .node__side .high-contrast > a:last-child {
    border-top-width: 1px;
    border-right-width: 0;
    border-right-style: solid;
    padding: 10px 0;
  }
  

  /* common */
  .node--type-article .node__side .content-font-settings a,
  .node--type-article .node__side .reading-time,
  .node--type-mt-post .node__side .content-font-settings a,
  .node--type-mt-post .node__side .reading-time,
  .node .node__side .content-font-settings a,
  .node .node__side .reading-time {
    color: var(--mt-color-accent) !important;
  }
}

/* node side */
.node--type-mt-documents .node--type-mt-documents.node--view-mode-full .node__side,
.node--type-mt-testimonial .node--type-mt-documents.node--view-mode-full .node__side,
.node--type-mt-legal-affairs .node--type-mt-documents.node--view-mode-full .node__side {
  text-align: center;
}
.node--type-mt-documents.node--view-mode-full .node__side .field--name-user-picture,
.node--type-mt-testimonial.node--view-mode-full .node__side .field--name-user-picture,
.node--type-mt-legal-affairs.node--view-mode-full .node__side .field--name-user-picture,
.node .node__side .field--name-user-picture {
  max-width: 65px;
  margin-left: auto;
  margin-right: auto;
  float: none;
}
.node--type-mt-documents.node--view-mode-full .node__side .field--name-user-picture img,
.node--type-mt-testimonial.node--view-mode-full .node__side .field--name-user-picture img,
.node--type-mt-legal-affairs.node--view-mode-full .node__side .field--name-user-picture img,
.node .node__side .field--name-user-picture img {
  border-radius: 100%;
}
.node--type-mt-documents.node--view-mode-full .node__side .node-date,
.node--type-mt-testimonial.node--view-mode-full .node__side .node-date,
.node--type-mt-legal-affairs.node--view-mode-full .node__side .node-date,
.node .node__side .node-date {
  font-size: 14px;
  color: #707070;
  margin-bottom: 30px
}

@media (min-width: 768px) {
  .node--type-mt-documents.node--view-mode-full .node__container,
  .node--type-mt-testimonial.node--view-mode-full .node__container,
  .node--type-mt-legal-affairs.node--view-mode-full .node__container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
  }
  .node--type-mt-documents.node--view-mode-full .node__main-content,
  .node--type-mt-testimonial.node--view-mode-full .node__main-content,
  .node--type-mt-legal-affairs.node--view-mode-full .node__main-content {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
    padding-right: 15px;
    padding-left: 15px;
  }
  .node--type-mt-documents.node--view-mode-full .node__side + .node__main-content,
  .node--type-mt-testimonial.node--view-mode-full .node__side + .node__main-content,
  .node--type-mt-legal-affairs.node--view-mode-full .node__side + .node__main-content, 
  .node .node__side + .node__main-content {
    overflow: hidden;
  }
}
@media (max-width: 767px) {
  .node--type-mt-documents.node--view-mode-full .node__side,
  .node--type-mt-testimonial.node--view-mode-full .node__side,
  .node--type-mt-legal-affairs.node--view-mode-full .node__side,
  .node .node__side {
    display: none;
  }
}
.node--type-mt-documents.node--view-mode-full .node__main-content-section,
.node--type-mt-testimonial.node--view-mode-full .node__main-content-section,
.node--type-mt-legal-affairs.node--view-mode-full .node__main-content-section {
  margin-bottom: 40px;
}

span.fieldset-legend {
  border: 1px solid #2e2f31/*{borderColorActive}*/;
  background: #348776/*{bgColorActive}*/ /*{bgImgUrlActive}*/ /*{bgActiveXPos}*/ /*{bgActiveYPos}*/ /*{bgActiveRepeat}*/;
  font-weight: normal/*{fwDefault}*/;
  color: #ffffff/*{fcActive}*/;
  margin: 12px 0;
  padding: 12px;
  font-size: 120%;
  font-weight: 600;
  border-radius: 8px;
}

/* media queries */
@media (min-width: 767px){
  form#views-exposed-form-search-content-page-1{
    margin: 0;
  }

  form#views-exposed-form-search-content-page-1 .form-item {
    margin: 0;
  }
}

/* .logo img {
  width: 100%;
  max-width: 322px;
} */

.testimonials-masonry-container ul li .mt-style-custom-all {
  min-height: 220px !important;
}

.node--view-mode-mt-teaser-tile-text-2 .region--default-background .node__title a {
  position: relative;
  top: 60px;
}

/* not show user field on teaser tile */
.teaser-tile-content a.username,
.teaser-tile-content span.field.field--name-uid {
  display: none;
}


.row.social__content .col-md-4 {
  text-align: center;
  margin-bottom: 15px;
  background: #FFF;
  padding-top: 10px;
  padding-bottom: 10px;
}

.row.social__content .col-md-4 iframe{
  width: 90% !important;
  height: 534px !important;
}

@media (min-width: 1024px) {
  .row.social__content .col-md-4 {
    margin-bottom: 0;
  }

  .row.social__content .col-md-4 iframe{
    width: 99% !important
  }
}

/***** news styles *******/
.view-mt-articles-home.view-id-mt_articles_home article .node__content .field__item {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

@media (min-width: 767px) {
  #block-views-block-mt-articles-home-home-block .more-link {
    margin-top: 20px;
    padding-bottom: 20px;
  }
}

@media (min-width: 992px) {
  #block-views-block-mt-articles-home-home-block .more-link .mt-link-stylable {
    margin: 0;
  }

  #block-views-block-mt-articles-home-home-block .more-link {
    position: absolute;
    bottom: -30px;
    left: -100px;
  }

  .view-mt-articles-home.view-id-mt_articles_home article .col-lg-3 img.image-style-mt-video-gallery-thumbnail,
  .view-mt-articles-home.view-id-mt_articles_home .col-lg-3 .teaser-tile-image-container .overlay--colored {
    border-radius: 4px;
  }
}

/***** services styles *******/
@media (min-width: 992px) {
  .view-mt-services .view-content .col-lg-2{
    min-width: 20%;
  }
}

.views-view-grid .views-row {
  box-shadow: 0px 0px 20px rgb(221 240 237 / 48%);
  border: 1px solid #ddf0ed21;
}

/******* client logos styles ******/
@media (min-width: 992px) {
  #block-mt-business-cleanplus-client-logos .content .justify-content-center{
    justify-content: flex-start !important;
  }

  #block-mt-business-cleanplus-client-logos .content .col-lg-auto{
    min-width: 25%;
  }
}

.ui-accordion-content table {
  border-width: 0;
  border-bottom-width: 1px;
  border-radius: 0 !important;
}


@media (max-width: 992px) {
  .region-content-top-highlighted {
    padding: 8px;
  }

  .content-top-highlighted__section {
    margin: 10px;
  }

  .col-12 .region-highlighted h2.title, 
  .col-12 .region-highlighted-top h2.title, 
  .col-12 .region-featured h2.title, 
  .col-12 .region-featured-top h2.title, 
  .col-12 .region-content-bottom-highlighted h2.title, 
  .col-12 .region-content-top-highlighted h2.title {
    font-size: 32px;
    width: 90%;
    margin-left: 5%;
  }  
}

@media (max-width: 765px) {
  div#block-sectorhabitat.block-mt-logo-links .logo-container {
    padding: 10px;
  }
}

/* Media mobile-desktop */
@media (min-width: 992px) {
  div#block-mt-business-cleanplus-contactinfo-2 {
    min-width: 600px;
  }

  /* Accordion view */
  .view-mt-dependenccies-view.ui-accordion .view-content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }

  .view-mt-dependenccies-view.ui-accordion .view-content > div {
    flex: 0 0 50%;
    margin: 0 10px;
    max-width: calc(50% - 20px);
  }

}

/** details **/
details {
  margin-top: 1em;
  margin-bottom: 1em;
  border-radius: var(--mt-rounded-radius);
  border-width: 1px;
  border-style: solid;
  border-color: var(--mt-color-primary) !important;
  padding: 5px;
}