.header {
  /* -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s; */
}
body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.imatgeLogo
{
  background-image: url("/public/img/logos/LogoA.png") !important;
  width: 55%;
  height: 70%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  border: 0px solid red;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-line-pack: center;
  align-content: center;
  /*min-height: 20%; /* Modificat per Java */
  min-height: 195px; /* Modificat per Java */
  max-height: 20%; /* Modificat per Java */
  z-index: 9999;
}
.baner {
  border: 0px solid blue;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  visibility: visible;
  /* background-color: rgb(223, 231, 250); */
  /* background-color: #C4EAF2; */
  background-color: #D9E3E5;
  height: 80%; /* Modificat per Java */
  min-height: 160px; /*modificat per java*/
  color: #818181;
}
.dos {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-family: "Overlock-N";
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}
.un {
  border: 0px solid rgb(49, 49, 13);
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  justify-content: flex-start;
  align-items: center;
}
.dos {
  border: 0px solid maroon;
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2; /* Modificat per Java */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  font-size: 300%;
}
.noLog
{
  margin-right: 4%;
}
.tres
{
  justify-content: flex-end;
  align-items: center;
}
.tres,
.mtres {
  /* border: 0px solid green; */
  -webkit-box-ordinal-group: 4;
  -ms-flex-order: 3;
  order: 3; /* Modificat per Java */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}
.menu {
  border: 0px solid lawngreen;
  /* border-top: 2px solid #faa916; */
  /* border-top: 1px solid #d1b124; */
  /* border-bottom: 2px solid #d1b124; */
  /* border-bottom: 3px solid #faa916; */
  /* background-color: #152236; */
  background-color: #45657c;
  /* background-color: #47ABD2; */
  /* background-color: #2881A4; */
  width: 100%;
  min-height: 35px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  height: 20%; /* Modificat per Java */
  /* color: #ee6c4d; */
  /* color: #818181; */
  color: white;
  /* color: #818181; */
  
}
.mun {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-pack: distribute;
  /* justify-content: space-around; */
  justify-content: space-evenly;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  border: 0px solid pink;
}
.mdos {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch; /* Modificat per Java */
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-flex: 2;
  -ms-flex-positive: 2;
  flex-grow: 2;
}
.mdos > *, .opcio, .subopcio
{
  font-family: "Overlock" !important;
  font-size: 110%;
}
.mtres {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center; /* Modificat per Java */
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}
.opcio {
  border: 0px solid mediumpurple;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-line-pack: center;
  align-content: center;
  padding: 0 2%; /* Modificat per Java */
}
.subMenuPare {
  border-right: 0px solid red;
  /* background-color: #284b63; */
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  z-index: 1;
}
.subMenuFill {
  background-color: #45657c;
  /* border: 0.5px solid #faa916; */
  display: none;
  position: absolute;
  top: 100%;
  left: -1%;
  min-width: 100%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  z-index: 1;
}

@media (min-width: 1000px) {

  .subMenuPare:hover > .subMenuFill {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-animation-name: dreta;
    animation-name: dreta;
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
  }

  .subMenuPare:hover .noBordeDret
  {
    border-right: 0 !important;
  }

  .subMenuPare:hover .noBordeEsquerra
  {
    border-left: 0 !important;
  }

  .primer:hover > .subMenuFill {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-animation-name: avall !important;
    animation-name: avall !important;
    -webkit-animation-duration: 0.1s;
    animation-duration: 0.1s;
  }
}

.subopcio {
  border-top: 0.5px solid white;
  border-bottom: 0.5px solid white;
  border-right: 0.5px solid white;
  border-left: 0.5px solid white;
  white-space: nowrap;
  padding: 5% 0%;
  min-height: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
}

#menuM {
  display: none;
  overflow: auto;
  background-color: #45657c !important;
  color: white;
}
#mdos .boto {
  margin: 0 10% 0 0;
  cursor: pointer;
  border: 0px solid black;
  -ms-flex-item-align: center;
      align-self: center;
}
.opcioM {
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  width: 100%;
  min-height: 70px;
  /* max-height: 5%; */
  height: 5%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.bar1,
.bar2,
.bar3 {
  width: 35px;
  /* width: 5vw; */
  height: 5px;
  /* height: 0.5vw; */
  background-color: white;
  margin: 6px 0;
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}

.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px);
  -ms-transform: rotate(-45deg) translate(-9px, 6px);
  transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px);
  -ms-transform: rotate(45deg) translate(-8px, -8px);
  transform: rotate(45deg) translate(-8px, -8px);
}
/* Sempre a baix*/
/* .primer:not( :hover ) > .subMenuFill
{
    animation-name: amunt !important;
    animation-duration: 1s;
} */
.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('images/pageLoader.gif') 50% 50% no-repeat rgb(249,249,249);
    /* opacity: .8; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-line-pack: center;
        align-content: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.preloader {
    width: 70px;
    height: 70px;
    border: 10px solid #eee;
    border-top: 10px solid #666;
    border-radius: 50%;
    -webkit-animation-name: girar;
            animation-name: girar;
    -webkit-animation-duration: 2s;
            animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
  }
  @-webkit-keyframes girar {
    from {
      -webkit-transform: rotate(0deg);
              transform: rotate(0deg);
    }
    to {
      -webkit-transform: rotate(360deg);
              transform: rotate(360deg);
    }
  }
  @keyframes girar {
    from {
      -webkit-transform: rotate(0deg);
              transform: rotate(0deg);
    }
    to {
      -webkit-transform: rotate(360deg);
              transform: rotate(360deg);
    }
  }

.subMenuPare > .subMenuFill > .subMenuPare {
  border: 0px solid rgb(0, 231, 104);
  padding: 0 !important;
}
.subMenuPare > .opcio {
  border: 0px solid rgb(231, 0, 154);
  padding: 0 !important;
}
.dreta {
  top: 0;
  left: 100%;
}
.avall {
  position: relative;
  top: 0;
}

#fotoPerfil
{
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: 0px solid red;
  width: 30%;
  /* background: url('/images/perfils/Mayola'); */
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  box-sizing: border-box;
}
#nomUsuari
{
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: 0px solid blue;
  width: 70%;
  box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#perfil
{
  position: relative;
  border: 0px solid yellowgreen;
  height: 100%;
}

#conjuntPerfil
{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border: 0px solid firebrick;
  height: 100%;
  cursor: pointer;
}

#opcionsPerfil
{
  border: 0px solid red;
  position: absolute;
  right: 3%;
  top: 115%;
  width: 150px;
  border-radius: 10px;
  background-color: #45657C;
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;

}

.perfilPrimer
{
  border-top: 0px !important;
}

.perfilUltim
{
  border-bottom: 0px !important;
}

#opcionsPerfil > * 
{
  border-bottom:  1px solid #ffffff;
  padding: 8%;
}

@-webkit-keyframes dreta {
  from {
    left: 0;
  }
  to {
    left: 100%;
  }
}

@keyframes dreta {
  from {
    left: 0;
  }
  to {
    left: 100%;
  }
}
@-webkit-keyframes esquerra {
  from {
    right: 0;
  }
  to {
    right: 100%;
  }
}
@keyframes esquerra {
  from {
    right: 0;
  }
  to {
    right: 100%;
  }
}
@-webkit-keyframes avall {
  from {
    top: 0%;
  }
  to {
    top: 100%;
  }
}
@keyframes avall {
  from {
    top: 0%;
  }
  to {
    top: 100%;
  }
}
@-webkit-keyframes amunt {
  from {
    top: 100%;
  }
  to {
    top: 0%;
  }
}
@keyframes amunt {
  from {
    top: 100%;
  }
  to {
    top: 0%;
  }
}

#ca
{
  background: url('../../img/lang/ca.png');
}

#es
{
  background: url('../../img/lang/es.png');
}

#fr
{
  background: url('../../img/lang/fr.png');
}

#en
{
  background: url('../../img/lang/en.png');
}

.lang
{  
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  width: 10% !important;
  height: 50% !important;
}

.lang:hover
{
  cursor: pointer;
}

@media (max-width: 999px) {
  #baner {
    display: none !important;
    min-height: 0;
  }
  #menu {
    height: 100% !important;
    min-height: 0;
  }
  .header {
    /* min-height: 6% !important; */
    min-height: 55px !important;
    max-height: 6% !important;
  }
  #mtres {
    display: none !important;
  }
  #mdos {
    -webkit-box-flex: 1 !important;
    -ms-flex-positive: 1 !important;
    flex-grow: 1 !important;
    -webkit-box-pack: flex-end !important;
        -ms-flex-pack: flex-end !important;
            justify-content: flex-end !important;
  }
  #mun {
    -webkit-box-flex: 2 !important;
    -ms-flex-positive: 2 !important;
    flex-grow: 2 !important;
  }
  #menuM {
    display: none;
    -webkit-transition: 0s;
    -o-transition: 0s;
    transition: 0s;
    position: fixed;
    /* top: 5%; */
    /* left: 0;
        right: 0;
        bottom: 0; */
    width: 100%;
    justify-items: center;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    z-index: 9999;
  }
  .mun
  {
    font-size: 120%;
  }
}


/* html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: border-box;
} */