:root {
  --h1-size: 70px;
  --text-color-red: #FF3301;
}

body {
  overflow-x: hidden;
}

.text-color-red {
  color: var(--text-color-red);
}

a {
  text-decoration: none;
}

#header a {
  color: white;
}

h1 {
  font-family: Roboto;
  font-style: normal;
  font-weight: bold;
  /* font-size: 70px;
  line-height: 71px; */
  font-size: 44px;
  line-height: 48px;
  letter-spacing: -1.09375px;
  color: #444444;
  margin-bottom: 20px;
}

p,
main li {
  font-family: Roboto;
  font-style: normal;
  font-weight: 300;
  font-size: 20px;
  /* line-height: 26px; */
  line-height: 20px;
  line-height: 150%;
  color: #656565;
}

main li {
  padding-bottom: 0.5rem;
}

.header-with-text {
  background-image: url(/themes/gns/assets/images/empresa/empresa-gns-software.jpeg);
  /* background-color: var(--color-base); */
  background-position-x: 47%;
  background-position-y: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100vh;
  /* Fallback for browsers that do not support Custom Properties */
  height: calc(var(--vh, 1vh) * 100);
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

@media all and (max-width: 800px) {
  .header-with-text {
    background-attachment: initial;
  }
}

.header-with-text .wrapper {
  padding: 30px;
  width: var(--wrapperWidth);
  max-width: var(--wrapperMaxWidth) !important;
}

.header-with-text .overlay {
  width: 100%;
  height: 150%;
  position: absolute;
  bottom: 0;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(-8.38%, rgba(250, 250, 250, 0.5)), color-stop(91.62%, rgba(0, 0, 0, 0.5)));
  background: linear-gradient(180deg, rgba(250, 250, 250, 0.5) -8.38%, rgba(0, 0, 0, 0.5) 91.62%);
}

.header-with-text h2 {
  font-family: Roboto;
  font-style: normal;
  font-weight: 300;
  font-size: 48px;
  line-height: 56px;
  color: #FFFFFF;
  text-shadow: 1px 1px 9px rgba(0, 0, 0, 0.8);
}

.modal-backdrop {
  z-index: 1;
}

.header-with-text h2 strong {
  font-weight: bold
}

@media all and (max-width: 800px) {
  .header-with-text h2 {
    font-size: 40px;
    font-size-adjust: initial;
    line-height: normal;
    -webkit-transition-delay: 0.5s;
    transition-delay: 0.5s;
    -webkit-transition-duration: 1.0s;
    transition-duration: 1.0s;
  }
}

@media all and (max-width: 700px) {
  .header-with-text h2 {
    font-size: 30px;
    font-size-adjust: initial;
    line-height: normal;
  }

  .tab button {
    height: 60px !important;
  }

  .tabcontent,
  .mision-vision {
    padding: 0px !important;
  }

}

.header-with-text .wrapper {
  z-index: 1;
}

#empresa section.cabezal {
  background-color: royalblue;
}

#empresa section.descripcion {
  width: var(--wrapperWidth);
  max-width: var(--wrapperMaxWidth);
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  max-height: inherit;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 5vw 0px;
}

#empresa section.descripcion>div>div {
  padding: 30px;
}

#empresa section.descripcion .destaque {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

#empresa section.descripcion .destaque>div {
  font-style: normal;
  font-weight: 500;
  /* font-weight: 400; */
  /* font-size: 35px; */
  font-size: 31px;
  line-height: 41px;
  color: #1F1C1C;
}

#empresa section.descripcion .destaque img {
  position: absolute;
  margin-left: -40px;
  margin-top: -32px;
  width: 60px;
  height: 60px;
}

/* .row {
  display: flex;
  flex-wrap: wrap;
}
.row > * {
  width: 100%;
  max-width: 100%;
}

.col {
  flex: 1 0 0%;
} */

#empresa .tecnologia {
  background-color: var(--color-base);
  color: white;
}

#empresa .crecer-junto {
  background-color: #000;
  overflow: hidden;
}

#empresa .crecer-junto>div {
  overflow-x: hidden;
}

/* Style the video: 100% width and height to cover the entire window */
#myVideo2 {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: 0;
}

/* Add some content at the bottom of the video/page */
.content {
  height: 100%;
  /* background: rgba(0, 0, 0, 0.5); */
  color: #f1f1f1;
  width: 100%;
  position: inherit;
  z-index: 3;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

/* Style the button used to pause/play the video */
#myBtn2 {
  width: 200px;
  font-size: 18px;
  padding: 10px;
  border: none;
  background: #000;
  color: #fff;
  cursor: pointer;
}

#myBtn:hover {
  background: #ddd;
  color: black;
}

#empresa section.tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
}

#empresa section.tabs .bg-image {
  background: url(/themes/gns/assets/images/empresa/forma.jpg);
  /* background-size: 150%; */
  background-position: top;
  background-attachment: fixed;
  /* background-repeat: no-repeat;
  background-size: cover; */
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100%;
}

#empresa section.tabs .bg-over {
  background-color: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
}

#empresa section.tabs .panel {
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  z-index: 1;
  /* align-content: flex-start; */
  /* padding: 50px 30px; */
  padding: 160px 30px;
  padding-bottom: calc(100px + 300px);
}

/* Style the tab */
.tab {
  overflow: hidden;
  width: 100%;
  -ms-flex-item-align: end;
  align-self: flex-end;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  position: relative;

  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 60px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  width: 50%;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row nowrap;
  flex-flow: row nowrap;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -ms-flex-pack: distribute;
  justify-content: space-around;

  font-family: Roboto;
  font-style: normal;
  /* font-weight: 500; */
  font-weight: 400;
  font-size: 36px;
  line-height: 19px;
  /* or 53% */

  letter-spacing: -0.3125px;
  color: #FFFFFF;
  height: 180px;
  margin-bottom: 20px;
}

.tab button .contenido {
  width: 100%;
  margin-top: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.3125px;
}

.tab button img {
  width: 50px;
}

@media all and (max-width: 700px) {

  .tab {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    margin: 0 auto;
  }

  .tab button .contenido {
    font-size: 20px;
    line-height: normal;
    -webkit-transition-delay: 0.5s;
    transition-delay: 0.5s;
    -webkit-transition-duration: 1.0s;
    transition-duration: 1.0s;
    margin-top: 5px;
  }

  .tab button hr {
    height: 5px !important;
  }

  .tab button img {
    width: 25px;
  }

  .tab button {
    height: 90px;
    padding: 10px;
    width: auto;
  }

  .tab button.active {
    border-radius: 10% 10% 0px 0px !important;
  }

  #empresa section.tabs .panel {
    padding: 60px 30px;
  }

  #empresa section.descripcion .destaque>div {
    line-height: 34px;
  }

  .tabcontent hr.small {
    margin-bottom: 0px !important;
  }
}

.tab button img {
  scroll-padding: 10px;
}

/* Create an active/current tablink class */
.tab button.active {
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(255, 51, 1, 0.3)), to(rgba(255, 51, 1, 0)));
  background: linear-gradient(360deg, rgba(255, 51, 1, 0.3) 0%, rgba(255, 51, 1, 0) 100%);
  border-radius: 50px 50px 0px 0px;
}

.tab button hr {
  background-color: rgba(0, 0, 0, 0.3);
  height: 7px;
  width: 100%;
  border-radius: 2.5px;
  position: absolute;
  bottom: -23px;
}

.tab button.active hr {
  background-color: var(--color-base);
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
}

/* Change background color of buttons on hover */
.tab button:hover hr {
  background-color: var(--color-base);
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
}


/* Style the tab content */
.tabcontent {
  display: none;
  border-top: none;
  -ms-flex-item-align: start;
  align-self: flex-start;
  width: 100%;
  padding: 60px 30px;
}

.tabcontent h3 {
  font-family: Roboto;
  font-style: normal;
  font-weight: bold;
  /* font-size: 36px; */
  font-size: 25px;
  line-height: 35px;
  letter-spacing: -0.5625px;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.tabcontent p {
  font-family: Roboto;
  font-style: normal;
  /* font-weight: bold;
  font-size: 24px; */
  font-weight: 300;
  font-size: 21px;
  line-height: 30px;
  letter-spacing: -0.5625px;
  color: #FFFFFF;
  max-width: 1000px;
}

.tabcontent hr.small {
  background: #FF3301;
  border-radius: 2.5px;
  height: 5px;
  width: 80px;
  margin-bottom: 100px;
  margin-left: 30px;
}

.tabcontent {
  -webkit-animation: fadeEffect 1s;
  animation: fadeEffect 1s;
  /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@-webkit-keyframes fadeEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: auto;
  max-width: calc(1350px - 60px);
  margin: 0 auto;
  border-radius: 20px;
  position: relative;
  padding: 100px 30px;
}

.section h1 {
  font-family: "Cookie";
  padding: 20px;
  margin: 15px;
  z-index: 1;
  opacity: 0.7;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 20px;
}

.section video {
  width: 100%;
}

.linea {
  position: absolute;
  bottom: 0;
  background-color: var(--color-base);
  height: 16px;
  /* width: calc(100% / 3.5); */
  width: 66%;
  max-width: 420px;
}

.content a {
  opacity: 0.9;
  border: 2px solid var(--color-contrast);
  border-radius: 25px;
  font-weight: 500;
  font-size: 14px;
  line-height: 70px;
  text-align: center;
  color: var(--color-contrast);
  padding: 10px 30px;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content a:hover {
  cursor: pointer;
  opacity: 1.0;
}

.content h3 {
  max-width: 420px;
  font-family: Roboto;
  font-style: normal;
  font-weight: bold;
  /* font-size: 27px; */
  font-size: 22px;
  line-height: 30px;
  color: white;
  margin-bottom: 60px;
}

.content p {
  font-size: 16px;
  line-height: 25px;
  letter-spacing: -0.28125px;
}

.hay {
  overflow: hidden;
  margin-top: -450px;
  padding: 110px;
}

.hay .icono {
  max-width: calc(1350px - 60px);
  margin: 0 auto;
  height: 100px;
  position: relative;
}

.hay .section>img {
  position: absolute;
  bottom: -75px;
  right: -74px;
  z-index: 1;
  width: 150px;
}

@media all and (max-width: 800px) {
  #empresa section.tabs .panel {
    padding-bottom: 200px;
  }
}

#empresa section.video {
  /* height: 100vh;
  position: sticky;
  display: flex;
  flex-flow: row wrap;

  background: black;
  border-radius: 20px;
  height: 70vh;
  max-width: 1350px;
  position: relative;
  top: -35vh;
  margin: 0 auto; */

  position: relative;
  width: 100%;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  overflow: hidden;
}

.video-container {
  /* height: 475px; */
  height: 100%;
  position: absolute;
  overflow: hidden;
}

.color-overlay {
  position: absolute;
  top: 0;
  left: 0;
  background-color: black;
  width: 100%;
  height: 100vh;
  opacity: 0.5;
  z-index: 1;
}

.video-container video {
  left: 50%;
  min-height: 100%;
  min-width: 100%;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 0;
}



section.video .linea {
  background: var(--color-base);
  border-radius: 2.5px;
  height: 15px;
  width: 65%;
  max-width: 420px;
  position: absolute;
  /* top: 0; */
  bottom: 0;
  margin-left: 10vw;
}

.wrapper {
  width: var(--wrapperWidth);
  max-width: var(--wrapperMaxWidth);
}

.accordion {
  color: white;
  background-color: inherit;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 20px;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  margin-bottom: 3px;
  border-bottom: 3px solid rgba(0, 0, 0, 0.3);
}

.accordion-active,
.accordion:hover {
  border-bottom: 3px solid var(--color-tint);
  border-radius: 10px 10px 0px 0px;
  /* box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3); */
}

button.accordion.active+.panel2 {
  overflow-y: scroll;
  max-height: 50vh;
}

.accordion:after {
  content: '\002B';
  color: white;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

button.accordion.active {
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(255, 51, 1, 0.3)), to(rgba(255, 51, 1, 0)));
  background: linear-gradient(360deg, rgba(255, 51, 1, 0.3) 0%, rgba(255, 51, 1, 0) 100%);
  border-radius: 10px 10px 0px 0px;
  border-bottom: 3px solid var(--color-base);
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
}

.accordion-active:after {
  content: "\2212";
}

.panel2 {
  padding: 0 18px;
  color: white;
  background-color: rgba(0, 0, 0, 0.3);
  max-height: 0;
  overflow: auto;
  -webkit-transition: max-height 0.2s ease-out;
  transition: max-height 0.2s ease-out;
  -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
}

.panel2 img {
  padding-top: 30px;
  padding-bottom: 20px;
}

.panel2 p {
  color: white;
  font-size: 15px;
  line-height: 20px;
  font-family: Roboto;
  font-weight: normal;
}

.mision-vision {
  max-height: 50vh;
  padding: 30px;
}

.mision-vision h4 {
  font-size: 26px;
  line-height: 0;
}

.tabcontent .mision-vision p {
  max-width: 100% !important;
}

.certificacion-iso {
  text-align: center;
  overflow-y: hidden !important;
}

.certificacion-iso img {
  max-width: 100%
}

@media all and (max-width: 1320px) {
  .video-container video {
    min-width: 120vh;
  }
}

@media all and (max-width: 1000px) {
  .hay .section>img {
    bottom: -40px;
    right: -40px;
    width: 80px;
  }

  .linea {
    height: 8px;
  }

  .test {
    padding-left: auto
  }

  .test h3 {
    margin-bottom: 0;
  }

  .section {
    height: auto;
    padding: 20px 10px;
  }

  .test button {
    height: auto;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .hay {
    padding: 40px 30px;
    -webkit-transition-delay: 0.5s;
    transition-delay: 0.5s;
    -webkit-transition-duration: 1.0s;
    transition-duration: 1.0s;
    margin-top: -200px;
  }

  .test {
    padding: 20px;
    margin: 15px;
    padding-left: 0;
  }

  .hay .section>img {
    display: none;
  }

  .empresa-btn,
  .empresa-btn a {
    width: 100% !important;
  }
}

@media (max-width: 377px) {
  .test a {
    padding: 10px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    height: 17px;
    width: 100%;
  }
}

#certificacionEnCalidadISO .modal-content {
  max-width: 800px;
  margin: 0 auto;
}

.btnModalContacto {
  display: none;
}

@media (min-width: 945px) {
  .hero .content .bg-color-mobil {
    margin-top: -230px;
  }
}

.hero .overlay {
  display: inline-block;
}