/* -------------------------------------------------------------------------  */
/*  ------------- Global Styles ------------- */
/* -------------------------------------------------------------------------  */
* {
  padding: 0px;
  margin: 0px;
}

body {
  /* display: grid; */
  font-family: "Open Sans", sans-serif;
  height: 100vh;
  width: 100vw;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-color: white;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  text-transform: none;
  color: white;
  font-weight: 400;
  font-size: 17px;
  font-family: "Ubuntu", sans-serif;
  width: 100%;
  height: 100%;
  text-align: center;
  display: block;
}

p {
  color: #0a214eeb;
}
/* -------------------------------------------------------------------------  */
/*  ------------- Important Message Styles ------------- */
/* -------------------------------------------------------------------------  */

#overlay-important-message {
  display: flex;
  position: fixed;
  background-color: #4444448a;
  width: 100%;
  height: 100%;
  justify-items: center;
  justify-content: center;
  z-index: 9999;
}

.hidden {
  display: none !important;
}

#window-important-message {
  display: grid;
  padding: 2rem;
  color: #0a214eeb;
  align-self: center;
  font-size: 1rem;
  width: 600px;
  height: auto;
  background-color: white;
}
#window-important-message p {
  margin-top: 1rem;
}

#message-button {
  margin-top: 1rem;
  height: 35px;
  color: white;
  background-color: #425896;
  border-style: none;
  border-radius: 6px;
  transition-duration: 1s;
}
#message-button:hover {
  transition-property: background-color;
  background-color: #2b489b;
}

/* -------------------------------------------------------------------------  */
/*  ------------- Header Links Styles ------------- */
/* -------------------------------------------------------------------------  */
#toggle:checked + .header-container .res {
  display: block;
}

.header-res {
  display: none;
}

.header-li {
  height: 100%;
  width: 100%;
  /* position: relative;
  top: 40%; */
}

.header-li a {
  height: 75px;
  line-height: 78px;
}

.header-container {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 0.3fr repeat(7, 1fr);
  align-items: center;
  justify-items: center;
  box-sizing: border-box;
  background-color: #2873b6;
  width: 100%;
  height: auto;
  -webkit-box-shadow: 0px 0px 5px 0px #425896;
  box-shadow: 0px 0px 5px 0px #425896;
  position: relative;
  z-index: 1;
}

.header-container a {
  transition-duration: 1s;
}

.header-container .res a:hover {
  transition-duration: 0.7s;
  color: #2873b6;
  transition-property: background-color, color;
  transition-timing-function: ease;
  background-color: lightblue;
}

.header-space {
  width: 100%;
  background: white;
  height: 100%;
}

.icon-farcorpe-container {
  height: 100%;
  width: 100%;
  max-height: 75px;
  transform: skew(-12deg, 0deg);
  -webkit-transform: skew(-12deg, 0deg);
  -moz-transform: skew(-12deg, 0deg);
  -ms-transform: skew(-12deg, 0deg);
  transform-origin: 0 35%;
  background: #fff;
  background-size: contain;
  content: "";
  position: static;
  top: 0;
  left: -8;
  z-index: 1;
  border-right: 20px solid white;
}

.icon-farcorpe-container::after {
  background: #bc0622;
  height: 100%;
  width: 7px;
  content: "";
  position: absolute;
  top: 0px;
  right: -27px;
  z-index: 1;
  transform: skew(-12deg, 0deg);
  -webkit-transform: skew(1deg, 0deg);
  -moz-transform: skew(1deg, 0deg);
  -ms-transform: skew(1deg, 0deg);
  transform-origin: 39px 249%;
}

.icon-farcorpe-container a {
  width: 100%;
  height: 100%;
}

.icon-farcorpe-container a img {
  width: 160px;
  height: 36px;
  transform: skew(12deg, 0deg);
  -webkit-transform: skew(12deg, 0deg);
  -moz-transform: skew(12deg, 0deg);
  -ms-transform: skew(12deg, 0deg);
  transform-origin: 0px 0%;
  position: relative;
  top: 15px;
}

label {
  margin: 0 40px 0 0;
  font-size: 26px;
  line-height: 70px;
  display: none;
  color: #7289c2;
}

#toggle {
  display: none;
}

.home-link {
  grid-column-start: 3;
  grid-column-end: 4;
}

.about-us-link {
  grid-column-start: 4;
  grid-column-end: 5;
}

.ultrab-link {
  grid-column-start: 5;
  grid-column-end: 6;
}

.medicaments-link {
  grid-column-start: 6;
  grid-column-end: 7;
}

.active-ingredients-link {
  grid-column-start: 7;
  grid-column-end: 8;
}

.contact-link {
  grid-column-start: 8;
  grid-column-end: 9;
}

/* -------------------------------------------------------------------------  */
/* Hero styles */
/* -------------------------------------------------------------------------  */
.hero-container {
  display: grid;
  grid-template-columns: 60% 40%;
  grid-template-rows: calc(100vh - 75px);
}

.hero {
  display: grid;
  align-content: center;
  grid-template-columns: 10% 80% 10%;
  margin: 4% 0 4% 0;
  grid-column: 1/2;
  grid-row: 1/2;
}

.page {
  /* width: 100vw; */
  /* height: calc(100vh - 75px); */
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  grid-column: 2/3;
}
.page .header {
  width: 100vw;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #171717;
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.5);
}
.page .header__title {
  color: #ffce00;
  font-size: 28px;
  font-weight: 900;
}
.page .header__title span {
  font-weight: 300;
}
.page .main {
  flex: 1;
  overflow: hidden;
}
.page .main .slider {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100% !important;
}
.page .main .slider__slide {
  position: absolute;
  transform: translateY(-100%);
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  transition: transform 0.5s ease-in-out, opacity 0.5s linear;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}
.page .main .slider__slide .slider__content {
  position: absolute;
  width: 100%;
  max-width: 600px;
  top: 0px;
  padding: 15px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.35);
  transition: transform 0.2s linear 0.5s;
  transform: translateX(-100%);
  color: #f3f3f3;
}
@media only screen and (min-width: 600px) {
  .page .main .slider__slide .slider__content {
    border-radius: 0px 0px 50px 0px;
  }
}
.page .main .slider__slide .slider__content .slider__title span {
  display: block;
  font-weight: 300;
}
.page .main .slider__slide.active {
  opacity: 1;
  transform: translateY(0%);
}
.page .main .slider__slide.active .slider__content {
  transform: translateX(0%);
}
.page .main .slider__btns {
  position: absolute;
  z-index: 999;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  opacity: 0;
  transition: all 0.2s linear, color 0.2s ease-out;
}
.page .main .slider__btns .slider__btn {
  width: 35px;
  height: 35px;
  color: #2873b6;
  font-size: 20px;
  line-height: 35px;
  text-align: center;
  font-weight: 300;
  border-radius: 50%;
  background: none;
  border: 1px solid #2873b6;
  cursor: pointer;
  transition: background 0.2s linear, color 0.2s ease-out;
}
.page .main .slider__btns .slider__btn:hover {
  background: #2873b6;
  color: #171717;
}
.page .footer {
  width: 100vw;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #171717;
  color: #f3f3f3;
}

.hero-p1 {
  grid-column: 2/3;
  font-weight: bold;
  color: #2873b6;
  font-family: "Open sans", sans-serif;
  font-size: 21px;
  padding-bottom: 3%;
}

.hero-p2 {
  grid-column: 2/3;
  font-size: 20px;
  font-family: "Open sans", sans-serif;
  padding-bottom: 3%;
}

.hero-p3 {
  grid-column: 2/3;
  font-size: 20px;
  font-family: "Open sans", sans-serif;
  padding-bottom: 3%;
}

/* -------------------------------------------------------------------------  */
/* Footer styles */
/* -------------------------------------------------------------------------  */
.footer {
  display: grid;
  grid-template-columns: 4% 46% 46% 4%;
  grid-template-rows: 1fr repeat(4, auto);
  background-color: #bc0622;
  color: white;
  /* #bd1932; */
  -webkit-box-shadow: 0px 0px 13px -5px #545252;
  box-shadow: 0px 0px 13px -5px #545252;
}

.footer .f-contact-info .f-mail-container .f-mail a {
  font-family: "Open sans", sans-serif;
  text-decoration: underline;
  text-transform: none;
  color: white;
  font-weight: 400;
  font-size: 17px;
  width: 100%;
  height: 100%;
  text-align: initial;
  display: initial;
}

.f-barrier-hero {
  grid-area: 1/1/1/5;
  background-color: none;
  padding: 10px;
}

.f-column-left {
  grid-area: 1/1/5/2;
  padding: 10px;
}

.f-title {
  justify-self: center;
  align-self: center;
  grid-column: 2/4;
  padding-top: 1.5%;
  padding-bottom: 1.5%;
}

.f-title h1 {
  font-weight: 600;
  font-size: larger;
  font-display: "", sans-serif;
}

.f-contact-info {
  grid-area: 2/2/6/4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 4%;
}

.f-icon {
  display: flex;
  width: 70px;
  height: 55px;
  align-self: center;
  justify-self: self-end;
}

.f-adress-container {
  grid-column: 1/2;
  display: grid;
  grid-template-columns: 30% 70%;
}

.f-address {
  grid-column: 2/3;
  align-self: center;
  padding-top: 5px;
  padding-bottom: 5px;
  font-style: normal;
  font-size: 1em;
}

.f-tel-container {
  grid-column: 2/3;
  display: grid;
  grid-template-columns: 30% 70%;
}

.f-tel {
  grid-column: 2/2;
  align-self: center;
  padding-top: 1%;
  padding-bottom: 3%;
}

.f-mail-container {
  grid-column: 3/4;
  display: grid;
  grid-template-columns: 30% 70%;
}

.f-mail {
  grid-column: 2/2;
  align-self: center;
  padding-top: 1%;
  padding-bottom: 3%;
}

.f-rights {
  grid-area: 7/1/8/5;
  align-self: center;
  justify-self: center;
  font-size: 1em;
  border-top: 1px solid white;
  width: 100%;
  text-align: center;
}

.f-rights a {
  color: white;
  text-decoration: underline;
  font-size: 1em;
  display: initial;
  font-family: "Open sans", sans-serif;
  font-weight: bold;
}

.f-rights a:hover {
  color: lightblue;
}

.footer-google-map {
  grid-area: 6/1/7/5;
  width: 100%;
  height: 400px;
}

/* -------------------------------------------------------------------------  */
/* Media styles */
/* -------------------------------------------------------------------------  */
/* Responsive iPad */
@media screen and (max-width: 950px) {
  .hero-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .page {
    grid-column: 1/2;
    grid-row: 1/2;
  }
  .hero {
    grid-column: 1/2;
    grid-row: 2/3;
  }

  .res {
    border-bottom: 1px solid lightgray;
  }

  .header-res {
    display: grid;
    grid-template-columns: 0.25fr repeat(3, 1fr);
    grid-template-rows: 1fr;
    border-bottom: 1px solid lightgray;
  }

  .icon-farcorpe-res {
    display: grid;
    width: 180px;
    height: 39px;
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
    color: #222;
    align-self: center;
    padding-bottom: 13.5px;
  }

  .header-container {
    display: grid;
    align-items: center;
    justify-items: center;
    box-sizing: border-box;
    background-color: white;
    height: auto;
    -webkit-box-shadow: 0px 0px 0px 0px #fff;
    box-shadow: 0px 0px 0px 0px #fff;
  }

  .header-container a {
    display: block;
    text-align: center;
    text-decoration: none;
    text-decoration-style: none;
    text-transform: none;
    color: #7289c2;
    font-weight: 400;
    font-size: 25px;
    font-family: "Varela Round", sans-serif;
    width: 100%;
    height: 100%;
    margin: 4px;
  }

  .icon-farcorpe-container {
    display: none;
  }

  .icon-farcorpe-container {
    min-width: 140px;
    max-width: 280px;
  }

  label {
    display: block;
    cursor: pointer;
    grid-area: 1/5/1/5;
  }

  .home-link {
    grid-column-start: 1;
    grid-column-end: 9;
    grid-row-start: 2;
    grid-row-end: 3;
    width: 100%;
    height: 100%;
    display: none;
  }

  .about-us-link {
    grid-column-start: 1;
    grid-column-end: 9;
    grid-row-start: 3;
    grid-row-end: 4;
    width: 100%;
    height: 100%;
    display: none;
  }

  .ultrab-link {
    grid-column-start: 1;
    grid-column-end: 9;
    grid-row-start: 5;
    grid-row-end: 6;
    width: 100%;
    height: 100%;
    display: none;
  }

  .medicaments-link {
    grid-column-start: 1;
    grid-column-end: 9;
    grid-row-start: 6;
    grid-row-end: 7;
    width: 100%;
    height: 100%;
    display: none;
  }

  .active-ingredients-link {
    grid-column-start: 1;
    grid-column-end: 9;
    grid-row-start: 7;
    grid-row-end: 8;
    width: 100%;
    height: 100%;
    display: none;
  }

  .contact-link {
    grid-column-start: 1;
    grid-column-end: 9;
    grid-row-start: 8;
    grid-row-end: 9;
    width: 100%;
    height: 100%;
    display: none;
  }

  /* hero */
  #hero-image {
    display: none;
  }

  #hero-image-responsive {
    display: initial;
  }

  /* footer */
  .f-adress-container {
    grid-template-rows: 40% 60%;
  }

  .f-icon {
    grid-row: 1/2;
    grid-column: 1/3;
    justify-self: center;
  }

  .f-address {
    grid-row: 2/3;
    grid-column: 1/3;
    justify-self: center;
    align-self: center;
  }

  .f-tel-container {
    grid-template-rows: 40% 60%;
  }

  .f-tel {
    grid-row: 2/3;
    grid-column: 1/3;
    justify-self: center;
  }

  .f-mail-container {
    grid-template-rows: 40% 60%;
  }

  .f-mail {
    grid-row: 2/3;
    grid-column: 1/3;
    justify-self: center;
  }
}

/* Responsive Movil */
@media screen and (max-width: 767px) {
  /* Hero*/
  /* Footer */
  .f-title {
    padding-top: 5%;
    padding-bottom: 5%;
    padding-left: 30%;
    justify-self: initial;
  }

  .f-contact-info {
    grid-template-rows: repeat(3, 1fr);
    grid-row: 2/4;
    padding-bottom: 0%;
  }

  .f-icon {
    grid-row: 1/3;
    grid-column: 1/2;
  }

  .f-adress-container {
    grid-column: 1/4;
    grid-row: 1/2;
  }

  .f-address {
    grid-column: 2/3;
    grid-row: 1/3;
    justify-self: flex-start;
  }

  .f-tel-container {
    grid-column: 1/4;
    grid-row: ;
  }

  .f-tel {
    grid-column: 2/3;
    grid-row: 1/3;
    justify-self: flex-start;
  }

  .f-mail-container {
    grid-column: 1/4;
    grid-row: ;
  }

  .f-mail {
    grid-column: 2/3;
    grid-row: 1/3;
    justify-self: flex-start;
  }
}

@media screen and (max-width: 1000px) {
  .page .main .slider__slide {
    background-repeat: no-repeat;
    background-size: contain;
  }

  .f-title {
    padding-top: 40px;
    padding-bottom: 10%;
    padding-left: auto;
    padding-right: auto;
  }

  .f-icon {
    width: 60px;
    height: 45px;
  }
}

@media screen and (max-width: 344px) {
  #overlay-important-message {
    max-height: 100%;
    width: 100vw;
    overflow: scroll;
  }

  .f-title {
    align-self: center;
    text-justify: center;
    padding-bottom: 5%;
  }

  .f-adress-container {
    grid-column: 1/4;
    grid-row: 1/2;
  }

  .f-tel-container {
    grid-column: 1/4;
    grid-row: 2/3;
  }

  .f-mail-container {
    grid-column: 1/4;
    grid-row: 3/4;
  }
}

/* -------------------------------------------------------------------------  */
/*  Animations */
/* -------------------------------------------------------------------------  */
.show {
  opacity: 1 !important;
}

/* hero */
.menu-interactive {
  animation-duration: 1s;
  animation-name: menu-interactive-animation;
  animation-fill-mode: forwards;
}

@keyframes menu-interactive-animation {
  from {
    transform: translateX(-15%);
    opacity: 0;
  }

  to {
    transform: translateX(0%);
    opacity: 1;
  }
}

#modalContainer {
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  z-index: 10000;
  background-image: url(tp.png); /* required by MSIE to prevent actions on lower z-index elements */
}

#alertBox {
  position: relative;
  width: 300px;
  min-height: 100px;
  margin-top: 50px;
  border: 1px solid #666;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: 20px 30px;
}

#modalContainer > #alertBox {
  position: fixed;
}

#alertBox h1 {
  margin: 0;
  font: bold 0.9em verdana, arial;
  background-color: #3073bb;
  color: #fff;
  border-bottom: 1px solid #000;
  padding: 2px 0 2px 5px;
}

#alertBox p {
  font: 0.7em verdana, arial;
  height: auto;
  padding-left: 10px;
  padding-left: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
}

#alertBox #closeBtn {
  display: block;
  position: relative;
  margin: 5px auto;
  padding: 7px;
  border: 0 none;
  width: 70px;
  font: 0.7em verdana, arial;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  background-color: #357ebd;
  border-radius: 3px;
  text-decoration: none;
}

/* unrelated styles */

#mContainer {
  position: relative;
  width: 600px;
  margin: auto;
  padding: 5px;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  font: 0.7em verdana, arial;
}

h1,
h2 {
  margin: 0;
  padding: 4px;
  font: bold 1.5em verdana;
  border-bottom: 1px solid #000;
}

code {
  font-size: 1.2em;
  color: #069;
}

#credits {
  position: relative;
  margin: 25px auto 0px auto;
  width: 350px;
  font: 0.7em verdana;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  height: 90px;
  padding-top: 4px;
}

#credits img {
  float: left;
  margin: 5px 10px 5px 0px;
  border: 1px solid #000000;
  width: 80px;
  height: 79px;
}

.important {
  background-color: #f5fcc8;
  padding: 2px;
}

code span {
  color: green;
}
