@font-face {
  font-family: 'TrocchiBSI';
  src:  url('/font/BSI.woff2') format('woff2'),
        url('/font/BSI.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TrocchiBSI';
  src:  url('/font/BSI-Bold.woff2') format( 'woff2'),
        url('/font/BSI-Bold.woff') format( 'woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

:root {
  --biform-color: #009a9c;
  --biform-hover: #77c6c7;
  --biform-clear: #e7f5f5;
}

#content
{
  margin: 0 10% 0 10%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: "TrocchiBSI","Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

a
{
    text-decoration: none;
}

a:hover
{
  color: var(--biform-hover);
}

a:visited
{
  color: var(--biform-color);
}

.footer a
{
  color: var(--biform-color);
}
.footer .contact a 
{
  color: white;
}


.logo_biform
{
  height: 60px;
  margin-top: 2em;
  margin-left: 10%;
}

.nav
{
  background-color: var(--biform-color);
  padding: 15px 10%;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav div a
{
  color: white;
  margin-right: 20px; 
}

.nav .dropdown, .nav .dropdown a
{
  color: var(--biform-color);
}

.nav-item-with-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--biform-clear);
  padding: 10px;
  z-index: 1000;
  min-width: 200px;
  white-space: nowrap;
}

.dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown li {
    margin: 5px 0;
}

.nav-item-with-dropdown:hover .dropdown {
  display: block;
}

/* ----------------------------------------------------------------- */
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  font-family: "TrocchiPaT","Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  font-size: 20px;
}
h1,h2,h3,h4,h5,h6
{
  color:var(--biform-color);
  font-weight: 700;
}

button, input[type="submit"] {
  background-color: var(--biform-color);
  color: var(--biform-clear);
  border: none;
  padding: 5px 2rem;
  font-weight: bold;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  margin: 10px 0px;
  transition: background-color 0.3s ease;
}

button:hover, input[type="submit"]:hover {
  background-color: var(--biform-clear);
  color: var(--biform-color);
}

button.remove_from_cart
{
  background-color: red;
  padding: 2px 10px;
  margin-left: 20px;
}

button.remove_from_cart:hover {
  background-color: rgb(255, 131, 131);
  color: red;
}

.footer{
  background-color: var(--biform-clear);
  color:var(--biform-color);
  font-weight: 600;
  bottom:0;
  left: 0;
  width: 100%;
  height: 20%;
  z-index: 9999;
}

.footer .contact
{
  background-color: var(--biform-color);
  color: var(--biform-clear);
  text-align: center;
  padding: 8px;
}

.footer .links
{
  padding: 0 10% 0 10%;
  font-size: x-large;
  justify-content: space-between;
}

.footer .links .legal
{
  /* display: flex; 
  justify-content: space-between; */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 10px;
  margin: 10px 0;
}

/* ----------------------------------------------------------------------------------------------------- */

.fail_connection{
  background-color: red;
  color: white;
  width: 40%;
  height: 6%;
  border-radius: 2%;
  margin-left: 30%;
  padding-left: 1%;
  position: fixed;
  margin-top: 40%;
}
.auth_connection{
  background-color: rgb(0, 154, 156);
  color: white;
  width: 40%;
  height: 4%;
  border-radius: 2%;
  margin-left: 30%;
  padding-left: 1%;
  position: fixed;
  margin-top: 40%;
}

textarea
{
  width: 100%;
  height: 250px;
}

.topbar_flag {
  width: 16px;
  height: 16px;
}

#alert
{
  display: none;
  position: fixed;
  background-color: var(--biform-hover);
  border: 5px solid var(--biform-color);
  border-radius: 50px 0;
  width: 80%;
  padding: 20px;
  margin-bottom: 10%;
  transition: all;
  transition-duration: 1ms;
  z-index:100;
}

#alert button
{
  float: inline-end;
}

/* ///////////////////////////////////// */
/*                LOADING                */
/* ///////////////////////////////////// */

#loading 
{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%; 
  background:rgba(0,0,0,0.4);
  color:white;
  justify-content:center;
  align-items:center;
  font-size:1.5em;
  z-index:9999;
}

#loading img {
    background: url('https://biform-sante.com/wp-content/uploads/2023/05/icone-biform.png');
    background-size: 100%;
    animation: sk-rotatehorizontal 2s infinite ease-in-out;
}
@keyframes sk-rotatehorizontal {
	0% {
		transform: perspective(120px) rotateY(0deg);
	}
	50% {
		transform: perspective(120px) rotateY(-180deg);
	}
	100% {
		transform: perspective(120px) rotateY(-360deg);
	}
}

/* ///////////////////////////////////// */
/*               RESPONSIVE              */
/* ///////////////////////////////////// */

.responsive_show
{
  display: none;
}

@media only screen and (max-width: 600px) {
  .responsive_hide
  {
    display: none;
  }
  .responsive_show
  {
    display: block;
  }
  
  #pop_burger
  {
    display: none;
  }

  h1
  {
    font-size: xx-large;
  }

}