@import "iconos.css";
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root{
    --width:300px;
    --padding:10px;
    --bgcolor:#343434;
    --hovercolor:#f4af26;
    --width-collapsed:50px;
  }
body {
    font-family: League Spartan, sans-serif;
    font-size: 18px;
    padding: 0;
    margin: 0;
    margin-left: var(--width-collapsed);
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: margin-left .8s;
}
.body-expanded {
  margin-left: var(--width);
}
header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #fff 100px,#f4af26 );
    padding: 10px 20px;
    color: #000;
    border-bottom: solid 1px #343434 ;
    
    transition: height .8s;
}


main{
    margin-bottom: 60px;
}
#contenido{
  display: flex;
  flex-direction: column;

}
.filtro{
  display:flex;
  justify-content:space-around;
  border-bottom: 1px solid #ccc;
}
.filtro p{
  cursor: pointer;
}
.filtro p:hover, .filtro .activo{
  color: #343434;
}
.form-register{
  display: flex;
    flex-direction: column;
    width: 250px;
    padding: 30px;
    margin: auto;
    margin-bottom: 20px;
    border-radius: 4px;
    font-family: 'calibri';
    border: 1px solid #000;
}
.form-register img{
  width: 75px;
  height: 75px;
  margin: auto;
}

.form-register .imgcarga{
  width: 30px;
  height: 30px;
  margin: auto;
}
.form-register h4 {
  font-size: 22px;
}
.margen{
  margin-top: 10px;
}
.controls {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #24303c;
  font-family: 'calibri';
  font-size: 18px;
}

.form-register p {
  text-align: center;
  font-size: 18px;
  line-height: 40px;
}


.form-register a {
  color: white;
  text-decoration: none;
}

.form-register a:hover {
  color: white;
  text-decoration: underline;
}

.form-register .botons {
  width: 100%;
  background: #24303c;
  cursor: pointer;
  border: none;
  text-align: center;
  padding: 12px;
  color: white;
  margin: 16px 0;
  font-size: 20px;
}
.mensaje-error,.mensaje-corrector{
  display: none;
}

.mensajesolicitud{
  width: 100%;
  text-align: center;
}
.carga{
    margin: auto;
    width: 50px;
    height: 50px;
}
#paisorigen,#paisdestino{
  overflow: hidden;
  height: 50px;
  z-index: 0;
}
#paisorigen div,#paisdestino div{
  
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
  background-color: #fff;
  z-index: 100;
}
.imgcarga{
  display: none;
}
tasas{
    overflow: auto;
    display:flex;
    flex-direction: row;
    margin: auto;
    justify-content: space-around;
    border-bottom: 1px solid #343434;
    background-color: #fff;
    z-index: 100000;
    top:0;
    
}
tasas::-webkit-scrollbar {
    width: 8px;     /* Tamaño del scroll en vertical */
    height: 8px;    /* Tamaño del scroll en horizontal */
    display: none;  /* Ocultar scroll */
  }
tasa{
    display: flex;
    margin: 5px 15px;
}

 img{
    width: 45px;
    height: 45px;
}

tasa precios{
    display: flex;
    flex-direction: column;
    font-size: 12px;
    justify-content: space-around;
    margin: 5px;
    font-family: "Lucida Console", sans-serif;;
}
tasa venta,tasa compra{
    display: flex;
    flex-direction: row;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    margin-right: auto;
    display: flex;

}

.logo img{
    width: 75px;
    height: 75px;
}
.logo div{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo .nombre{
    font-size: 20px;
}
.logo .eslogan{
    font-weight: normal;
    font-size: 15px;
    
}
nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;

}

nav ul li a {
    color: #004aad;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
}

nav ul li a:hover{
    background-color: #60cd3b;
}

.search-bar {
    display: flex;
    margin-top: 10px;
}

.search-bar input {
    padding: 5px;
    border: none;
    border-radius: 5px;
    margin: 10px;
}

.search-bar button {
    padding: 5px 10px;
    border: none;
    background-color: white;
    color: #3c84fb;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px;
}
#sidemenu{
    background-color: var(--bgcolor);
    color: white;
    position: fixed;
    height: 100%;
    left: 0;
    z-index: 100;
    overflow: scroll;
  }
  #sidemenu a{
    color: white;
    text-decoration: none;
  }
  /*HEADER*/
  #sidemenu #header{
    box-sizing: border-box;
    display: flex;
    justify-content: space-around;
  }
  #sidemenu #header #title{
    box-sizing: middle;
    overflow: hidden;
    
    padding: 10px
  }
  #sidemenu #header #title,#sidemenu #header #menu-btn{
    vertical-align: middle;
  }
  #sidemenu #header #menu-btn{
    display: inline-block;
  }
  #sidemenu #header #menu-btn{
    cursor: pointer;
    padding: 10px;
    box-sizing: border-box;
  }
  
  #sidemenu #header #menu-btn .icono-menu{
    color: white;
    width: 50px;
    height: 50px;
  }
  /*profile*/
  #sidemenu #profile{
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
  }
  #sidemenu #profile #photo{
    box-sizing: border-box;
    margin:  0 auto;
  }
  #sidemenu #profile img{
    border-radius: 50%;
  }
  #sidemenu #profile #photo, #sidemenu #profile #name{
    overflow: hidden;
  }
  /*item*/
  #sidemenu #menu-items{
    overflow: hidden;
  }
  #sidemenu #menu-items .item{
    display: inline-block;
    width: 100%;
    border-top: solid 1px;
    border-bottom: solid 1px;
    padding: 5px 0;
    cursor: pointer;
  }
  #sidemenu #menu-items .item .icon,
  #sidemenu #menu-items .item .title{ 
    font-size: 14px;
    vertical-align: middle;
    overflow: hidden;
  }
  #sidemenu #menu-items .item a{
    display: flex;
    justify-content: space-between;
  }
  
  #sidemenu #menu-items .item .icon{
    box-sizing: border-box;
    transform: translateX(10px);
  }
  #sidemenu #menu-items .item .icon i{
    width: 100%;
    font-size: 30px;
  }
  #sidemenu #menu-items .item .title{
    padding: var(--padding) 0;
    transform: translateX(-20px);
  }
  
  #sidemenu::-webkit-scrollbar {
    width: 8px;     /* Tamaño del scroll en vertical */
    height: 8px;    /* Tamaño del scroll en horizontal */
    display: none;  /* Ocultar scroll */
  }
  
  
  
  #sidemenu::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
  }
  .menu-expanded{
    width: var(--width);
    transition: width .8s;
  }
  .menu-expanded #header #title span{
    width: cal(var(--width) - var(--width-collapsed) - 5px);
    overflow: hidden; 
    display: flex;
    justify-content: space-around;
  }
  #profile{
    display: none;
  }
  .menu-expanded #profile img{
    
    width: 100px;
    height: 100px;
  }
  .menu-expanded #profile #name{
    width: 100%;
  }
  .menu-collapsed{
    width: var(--width-collapsed);
    
    transition: width .8s;
  }
  .menu-collapsed #menu-items .item .title{
    display: none;
  }
  .menu-collapsed #header #title{
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    display: none;
  }
  .menu-collapsed #profile img {
    width: 50px;
    height: 50px;
  }
  .menu-collapsed #profile #name {
    
    display: none;
  }
  .menu-collapsed .item{
    width: 100px;
  }

.icono-derecha{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
 }

 tasapaises{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
 }
 ul {
  padding: 10px;
  list-style: none;
  display: flex;
  flex-direction: column;
}

ul li{
  padding: 10px;
  display: flex;
  flex-direction: row;
 
  border-bottom: 1px solid #ccc;
}
li *{
  margin-right: 30px;
}
.banner {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.banner h2 {
    margin-bottom: 20px;
}

.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.product {
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    width: 150px;
    text-align: center;
}

.product img {
    max-width: 100%;
    border-radius: 5px;
}
.contact-form {
    padding: 20px;
    text-align: center;
}

.contact-form h2 {
    margin-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form label {
    margin: 10px 0 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    max-width: 300px;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    padding: 10px 15px;
    border: none;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.selectormenu{
  position:absolute; 
  width: 10px;
  height: 10px; 
  border-radius: 50%;
  right: 2px; 
  background-color: aliceblue;
  transform: translateY(-42px);
}
.contenido-imagen{
  width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    height: 100%;
    display: flex;
    z-index: 1000;
}
paises{
  position: fixed;
  display: flex;
  flex-direction: column;
  margin: auto;
  width: 200px;
  justify-content: space-around;
  height: 50px;
  overflow-y: hidden;
  background-color: #fff;
  padding: 10px;
  z-index: 1;
}
.desplegar{
  
  transition: height .8s;
}
paises::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  display: none;
}
pais{
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 1px solid #ccc;
}
pais i{
 cursor: pointer;
}
footer {
    position: fixed;
    bottom: 0;
    text-align: center;
    padding: 10px;
    background-color: #f1f1f1;
    width: 100%;
}

/* Media Queries */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        margin: 5px 0;
    }

    .search-bar {
        width: 100%;
        margin-top: 10px;
    }

    .search-bar input {
        width: calc(100% - 80px);
    }

    .search-bar button {
        width: 70px;
    }

    .product {
        width: 100%;
        max-width: 200px; /* Ajuste para pantallas más pequeñas */
    }
}