* {
  margin: 0px;
  font-family: "Oswald";
}

#ma,
#lletres {
  /*font-family: 'Montez', cursive;*/
}

/*#ma {
  margin: 35px 0;
  font-size: 25px;
}*/
.whats {
  margin-left: auto;
  margin-right: auto;
  width: 10%;
}
#imgsimbols {
  width: 5%;
  vertical-align: middle;
}
.banderes {
  width: 100%;
  padding: 0.3em;
}
#lletres {
  margin: 40px 0 15px 0;
  font-size: 25px;
}
.nom_es {
  margin: 10px 55px;
  font-size: 25px;
}
.nom_ca {
  margin: 10px 0;
  font-size: 25px;
}
.nom_pt {
  margin: 10px 0;
  font-size: 25px;
}
.nom_en {
  margin: 10px 46px;
  font-size: 25px;
}
.nom_it {
  margin: 10px 0;
  font-size: 25px;
}
.nom_fr {
  margin: 10px 55px;
  font-size: 25px;
}
#simbol {
  font-size: 25px;
  margin-left: -5%;
}

#myDropdown a {
  outline: none;
}

.imgtap {
  width: 90%;
  height: auto;
}

#idiomes span {
  font-size: 20px;
}

#tabs {
  display: none;
  visibility: hidden;
}

body {
  margin-bottom: 70px;
}

html {
  text-align: center;
  background: #ead3b9 url("../img/background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  height: 100%;
}

a {
  text-decoration: none;
}

#idiomes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  visibility: hidden;
  text-align: center;
  /* background: #ead3b9 url("../img/background.png"); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  z-index: 999999999;
  display: table;
}

#info {
  position: fixed; /* Stay in place */
  visibility: hidden;
  display: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  text-align: left;
  z-index: 99999;
}

#info img {
  float: left;
  margin-right: 20px;
}

#info span {
  font-size: 20px;
  vertical-align: middle;
}

.logo {
  width: 80%;
}

#idiomes a img {
  width: 20%;
  vertical-align: middle;
  margin: 10px;
}

#idiomes a {
  vertical-align: middle;
}

form {
  text-align: center;
  font-size: 50px;
}

#buscador input,
#buscador select {
  font-size: 25px;
  padding: 10px;
  font-family: "Oswald";
}

.tots {
  padding: 14px;
  border-radius: 2px;
  font-size: 20px !important;
  background-color: #feeddc;
  vertical-align: middle;
  border: 2px solid black;
  width: 30%;
  margin-top: 5px;
  border-radius: 3px;
}

.tots:hover {
  background-color: #ead3b9;
}

#buscador input {
  padding-right: 10px;
  padding-left: 60px;
  padding-top: 15px;
  padding-bottom: 15px;
  background: #feeddc url(../img/obridor.svg) no-repeat scroll;
  background-size: 35px;
  border: 2px solid black;
  background-position: left center;
  font-size: 30px;
  border-radius: 3px;
  background-position: 15px 50%;
  vertical-align: middle;
  width: 50%;
}

.tap {
  width: 13%;
  height: auto;
  border: 1px solid black;
  margin: 20px;
  display: inline-block;
  background-color: rgb(204, 199, 172);
  padding: 10px;
  vertical-align: middle;
}

textarea:focus,
input:focus,
button:focus,
select:focus {
  outline: none;
}

.item {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%;
  overflow: hidden;
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

#menu-1,
#menu-2,
#menu-3,
#menu-4 {
  padding-top: 100px;
  text-align: justify;
  margin: 0 90px;
  margin-bottom: 50px !important;
  font-size: 25px;
}

.tap img {
  vertical-align: middle;
  width: 100%;
  height: 100%;
}

/* Modal Content/Box */
.modal-content {
  background-color: #feeddc;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 70%; /* Could be more or less, depending on screen size */
  box-shadow: 0 4px 5px rgba(25, 25, 25, 0.4);
  content: "";
  display: table;
  clear: both;
  text-align: left;
}

.modal-content img {
  float: left;
  height: 100px;
  width: 100px;
  border: 2px solid black;
  padding: 5px;
  margin-right: 10px;
  box-shadow: 0 4px 5px rgba(25, 25, 25, 0.4);
  background-color: rgb(204, 199, 172);
}

.modal-content h1 {
  font-weight: bold;
  font-size: 25px;
  text-transform: uppercase;
  margin-bottom: 5px;
  text-align: center;
}

.modal-content p,
.modal-content span {
  font-size: 27px;
  margin: 5px;
}

i {
  margin-right: 5px;
}

.tipustap {
  float: right;
}

.tipustap img {
  display: inline-block;
  height: 100px;
  width: 100px;
  border: none;
  background-color: transparent;
  box-shadow: none;
}

.modal-content-info {
  background-color: #feeddc;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 30%; /* Could be more or less, depending on screen size */
  box-shadow: 0 4px 5px rgba(25, 25, 25, 0.4);
  content: "";
  display: table;
  clear: both;
}

.modal-content-info p {
  vertical-align: middle;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 38px !important;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.tipus img {
  display: inline-block;
  margin: 0 35px;
  vertical-align: middle;
}

.dropbtn {
  background-color: transparent;
  background-image: url("../img/menu.svg");
  background-repeat: no-repeat;
  padding: 30px;
  border: none;
}

.home {
  background-color: transparent;
  background-image: url("../img/home.png");
  position: absolute;
  margin: 20px 0 0 20px;
  top: 0;
  left: 0;
  padding: 30px;
  border: none;
  background-size: cover;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: absolute;
  display: block;
  top: 0;
  margin: 20px;
  right: 0;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  right: 0;
  -webkit-transition: width 2s; /* For Safari 3.1 to 6.0 */
  transition: width 2s;
}

/* Links inside the dropdown */
.dropdown-content li {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content li a {
  color: transparent;
  padding: 0px;
  text-decoration: none;
  display: inline-block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}
.dropdown-content li a:hover {
  background-color: transparent;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
  display: block;
}

.pais {
  display: inline-block;
  border-radius: 50%;
  border: 2px solid black;
  padding: 5px 8px;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgb(201, 180, 160);
  color: white;
  text-align: center;
  z-index: 999999999999999;
}

.footer img {
  width: 50;
  height: 50px;
  margin: 10px 15px;
  vertical-align: middle;
}

#myDropdown ul li {
  color: black;
}

::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  font-size: 29.5px !important;
}

#table_marcatge {
  padding-top: 1%;
  width: 60%;
  margin: auto;
}
.img_marcatge {
  width: 100px;
}
.canvi {
  border-top: 2px solid black;
}

/*Media Queries */
@media (max-width: 768px) {
  body {
    margin-bottom: 60px;
  }
  .modal-content-info {
    background-color: #feeddc;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%; /* Could be more or less, depending on screen size */
    box-shadow: 0 4px 5px rgba(25, 25, 25, 0.4);
    content: "";
    display: table;
    clear: both;
  }
  .whats {
    width: 20%;
  }
  #imgsimbols {
    width: 50px;
  }

  #idiomes a img {
    width: 25%;
    vertical-align: middle;
    margin: 10px;
  }

  #buscador input {
    width: 65%;
    font-size: 13px;
    padding-right: 10px;
    padding-left: 40px;
    padding-top: 15px;
    padding-bottom: 15px;
    background-size: 25px;
  }

  ::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    font-size: 10px !important;
  }

  .logo {
    width: 100%;
  }

  /*#ma {
    margin: 10px 0;
    font-size: 16px;
  }*/
  .nom_es {
    margin: 10px 0;
    font-size: 16px;
  }
  .nom_ca {
    margin: 10px 0;
    font-size: 20px;
  }
  .nom_pt {
    margin: 10px 0;
    font-size: 20px;
  }
  .nom_en {
    margin: 10px 48px;
    font-size: 18px;
  }
  .nom_it {
    margin: 10px 0;
    font-size: 23px;
  }
  .nom_fr {
    margin: 10px 57px;
    font-size: 21px;
  }
  #simbol {
    font-size: 12px;
    margin-left: 0%;
  }

  #lletres {
    margin: 5px 0 0px 0;
    font-size: 16px;
  }

  .tipus img {
    display: inline-block;
    margin: 0 10px;
    width: 50px;
    vertical-align: middle;
  }

  .tap {
    width: 20%;
    height: auto;
    border: 1px solid black;
    margin: 10px;
    display: inline-block;
    background-color: rgb(204, 199, 172);
    padding: 10px;
    vertical-align: middle;
  }

  .dropbtn {
    padding: 20px;
    border: none;
  }

  .footer img {
    width: 35px;
    height: 35px;
    margin: 10px 5px;
    vertical-align: middle;
  }

  .home {
    position: absolute;
    margin: 10px 0 0 10px;
    padding: 24px;
    border: none;
    background-size: cover;
  }

  #menu-1,
  #menu-2,
  #menu-3,
  #menu-4 {
    margin-top: 60px;
  }

  .modal-content img {
    float: none;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    margin-top: 20px;
    display: inherit;
  }

  .tipustap {
    float: none;
    margin: 0 auto;
    display: inherit;
  }

  .tipustap img {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
    margin-top: 0px;
    display: inline-block !important;
  }

  .modal-content p,
  .modal-content span {
    font-size: 15px;
    margin: 5px;
  }

  #menu-1,
  #menu-2,
  #menu-3,
  #menu-4 {
    padding-top: 70px;
    text-align: justify;
    margin: 0 65px;
    margin-bottom: 50px !important;
    font-size: 16px;
  }
  .img_marcatge {
    width: 50px;
  }
  #table_marcatge {
    padding-top: 5%;
    width: 100%;
  }
  .canvi {
    border-top: 2px solid black;
  }
}
@media (max-width: 340px) {
  body {
    margin-bottom: 60px;
  }

  #imgsimbols {
    width: 50px;
  }

  #idiomes a img {
    width: 25%;
    vertical-align: middle;
    margin: 10px;
  }

  #buscador input {
    width: 55%;
    font-size: 13px;
  }

  ::-webkit-input-placeholder {
    /* Chrome/Opera/Safari */
    font-size: 2.1vw !important;
  }

  .whats {
    width: 20%;
  }

  .logo {
    width: 100%;
    margin-top: -8%;
  }

  /*#ma {
    margin: 10px 0;
    font-size: 15px;
  }*/
  .nom_es {
    margin: 10px 55px;
    font-size: 19px;
  }
  .nom_ca {
    margin: 10px 0;
    font-size: 15px;
  }
  .nom_pt {
    margin: 10px 0;
    font-size: 15px;
  }
  .nom_en {
    margin: 10px 46px;
    font-size: 16px;
  }
  .nom_it {
    margin: 10px 0;
    font-size: 20px;
  }
  .nom_fr {
    margin: 10px 55px;
    font-size: 18px;
  }
  #simbol {
    font-size: 12px;
  }

  #lletres {
    margin: 5px 0 0px 0;
    font-size: 15px;
  }

  .tipus img {
    display: inline-block;
    margin: 0 10px;
    width: 50px;
    vertical-align: middle;
  }

  .tap {
    width: 60px;
    height: 60px;
    border: 1px solid black;
    margin: 10px;
    display: inline-block;
    background-color: rgb(204, 199, 172);
    padding: 10px;
    vertical-align: middle;
  }

  .dropbtn {
    padding: 20px;
    border: none;
  }

  .footer img {
    width: 35px;
    height: 35px;
    margin: 10px 5px;
    vertical-align: middle;
  }

  .home {
    position: absolute;
    margin: 10px 0 0 10px;
    padding: 24px;
    border: none;
    background-size: cover;
  }

  #menu-1,
  #menu-2,
  #menu-3,
  #menu-4 {
    margin-top: 60px;
  }

  .modal-content img {
    float: none;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
    margin-top: 20px;
    display: inherit;
  }

  .tipustap {
    float: none;
    margin: 0 auto;
    display: inherit;
  }

  .tipustap img {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
    margin-top: 0px;
    display: inline-block !important;
  }

  .modal-content p,
  .modal-content span {
    font-size: 15px;
    margin: 5px;
  }

  #menu-1,
  #menu-2,
  #menu-3,
  #menu-4 {
    padding-top: 70px;
    text-align: justify;
    margin: 0 40px;
    margin-bottom: 50px !important;
    font-size: 16px;
  }
  .canvi {
    border-top: 2px solid black;
  }
}
#taps {
  margin-bottom: 80px;
}
@media (min-width: 1200px) {
  #tabs {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
  }
  .modal-content-info {
    max-width: 20%;
  }
  #idiomes {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  #tabs {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  #idiomes {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
  }
}
