@font-face {
  font-family: 'Myriad Pro';
  src: url('../fonts/MYRIADPRO-BOLD.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


*{
  margin: 0;
  padding: 0;
}
body {
  border-left: 6em solid #747474;
  border-right: 6em solid #747474;
  background-color: white;
}  

.header-text {
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Myriad Pro', sans-serif;
  font-size: 13px;
}


header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 40px !important;
  background-color: white !important;
  flex-wrap: nowrap !important;
}

.logo,
.input-group,
.user {
  flex-grow: 1;
  flex-shrink: 0;
}

.input-group{
  flex-wrap: nowrap;
}

.logo img {
  height: 50px;
}

#example-search-input {
  border-color: #97a1ab;
  font-size: 14px;
  padding: 10px 20px;
}

.btn-outline-secondary {
  border-radius: 20px;
  border-color: #97a1ab;
  font-size: 14px;
  padding: 10px 20px;
}

.btn-outline-secondary:focus {
  box-shadow: none;
}

.fa-search {
  font-size: 18px !important;
  color: #012d5e;
}

.btn-outline-secondary:hover .fa-search {
  color: white;
}

.form-control:focus {
  outline: 0 !important;
  border-color: initial;
  box-shadow: none !important;
}

/*------------------------------------*/
.user{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: 2rem;
}

.user button {
  padding: 8px 16px;
  font-size: 16px;
  background-color: white;
  color: black;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 10px;
}

.user .cart {
  background-color: none;
}

.fa-shopping-cart{
  font-size: 35px !important;
  vertical-align: middle;
}

.user .login {
  background-color: none;
}

.fa-lock{
  font-size: 35px !important;
  vertical-align: middle;
}

.user .contact {
  font-family: 'Myriad Pro', sans-serif;
  font-size: 13px;
  display: flex;
  align-items: center;
}

.fa-envelope{
  padding-right: 15px;
  font-size: 25px !important;
  vertical-align: middle;
}

/*----------------NAV------------------*/
nav {
  background-color: #e4e4e4;
  width: 100%;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0;
}

li {
  margin: 1rem 0rem 1rem 0rem;
  padding: 0;
  border-right: 2px solid #7f7f7f;
  position: relative;
}

li:last-child{
  border-right: none;
}

a {
  color: #7f7f7f !important;
  text-decoration: none;
  padding: 16px;
}

a:hover {
  text-decoration: none !important;
  color: #6d6d6d !important;
}

.fa-chevron-down{
  color: #276CA2;
  margin-left: 8px;
}

/* Submenú */
ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 1;
}

ul li:hover > ul {
  display: inherit;
}

ul ul li {
  position: relative;
  background-color: #f6f6f6;
  border: none;
  margin: 0;
  padding: 6px;
}

ul ul li:first-child{
  margin-top: 16px;
}

ul ul li a{
  display: block;
}

nav ul ul li:hover a {
  color: #276CA2 !important;
}

ul ul ul {
  position: absolute;
  left: 100%;
  top:0;
}

/* Eliminar bordes del último nivel de submenú */
ul ul li:last-child {
  border-bottom: none;
}

/* Ajustar el padding del enlace de nivel inferior */
ul ul li a {
  padding: 12px;
  color: #7f7f7f !important;
}

ul ul li a:hover {
  color: #6d6d6d !important;
}

/*---------------SLIDER------------------*/

.slider {
  position: relative;
  width: 100%;
  max-width: 1855px;
  margin: 0 auto;
  overflow: hidden;
}

.slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider-container img {
  max-width: 100%;
  height: auto;
}

.prev-button,
.next-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: #fff;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1;
}

.prev-button {
  left: 10px;
}

.next-button {
  right: 10px;
}

.slider-container:first-of-type .prev-button,
.slider-container:last-of-type .next-button {
  display: none;
}

/*--------------SECCION TITLE----------------*/

.title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 0;
}

.line {
  width: 350px;
  height: 2px;
  background-color: black;
  margin: 0 10px;
}

h3 {
  font-size: 24px;
  font-weight: normal !important;
}

/*----------------------CARDS---------------------*/
.container{
  text-align: center;
}

.card {
  display: inline-block !important;
  margin: 10px 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-align: center;
}

.card img {
  max-width: 200px;
  height: auto;
  margin-bottom: 10px;
}

.card h2 {
  font-size: 1.2em;
  margin: 0;
  margin-bottom: 5px;
}

.card p {
  font-size: 1em;
  margin: 0;
  margin-bottom: 10px;
}

.card button {
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: #fff;
  font-size: 1em;
  cursor: pointer;
}
/*------------------FOOTER-------------------*/
footer {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  background-color: #005EA9;
  padding: 40px;
  margin-top: 50px;
}

.footer-column {
  width: 23%;
  text-align: left;
}

.footer-column h4 {
  color: white;
  font-size: 20px;
  margin-bottom: 0px;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column ul li {
  margin-bottom: 0px;
  border: 0px solid black;
}

.footer-column ul li a {
  color: #e2e2e2 !important;
  text-decoration: none;
  font-size: 16px !important;
}

.footer-column ul li a:hover{
  color: white !important;
}

.social-icons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 60%;
  margin: 0 auto;
  padding: 0;
}

.social-icons li {
  margin: 20px 5px;
  list-style: none;
}

.social-icons li a {
  font-size: 24px !important;
  text-decoration: none;
}

.map-responsive {
  overflow: hidden;
  padding-bottom: 100%;
  position: relative;
  height: 0;
}

.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  margin: 0px;
}

.footer-column.payment-column {
  width: 100%;
  text-align: center;
}

.payment-icons {
  display: flex;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.payment-icons li {
  margin: 15px 10px;
}

.payment-icons li i {
  color: white;
  font-size: 44px !important;
}




/* Modificaciones */
.input-group {
  width: 300px !important;
}

@media only screen and (max-width: 1223px) {
  .input-group {
    width: 100% !important;
  }
  .text-center {
    display: none !important;
  }
  .title {
    margin: 15px 0;
  }
  .line {
    width: 275px;
  }
  h3 {
    font-size: 25px !important;
  }
}

@media only screen and (max-width: 1076px) {
  .line {
    width: 200px;
  }
  h3 {
    font-size: 20px !important;
  }
  .logo img {
    height: 35px;
  }
  .fa-chevron-down{
    margin-left: 5px !important;
  }
  .footer-column ul li a {
    font-size: 14px !important;
  }
  .footer-column h4 {
    font-size: 18px;
  }
}
