/**
 * @file
 * Subtheme specific CSS.
 */

/* ====== Body ========= */

@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');

* {
  font-family: 'Ubuntu', Sans-Serif;
}

#toolbar-bar {
  z-index: 5000;
}

img {
  max-width: 100%;
  height: auto;
}

/* =====/ Body ========= */

/* ====== Secondary Menu ========= */

.row.region-secondary-menu {
  --bs-gutter-x: 0;
}

.row.region-secondary-menu > *,
.row.region-prefooter > * {
  width: auto;
}

#block-guibib-theme-account-menu .row {
  --bs-gutter-x: 0;
}


@media screen and (max-width: 768px) {

  #navbar-top {
    flex-direction: column;
    justify-content: center;
  }

  #navbar-top section {
    flex-direction: column;
    justify-content: center;
  }

  .block-secondary_menu-contacto {
    display: flex;
    justify-content: center;
  }

  .block-secondary_menu--social ul.social-media-links--platforms {
    display: flex;
    justify-content: center;
  }

  #block-guibib-theme-account-menu {
    display: none;
  }

}

@media screen and (min-width: 851px) {

  .block-secondary_menu--social {
    margin-right:  1rem;
    padding-top: .2rem;
  }

  .region-secondary-menu {
    flex-flow: row nowrap !important;
  }

  #navbar-top {
    justify-content: flex-end;
  }

  .block-secondary_menu-contacto {
    width: auto !important;
    font-size: 1.2rem;
    margin-right: 1rem;
  }
}

.block-secondary_menu--social ul.social-media-links--platforms {
  margin-bottom: 0;
}

.block-secondary_menu--social ul.social-media-links--platforms a {
  padding: .5rem 0;
}

.block-secondary_menu-contacto {
  color: #FFFFFF;
}

.block-secondary_menu-contacto p {
  margin-top: .3rem;
  margin-bottom: 0;

}

/* ===== /Secondary Menu ========= */

/* ====== Primary Menu ========= */

@media (max-width: 992px) {

  .navbar-collapse ul {
    padding-left: 2rem;
    padding-right: 2rem;
    background: rgba(33,150,243, .800);
  }

  .navbar-collapse ul ul {
    padding-left: 0;
  }

  .navbar-collapse ul ul li a:hover {
    color: #000 !important;
  }

  .navbar-collapse ul li a {
    color: #fff !important;
  }
}

@media screen and (min-width: 992px) {
  #CollapsingNavbar {
    justify-content: flex-end;
  }

  #navbar-main .navbar-nav a {
    font-size: 1.2rem;
  }

  #navbar-main .navbar-nav a:hover {
    border-bottom: 1px solid #2196f3;
  }

  #navbar-main .navbar-nav a.active {
    border-bottom: 1px solid #2196f3;
  }

}

#navbar-main {
  background-color: #ffffff !important;
  margin-left: auto;
  margin-right: auto;
}

#navbar-main .navbar-nav a {
  color: #000000;
}

nav.affix {
  transition-property: all;
  transition-duration: 1.0s;
  transition-timing-function: linear;
  transition-delay: 0.1s;
  border-bottom: 2px solid #2196f3;
}

nav.affix a img {
  transition-property: all;
  transition-duration: 1.0s;
  transition-timing-function: linear;
  transition-delay: 0.1s;
  max-width: 75%;
}


@media (min-width: 768px) {

  ul.nav li.dropdown:hover ul.dropdown-menu {
    display: block;
  }
  ul.nav li.dropdown ul.dropdown-menu {
    margin-top: 0;
  }
  ul.nav li.dropdown ul.dropdown-menu li.dropdown-item {
    font-weight: 200;
  }
  ul.nav li.dropdown ul.dropdown-menu li.dropdown-item:hover,
  ul.nav li.dropdown ul.dropdown-menu li.dropdown-item:focus {

  }
  ul.nav li.dropdown ul.dropdown-menu li.dropdown-item a,
  ul.nav li.dropdown ul.dropdown-menu li.dropdown-item a:hover {
    text-decoration: none;
    border-bottom-width: 0 !important;
  }
  ul.nav li.dropdown ul.dropdown-menu li.dropdown-item a.active,
  ul.nav li.dropdown ul.dropdown-menu li.dropdown-item.active {
    background-color: #2196f3;
    color: #fff !important;
  }
}

/* =====/ Primary Menu ========= */

/* ===== Breadcrumb ========= */

.breadcrumb {
  background-color: #e9ecef;
  border-radius: 0.25rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem !important;
  padding: .75rem 1rem !important;
}

/* ===== /Breadcrumb ========= */

/* ====== Front Page ========= */


/* ===== /Front Page ========= */

/* ====== Block Hello ========= */

.block--hello {
  position: relative;
}

@media screen and (max-width: 768px) {

  .block--hello {
    position: relative;
  }

  .block--hello::before {
    position: absolute;
    display: block;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    z-index: 10;
  }

  .block--background .field--name-body {
    z-index: 15;
  }

}

@media screen and (min-width: 1200px) {

  #block-hello .block--background .field--name-body {
    padding: 0 40px 20px 0;
  }

  #block-hello .block--background .field--name-body h2 {
    font-size: 2.5rem;
  }

  #block-hello .block--background .field--name-body p {
    font-size: 1.4rem;
  }

}

#block-hello .block--background {
  position: relative;
  min-height: 400px;
}

#block-hello .block--background .field--name-body {
  position: absolute;
  max-width: 800px;
  bottom: 0;
  right: 0;
  color: #ffffff;
  text-align: center;
}

/* ===== / Block Hello ========= */

/* ====== Block Features ========= */

@media screen and (max-width: 768px) {

  .blockgroup-features {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .block-content--featureshome {
    flex-flow: nowrap column;
  }

  .block-content--featureshome img {
    max-width: 100%;
    padding: 1rem 5rem .5rem;
  }

}

@media (min-width: 769px) and (max-width: 992px) {

  .block-content--featureshome {
    flex-flow: row wrap;
    justify-content: space-between;
  }

  .block-content--featureshome img {
    max-width: 100%;
    padding: 1rem 5rem .5rem;
  }

  .block-content--featureshome .blockgroup-features-item {
    flex: 0 0 45%;
  }

}

@media screen and (min-width: 992px) {

  .blockgroup-features {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .block-content--featureshome {
    flex-flow: nowrap row;
  }

  .block-content--featureshome img {
    max-width: 100%;
    padding: 1rem 5rem .5rem;
  }

}

@media screen and (min-width: 1200px) {



}

.block-content--featureshome {
  display: flex;
}

.blockgroup-features-item .content {
  display: flex;
  flex-flow: nowrap column;
  justify-content: center;
}

.blockgroup-features-item .field--type-image {
  flex-grow: 1;
}

.blockgroup-features-item .field--name-body {
  text-align: center;
  padding: .5rem .5rem .5rem;
}

.blockgroup-features-item {
  display: flex;
  flex-flow: nowrap column;
}

.blockgroup-features-item .content {
  flex-grow: 1;
}

/* =====/ Block Features ========= */

/* ====== Block Services ========= */

@media screen and (max-width: 992px) {
  .block-content--serviceshome {
    flex-flow: nowrap column;
  }

  .blockgroup-services-item {
    text-align: center;
    padding-top: 1rem;
  }

  #block-drupalservice {
    order: 1;
    background-color: #2196f3;
    color: #FFFFFF;
  }

  #block-wordpressservice {
    order: 2;
  }

  #block-symfonyservice {
    order: 3;
    background-color: #2196f3;
    color: #FFFFFF;
  }

  #block-dolibarrservice {
    order: 4;
  }

}

@media screen and (min-width: 992px) {

  .block-content--serviceshome {
    flex-flow: wrap row;
  }

  .blockgroup-services-item {
    flex: 1 1 50%;
    position: relative;
    min-height: 350px;
  }

  #block-wordpressservice .content, #block-dolibarrservice .content {
    position: absolute;
    bottom: 0;
    right: 2rem;
    width: 50%;
    padding-bottom: 2rem;
  }

  #block-drupalservice .content, #block-symfonyservice .content {
    position: absolute;
    top: 4rem;
    left: 2rem;
    width: 50%;
    color: #ffffff;
  }

  .blockgroup-services-item .field--name-body {
    font-size: 1.2rem;
  }

  .blockgroup-services-item .field--name-body .block-services--bold {
    font-weight: bold;
    font-size: 1.4rem;
  }

}


@media screen and (min-width: 1200px) {

}

.block-content--serviceshome {
  display: flex;
}

.blockgroup-services-item {
  display: flex;
}

.blockgroup-services-item .content {
  display: flex;
  flex-flow: nowrap column;
  flex-grow: 1;
}


/* =====/ Block Services ========= */

/* ====== Block Other Services ========= */

@media screen and (max-width: 769px) {

  .block-otros-servicios .field--name-body {
    text-align: center;
  }

}

@media screen and (min-width: 768px) {

}

@media screen and (min-width: 992px) {
  .block-otros-servicios .field--name-body {
    font-size: 1.2rem;
  }

  .block-otros-servicios .field--name-body img {
    float: left;
    padding: .6rem;
  }

}

@media screen and (min-width: 1200px) {

}

.block-otros-servicios {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.block-otros-servicios h2,
.block-proyectos h2 {
  text-align: center;
  font-size: 3rem;

}

/* =====/ Block Other Services ========= */

/* =====/ Block Map ========= */

#block-contactmap {
  width: 100%;
}

#prefooter .row.region-prefooter {
  margin-left: 0;
  margin-right: 0;
}

.block--contact-data {
  position: absolute;
  bottom: 270px;
  padding: 1rem 3rem;
  background: rgba(33,150,243, .800);
  color: #fff;
  font-size: 1.2rem;
  border-radius: 0 15px 0 15px;
}

@media (max-width: 992px) {
  .block--contact-data {
    right: 0;
  }
}

@media screen and (min-width: 992px) {

  .block--contact-data {
    right: 10%;
  }

}

/* ====== Block Proyectos ========= */

.slide__grid .slide__caption {
  font-size: 1.2rem;
  padding-left: 2rem;
}

.block-proyectos {
  margin-bottom: 3rem;
}

.block-proyectos h2 {
  margin-bottom: 3rem;
}

/* =====/ Block Proyectos ========= */

/* =====/ Block Map ========= */

/* ====== Contact Frontpage ========= */

.block-webform--contact_frontpage {
  background-color: #2196f3;
  padding-bottom: 1.3rem;
}

.block-webform--contact_frontpage h2 {
  text-align: center;
  font-size: 3rem;
  padding: 1rem 0 2rem;
  color: #FFFFFF;
}

.block-webform--contact_frontpage label {
  color: #FFFFFF;
}

.block-webform--contact_frontpage #edit-email--description, .block-webform--contact_frontpage #webform-terms-of-service-terms_of_service--description {
  color: #FFFFFF;
}

.block-webform--contact_frontpage .form-type-webform-terms-of-service a {
  color: #FFFFFF;
}

.block-webform--contact_frontpage .form-type-webform-terms-of-service a:hover {
  text-decoration: underline;
}

.block-webform--contact_frontpage #webform-terms-of-service-terms_of_service--description .webform-terms-of-service-details--content .description.text-muted {
  color: #FFFFFF !important;
}

#webform-terms-of-service-terms_of_service--description {
  display: block;
  margin-left: -2rem;
}

.block-webform--contact_frontpage .btn-primary {
  background-color: #e2e6ea;
  border-color: #e2e6ea;
  color: #212529;
}

.block-webform--contact_frontpage .btn-primary::before {
  color: #212529;
}

.input-group .input-group-append span {
  height: 100%;
}

/* =====/ Contact Frontpage ========= */

/* ====== Content ========= */

.block-page-title-block {
  margin-bottom: 2rem;
}

.path-node .main-content {
  margin-bottom: 4rem;
}

#prefooter {
  position: relative;
}

.field--name-field-image-article .field__item {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

article.comment {
  display: flex;
  flex-direction: column;
}

.twitter-tweet {
  max-width: 100% !important;
  justify-content: center;
}

.twitter-tweet iframe {
  flex-grow: 0 !important;
  width: 550px !important;
  height: 486 !important;
}

iframe.media-oembed-content {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.field--type-image .field__item {
  display: flex;
  justify-content: center;
}

@media screen and (min-width: 851px) {
  section.field--type-comment {
    margin-left: 5rem;
  }
}

/* =====/ Content ========= */

/* ====== Blockquote ========= */

blockquote {
  /*font: 12px/18px normal "Courier New", sans-serif;*/
  padding-left: 70px;
  padding-right: 50px;
  padding-top: 2px;
  padding-bottom: 2px;
  background-color: #2196f3;
  color: white;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin: 5px;
  background-image: url('../openquote5.gif'), url('../closequote5.gif');
  background-position: top left, bottom right;
  background-repeat: no-repeat, no-repeat;
  text-indent: 23px;
}

/* =====/ Blockquote ========= */

/* ====== Footer ========= */

@media screen and (min-width: 851px) {
  .site-footer__top .region.region-footer-second {
    width: 50%;
  }

  .site-footer__top .region.region-footer-second .block-footer--info {
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
  }

}

.site-footer .content {
  font-size: 1rem;
}

.site-footer .row {
  margin-left: 0;
  margin-right: 0;
}

.site-footer .block-block-content, .site-footer .block-social-media-links {
  width: 100%;
}

.site-footer .block-social-media-links {

}

.site-footer .block-footer--social ul.social-media-links--platforms {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.site-footer .block-footer--social ul.social-media-links--platforms li a {
  border-bottom: 0;
  padding-bottom: .2rem;
}

.block-aviso-legal {
  text-align: center;
}

/* =====/ Footer ========= */

/* ====== Paragraphs ========= */

.field--name-field-prod-lead,
.field--name-field-serv-lead {
  font-weight: 600;
}

.field--name-field-pg-imagen img,
.paragraph--type--imagen-texto {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.paragraph--type--imagen-texto {
  margin-left: 1rem;
  margin-right: 1rem;
}

.node .field--type-image {
  width: 100%;
}

@media (min-width: 768px) {
  .paragraph--type--imagen-texto .bs-region--right {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* =====/ Paragraphs ========= */

/* ====== Views ========= */

.view-productos::after,
.view-servicios::after,
.view-blog::after {
  display: block;
  clear: both;
  content: "";
}

.view-productos .card-group,
.view-servicios .card-group,
.view-blog .card-group {
  flex: 1 1 100%;
}

.view-productos .card-group > .card,
.view-servicios .card-group > .card,
.view-blog .card-group > .card {
  position: relative;
}

.view-productos .card-group .card .card-header,
.view-servicios .card-group .card .card-header,
.view-blog .card-group .card .card-header {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0, .400);
}

.view-productos .card-group .card .card-header a,
.view-servicios .card-group .card .card-header a,
.view-blog .card-group .card .card-header a {
  display: block;
  font-size: 1.2rem;
  color: #fff;
}

.view-productos .card-group .card:hover .card-header,
.view-servicios .card-group .card:hover .card-header,
.view-blog .card-group .card:hover .card-header {
  height: 100%;
  background: rgba(0,0,0, .600);
}

.view-productos .card-group .card:hover .card-header a,
.view-servicios .card-group .card:hover .card-header a,
.view-blog .card-group .card:hover .card-header a {
  height: 100%;
  text-align: center;
  padding-top: 20%;
}

.view-productos .card-group > .card + .card,
.view-servicios .card-group > .card + .card,
.view-blog .card-group > .card + .card {
  border-left: 1px solid rgba(0,0,0, .125);
}

.view-productos .card-body,
.view-servicios .card-body {
  display: none;
}

.view-productos .card-group .card,
.view-servicios .card-group .card,
.view-blog .card-group .card {
  margin-bottom: 1rem;
}

.view-productos .view-header,
.view-servicios .view-header
.view-blog .view-header {
  margin-bottom: 2rem;
}

.view-blog .card-group .card-block-header {
  position: relative;
}

.view-blog .card-group .card-body > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

.view-blog .card-group .card-date {
  padding: .75rem 1.25rem;
  color: #9e9e9e;
}


@media screen and (min-width: 576px) and (max-width: 768px) {

  .view-productos .card-group,
  .view-servicios .card-group,
  .view-blog .card-group {
    flex-flow: column nowrap;
  }

}

@media screen and (min-width: 768px) and (max-width: 992px) {

  .view-productos .card-group,
  .view-servicios .card-group,
  .view-blog .card-group {
    flex-flow: row wrap;
    justify-content: space-between;
  }

  .view-productos .card-group .card,
  .view-servicios .card-group .card,
  .view-blog .card-group .card {
    flex: 0 0 45%;
  }

}

@media (min-width: 992px) {

  .view-productos .card-group,
  .view-servicios .card-group,
  .view-blog .card-group {
    justify-content: space-between;
  }

  .view-productos .card-group .card,
  .view-servicios .card-group .card,
  .view-blog .card-group .card {
    flex: 0 0 30%;

  }

  .dropdown .dropdown-menu {
    left: -50px;
  }
}

/* ====== /Views ========= */
