/**
 * Copyright 2015 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

body {
  margin: 0;
}

/* Disable ugly boxes around images in IE10 */
a img {
  border: 0px;
}

::-moz-selection {
  background-color: #6ab344;
  color: #fff;
}

::selection {
  background-color: #ff0000;
  color: #fff;
}

.rbsoft-search-box .mdl-textfield__input {
  color: rgba(0, 0, 0, 0.87);
}

.rbsoft-header .mdl-menu__container {
  z-index: 50;
  margin: 0 !important;
}

.mdl-textfield--expandable {
  width: auto;
}

.rbsoft-fab {
  position: absolute;
  right: 20%;
  bottom: -26px;
  z-index: 3;
  background: #ff0000 !important;
  color: white !important;
}

.rbsoft-mobile-title,
.mdl-layout__drawer-button {
  display: none !important;
}

.rbsoft-logo-image {
  height: 40px;
  width: 140px;
}

.rbsoft-header {
  overflow: visible;
  background-color: black;
}

.rbsoft-header .material-icons {
  color: white !important;
}

.rbsoft-header .mdl-layout__drawer-button {
  background: transparent;
  color: white;
}

.rbsoft-header .mdl-navigation__link {
  color: white;
  font-weight: 700;
  font-size: 14px;
}

.rbsoft-navigation-container {
  /* Simple hack to make the overflow happen to the left instead... */
  direction: rtl;
  order: 1;
  width: 500px;
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.rbsoft-navigation {
  /* ... and now make sure the content is actually LTR */
  direction: ltr;
  justify-content: flex-end;
  width: 800px;
}

.rbsoft-search-box.is-focused + .rbsoft-navigation-container {
  opacity: 0;
  width: 100px;
}

.rbsoft-navigation .mdl-navigation__link {
  display: inline-block;
  height: 60px;
  line-height: 68px;
  background-color: transparent !important;
  border-bottom: 4px solid transparent;
}

.rbsoft-navigation .mdl-navigation__link:hover {
  border-bottom: 4px solid rgb(254, 0, 0);
}

.rbsoft-search-box {
  order: 2;
  margin-left: 16px;
  margin-right: 16px;
}

.rbsoft-more-button {
  order: 3;
}

.rbsoft-drawer {
  border-right: none;
}

.rbsoft-drawer-separator {
  height: 1px;
  background-color: #dcdcdc;
  margin: 8px 0;
}

.rbsoft-drawer .mdl-navigation__link.mdl-navigation__link {
  font-size: 14px;
  color: #757575;
}

.rbsoft-drawer span.mdl-navigation__link.mdl-navigation__link {
  color: #8bc34a;
}

.rbsoft-drawer .mdl-layout-title {
  position: relative;
  background: black;
  height: 160px;
}

.rbsoft-drawer .rbsoft-logo-image {
  position: absolute;
  bottom: 16px;
}

.rbsoft-valores {
  font-size: 70px !important;
  color: rgb(254, 0, 0);
}

.rbsoft-icon-description {
  font-size: 20px;
  color: black;
}

.rbsoft-chip-description {
  font-size: 25px;
  color: black;
  text-align: center;
  padding: 30px 200px 30px 200px;
  line-height: 1.5;
  opacity: 0.7;
}

.rbsoft-section-by-button {
  /* height: 240px; */
  padding-top: 40px;
}

.rbsoft-be-together-section {
  position: relative;
  height: 725px;
  width: auto;
  background: linear-gradient(
      0deg,
      rgba(16, 16, 16, 0.5),
      rgba(39, 39, 39, 0.5)
    ),
    url("../img/net&soft.jpg") center 30% no-repeat;
  background-size: cover;
}

.rbsoft-who-we-are-section {
  position: relative;
  height: 400px;
  width: auto;
  background: url("../img/ciudad-inteligente-apertura-bbva\ 1.png") center 30%
    no-repeat;
  background-size: cover;
}

.logo-font {
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  line-height: 1;
  color: #767777;
  font-weight: 500;
}

.rbsoft-slogan {
  font-size: 60px;
  padding-top: 160px;
  color: white;
}

.rbsoft-section-title {
  font-size: 60px;
  padding-top: 160px;
  color: white;
  text-shadow: 4px 3px 4px rgba(0, 0, 0, 1);
}

.rbsoft-sub-slogan {
  font-size: 21px;
  padding-top: 24px;
  color: white;
}

.rbsoft-create-character {
  font-size: 21px;
  padding-top: 400px;
}

.rbsoft-create-character a {
  text-decoration: none;
  color: #767777;
  font-weight: 300;
  color: white;
}

.rbsoft-screen-section {
  position: relative;
  padding-top: 60px;
  padding-bottom: 60px;
}

.rbsoft-section-misions {
  position: relative;
  padding-bottom: 50px;
}

.rbsoft-screens {
  text-align: right;
  width: 100%;
  white-space: nowrap;
  overflow-x: auto;
}

.rbsoft-presentation {
  font-size: 30px;
  margin: 30px 100px 30px 100px;
  text-align: justify;
  color: black !important;
  opacity: 0.7;
}

.rbsoft-screen {
  text-align: center;
}

.rbsoft-screen .rbsoft-link {
  margin-top: 16px;
  display: block;
  z-index: 2;
}

.rbsoft-image-link {
  text-decoration: none;
}

.rbsoft-wear {
  display: inline-block;
  width: 160px;
  margin-right: 32px;
}

.rbsoft-wear .rbsoft-screen-image {
  width: 40%;
  z-index: 1;
}

.rbsoft-chips {
  background-color: #ebebeb;
  color: black;
  width: 150px;
}

.rbsoft-chips.active {
  box-shadow: 0px 2px 5px black;
  background-color: rgb(254, 0, 0);
  color: white;
}

.rbsoft-phone {
  display: inline-block;
  width: 64px;
  margin-right: 48px;
}

.rbsoft-phone .rbsoft-screen-image {
  width: 100%;
  z-index: 1;
}

.rbsoft-tablet {
  display: inline-block;
  width: 110px;
  margin-right: 64px;
}

.rbsoft-tablet .rbsoft-screen-image {
  width: 100%;
  z-index: 1;
}

.rbsoft-tablet .rbsoft-link {
  display: block;
  z-index: 2;
}

.rbsoft-tv {
  display: inline-block;
  width: 300px;
  margin-right: 80px;
}

.rbsoft-tv .rbsoft-screen-image {
  width: 100%;
  z-index: 1;
}

.rbsoft-auto {
  display: inline-block;
  width: 300px;
  overflow: hidden;
}

.rbsoft-auto .rbsoft-screen-image {
  display: block;
  height: 300px;
  z-index: 1;
}

.rbsoft-wear-section {
  position: relative;
  background: url("../img/banner-digital.jpg") center top no-repeat;
  background-size: cover;
  height: 800px;
}

.rbsoft-wear-band {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  background-color: #ebebeb;
}

.rbsoft-wear-band-text {
  max-width: 800px;
  margin-left: 25%;
  padding: 24px;
  text-align: left;
  color: black;
}

.rbsoft-wear-band-text p {
  padding-top: 8px;
}

.rbsoft-link {
  text-decoration: none;
  color: rgb(254, 0, 0) !important;
}

.rbsoft-link:hover {
  color: rgb(201, 2, 2) !important;
}

.rbsoft-link .material-icons {
  position: relative;
  top: -1px;
  vertical-align: middle;
}

.rbsoft-alt-link {
  text-decoration: none;
  color: rgb(254, 0, 0) !important;
  font-size: 16px;
}

.rbsoft-alt-link:hover {
  color: rgb(201, 2, 2) !important;
}

.rbsoft-alt-link .material-icons {
  position: relative;
  top: 6px;
}

.rbsoft-customized-section {
  text-align: center;
}

.rbsoft-customized-section-text {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  padding: 80px 16px 0 16px;
}

.rbsoft-customized-section-text p {
  padding-top: 16px;
}

.rbsoft-customized-section-image {
  background: url("images/devices.jpg") center top no-repeat;
  background-size: cover;
  height: 400px;
}

.rbsoft-more-section {
  padding: 80px 0;
  max-width: 1044px;
  margin-left: auto;
  margin-right: auto;
}

.rbsoft-more-section .rbsoft-section-title {
  margin-left: 12px;
  padding-bottom: 24px;
}

.rbsoft-card-container {
}

.rbsoft-card-container .mdl-card__media {
  overflow: hidden;
  background: transparent;
}

.rbsoft-card-container .mdl-card__media img {
  width: 100%;
}

.rbsoft-card-container .mdl-card__title {
  background: transparent;
  height: auto;
}

.rbsoft-card-container .mdl-card__title-text {
  color: black;
  height: auto;
}

.rbsoft-card-container .mdl-card__supporting-text {
  height: auto;
  color: black;
  padding-bottom: 56px;
}

.rbsoft-card-container .mdl-card__actions {
  position: absolute;
  bottom: 0;
}

.rbsoft-card-container .mdl-card__actions a {
  border-top: none;
  font-size: 16px;
}

.rbsoft-footer {
  background-color: #fafafa;
  position: relative;
}

.rbsoft-footer a:hover {
  color: #8bc34a;
}

.rbsoft-footer .mdl-mega-footer--top-section::after {
  border-bottom: none;
}

.rbsoft-footer .mdl-mega-footer--middle-section::after {
  border-bottom: none;
}

.rbsoft-footer .mdl-mega-footer--bottom-section {
  position: relative;
}

.rbsoft-footer .mdl-mega-footer--bottom-section a {
  margin-right: 2em;
}

.rbsoft-footer .mdl-mega-footer--right-section a .material-icons {
  position: relative;
  top: 6px;
}

.rbsoft-link-menu:hover {
  cursor: pointer;
}
.mdl-dialog {
  border: none;
  box-shadow: 0 9px 46px 8px rgba(0, 0, 0, 0.14),
    0 11px 15px -7px rgba(0, 0, 0, 0.12), 0 24px 38px 3px rgba(0, 0, 0, 0.2);
  width: 280px;
}
.mdl-dialog__title {
  padding: 24px 24px 0;
  margin: 0;
  font-size: 2.5rem;
}
.mdl-dialog__actions {
  padding: 8px 8px 8px 24px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row-reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.mdl-dialog__actions > * {
  margin-right: 8px;
  height: 36px;
}
.mdl-dialog__actions > *:first-child {
  margin-right: 0;
}
.mdl-dialog__actions--full-width {
  padding: 0 0 8px 0;
}
.mdl-dialog__actions--full-width > * {
  height: 48px;
  -webkit-flex: 0 0 100%;
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  padding-right: 16px;
  margin-right: 0;
  text-align: right;
}
.mdl-dialog__content {
  padding: 20px 24px 24px 24px;
  color: rgba(0, 0, 0, 0.54);
}

/**** Mobile layout ****/
@media (max-width: 900px) {
  .rbsoft-navigation-container {
    display: none;
  }

  .rbsoft-title {
    display: none !important;
  }

  .rbsoft-who-we-are-section {
    height: 200px;
  }

  .rbsoft-section-title {
    font-size: 20px !important;
    padding-top: 100px !important;
  }

  .rbsoft-presentation {
    font-size: 20px !important;
    margin: 5px 15px 5px 15px;
    color: black !important;
    text-align: center !important;
    opacity: 0.7;
    line-height: unset !important;
  }

  .rbsoft-chip-description {
    font-size: 20px;
    color: black;
    text-align: center;
    padding: 5px 15px 5px 15px;
    line-height: 1;
    opacity: 0.7;
  }

  .rbsoft-mobile-title {
    display: block !important;
    position: absolute;
    left: calc(50% - 70px);
    top: 12px;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mdl-layout__drawer-button {
    display: block !important;
  }

  /* WebViews in iOS 9 break the "~" operator, and WebViews in OS X 10.10 break
       consecutive "+" operators in some cases. Therefore, we need to use both
       here to cover all the bases. */
  .rbsoft.rbsoft-search-box.is-focused ~ .rbsoft-mobile-title,
  .rbsoft-search-box.is-focused
    + .rbsoft-navigation-container
    + .rbsoft-mobile-title {
    opacity: 0;
  }

  .rbsoft-more-button {
    display: none;
  }

  .rbsoft-search-box.is-focused {
    width: calc(100% - 48px);
  }

  .rbsoft-search-box .mdl-textfield__expandable-holder {
    width: 100%;
  }

  .rbsoft-be-together-section {
    height: 350px;
  }

  .rbsoft-slogan {
    font-size: 26px;
    margin: 0 16px;
    padding-top: 24px;
  }

  .rbsoft-sub-slogan {
    font-size: 16px;
    margin: 0 16px;
    padding-top: 8px;
  }

  .rbsoft-create-character {
    padding-top: 200px;
    font-size: 16px;
  }

  .rbsoft-create-character img {
    height: 12px;
  }

  .rbsoft-fab {
    display: none;
  }

  .rbsoft-wear-band-text {
    margin-left: 0;
    padding: 16px;
  }

  .rbsoft-footer .mdl-mega-footer--bottom-section {
    display: none;
  }
}
