header{
	background: rgba(255, 255, 255, 1);
	padding:58px 0;
}
.header{
	display: flex;
	justify-content: space-between;
	align-items:center;
}
.header__menu>ul{
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.header__menu>ul>.menu-item{
	margin: 0px 5px;
    padding: 10px 15px;
	border-radius: 30px;
	border:solid 5px transparent;
	transition: all .3s;
}
.header__menu>ul>li:hover{
	border:solid 5px rgba(10, 221, 196, 1);
}
.header__menu>ul>.menu-item>a{
	font-size: 18px;
	font-weight: 800;
	color:rgba(0, 0, 0, 1);
}
.header__search{
	width: 335px;
	height: 55px;
	background: rgba(5, 130, 138, 1);
	border-radius: 55px;
	display: flex;
	align-items: center;
	padding:5px 10px 5px 15px;
}
.header__logo{
	margin-left:45px;
}
.header__search-box{
	color:#fff;
	font-size: 14px;
	font-weight: 700;
	display: flex;
	align-items: center;
}
.header__search-box input{
	background: rgba(5, 130, 138, 1);
	color:rgba(255, 255, 255, 1);
	text-transform: uppercase;
	font-weight: 700;
	padding:10px 5px;
}
.header__search-box input::placeholder {
  color:rgba(255, 255, 255, 1);
  font-weight: 700;
}
.header__search-box img{
	width: 12px;
}
.header__btn-contact{
	background: rgba(10, 221, 196, 1);
	height: 44px;
	width: 176px;
	border-radius: 44px;
	color:rgba(255, 255, 255, 1);
	font-size: 11px;
	text-transform: uppercase;
	display: flex;
	justify-content: center;
	align-items: center;
}
.header__open, .header__close{
	display: none;
}
.header__btn-contact-mob{
	display: none;
}
.header__search-img-mob{
	display: none;
}
.header__mob{
	display: none;
}
.header__open-close{
	display: none;
}
.header__menu>ul>.menu-item{
	position: relative;
}
.sub-menu{
	display:flex;
	gap:20px;
    width: max-content;
	position: absolute;
	top:45px;
	left:0px;
	visibility: hidden;
    opacity: 0;
    background: rgba(255, 255, 255, 1);
    border-radius: 30px;
    padding: 20px 15px;
    transition: all .5s;
	z-index:9999;
}
.header__menu>ul>.menu-item:hover .sub-menu{
	visibility: visible;
    opacity: 1;
}	
.sub-menu .sub-menu-title>a{
	font-size: 18px;
	color: rgba(0, 0, 0, 1);
	font-weight: 800;
}
.sub-menu .sub-menu-title>a:hover{
	text-decoration: unset;
}
.sub-menu>li>a, .menu-section li>a{
	font-size: 14px!important;
	font-weight: 400;	
	color:rgba(0, 0, 0, 1);
	padding: 5px 0;
}
.sub-menu>li>a:hover, .menu-section li>a:hover{
	text-decoration: underline;
}
.alert_block{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, .5);
    overflow: auto;
    z-index: 999999999999999999;
}
.alert_thank{
    max-width: 700px;
    width: 100%;
    min-height: 70px;
    margin: 15px;
    position: relative;
    background: #FFFFFF;
    box-shadow: 0px -3px 26px 23px rgba(0, 0, 0, 0.06);
    border-radius: 6px;
}
.alert_thank-content{
    padding: 30px;
	text-align:center;
}
.alert_thank-content p{
	margin-bottom:15px; 
	font-weight:700;
}
.alert_thank-close{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    z-index: 999;
}
.alert_thank-close:before,.alert_thank-close:after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    margin: auto;
    background-color: rgb(0, 0, 0);
}
.alert_thank-close:before{
    width: 15px;
    height: 2px;
}
.alert_thank-close:after{
    width: 2px;
    height: 15px;
}
.error{
	border:solid 1px red!important;
}
.header__menu-desctop{
	margin-left:150px;
}
/* Menu header */
.menu-item-420 .sub-menu{
	display:flex; 
	flex-direction:column;
}

@media only screen and (max-width: 1670px) {
	.header__menu>ul>.menu-item a{
		font-size: 16px;
	}
	.header__menu-desctop{
		margin-left:0px;
	}
}
@media only screen and (max-width: 1200px) {
  	.header__menu>ul>.menu-item{
  		padding: 10px 5px;
  	}
  	.header__search{
  		width: 220px;
  	}
  	.header__search-box{
  		max-width: 100px;
  	}
  	.header__btn-contact{
  		font-size: 10px;
  	}
  	.header__menu>ul>.menu-item a {
	    font-size: 13px;
		}
		.header__logo{
			max-width: 160px;
		}
		header{
				padding: 30px 0;
		}
}
@media only screen and (max-width: 992px) {
    .menu>li:first-child:before{
        display:none;
    }
    .menu>li:hover{
        border: none!important;
    }
	.active .sub-menu{
	    display:flex!important;
		visibility: visible;
    	opacity: 1;
	}
	.active:before{
	    rotate: 180deg;
	}
	.header__menu-desctop, .header__btn-contact-desctop{
		display: none;
	}
	.header__btn-contact-mob, .header__open {
		display: block;
	}
	.header{
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
	}
	.header__open{
		width: 25px;
	}
	.header__close{
		width: 25px;
	}
	.header__search{
		width: 100%;
	}
	.header__search{
		height: 45px;
		justify-content: space-around;
	}
	.header__search-box{
		max-width: 100%;
	}
	.header__mob{
		position: absolute;
		width: 100%;
		height: auto;
		top:140px;
		left:0px;
		background: #fff;
		z-index: 999;
		padding:30px 0;
	}
	.header__menu>ul{
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		margin: 0 20px;
	}
	.header__menu>ul>.menu-item{
		padding: 10px 30px;
		border:none;
	}
	.sub-menu{
		position: relative;
		display:none!important;
		top:0px;
		padding: 15px 0px;
		width: auto;
	}	
	.menu>li{
	    position: relative;
	}
	.menu>li:before{
	   content:'';
	   position:absolute;
	   background-image:url('https://mifarmaciaandorra.com/wp-content/uploads/2024/05/Vector-56.svg');
	   width: 15px;
       height: 15px;
       background-size: contain;
       background-repeat: no-repeat;
       background-position: center;
       left: 0px;
       top: 15px;
	}
}
@media only screen and (max-width: 768px) {
  .header__search-box input{
  	max-width: 100px;
  	font-size: 8px;
  }
  .header__search-box input::placeholder{
  	font-size: 0px;
  }
  .header__search-img-mob{
  	display: block;
  	width: 16px;
  }
  .header__search-box{
  	display: none;
  }
  .header{
  	display: flex;
  }
  .header__search{
  	max-width: 100px;
  }
}
@media only screen and (max-width: 576px) {
  
}
@media only screen and (max-width: 420px) {
	.header__search{
		display: none;
	}
}