/* GENERAL */
/*body{
  font-family: 'Open Sans', sans-serif;
}*/

/* TITOLS */
h5{
  font-weight:400;
  font-size: 1.10rem;
}

.titol{
  white-space:initial;font-family: 'Poppins', sans-serif;
  line-height: 1;
  display: inline-block;
}

.columna-titol-dreta{
  text-align: right;
  padding-right: 0px;
}

/* botons compartir */
.a-compartir:hover .hovered {
  display:block !important  ;
}
.a-compartir:hover > img{
  display:none;
}
/* BARRA FORMULARI */
#barra-progress-formulari{
  position: fixed;
  bottom: 10px;
  z-index: 999999999999999;
  width: 100%;
  height: 60px;
  border-top: 1px dashed #8e8e8e;
  border-bottom: 1px dashed #8e8e8e;
}

#barra-progress-formulari > div{
  background-color: #eaeaea;
  height: 100%;
}
#barra-progress-formulari .content{
  height:100%;
}
#barra-progress-formulari .card-link{
  font-weight:400 !important;
}
#barra-progress-formulari .card-link:hover{
  background-color:grey;
  color:white;
}
#barra-progress-formulari .respostes-pendents{
  border: 1px solid #9e9e9e;
  background-color: white;
}

/* HELPERS */
.cursor-pointer{
  cursor:pointer;
}
.imatge-formulari{
  height:180px;
  width:auto;
  background-repeat: no-repeat;
  background-size: cover;
}
.bb-dashed-gray{
  border-bottom:1px dashed #b7b7b7
}
.enfosquir{
  box-shadow:inset 0 0 0 1000px rgba(0, 145, 126, 0.35);
  transition:0.5s;
}
.targeta-campanya:hover .enfosquir{
  box-shadow:none;
  transition:0.5s;
}

.ultimes-hores{
  position:absolute;
  margin-top:20px;
  margin-left:10px;
  padding:8px;
  background-color:white;
  color: #00917e;
  text-transform:uppercase;
  font-size:12px;
}

.ultimes-hores > span{
  border:1px dashed #00917e;
  padding: 2px 4px;
}
/* li .dropdown-item span{
  text-transform: lowercase;
}
li .dropdown-item span:first-letter {
  text-transform: uppercase;
}
*/
/* NAVBAR */
.navbar .nav-link{
  color: black !important;
  font-size: 18px;
}

/*FOOTER*/
footer {
  bottom: 0;
  width: 100%;
  background-color:#323232;
  color:#ececec;
}
footer a{
  color:white;
  transition:0.2s;
}

footer a:hover{
  color:#c1c1c1;
  text-decoration:none;
  transition:0.2s;
}
.footer-bar a{
  color:white;
}

/* FILTRE IMATGES*/
.filter-gray{
  filter: grayscale(100%);
}
/* IMATGE DAVALL MENU */
.imatge-full-width-top{
  max-height:450px;
  min-height:370px;
  background-repeat:no-repeat;
  background-position: center center;
  background-size: cover;
}
/* IMATGE LLISTAT CAMPANYES */
.imatge-full-width-campanya{
  max-height:200px;
  min-height:200px;
  background-repeat:no-repeat;
  background-position: center center;
  background-size: cover;
}
/*COLORS FONDO*/
.bg-blavos{
  background-color:#00917e;
}
.bg-negreclar{
  background-color:#323232;
}
.bg-gris{
  background-color:#f4f4f4;
}
.bg-grisos{
  background-color: #6c6c6c;
}
.bg-gris-fosc{
  background-color:#bbbbbb;
}
.bg-verdos{
  background-color: #00917e;
  border: 1px solid #00917e !important;

}
a.bg-verdos:hover{
  color: #00917e !important;
  background-color: white !important;
  border: 1px solid #00917e !important;
}
.bg-carnos{
  background-color: #ee685c;
}
a.bg-carnos.ct-blanc:hover{
  color: #ee685c !important;
  background-color: white !important;
  border: 1px solid #ee685c !important;
}
.bg-vinos{
  background-color: #9c0054;
}
a.bg-vinos:hover{
  color: #9c0054 !important;
  background-color: white !important;
  border: 1px solid #9c0054 !important;
}
button.bg-vinos:hover{
  color: #9c0054 !important;
  background-color: white !important;
  border: 1px solid #9c0054 !important;
}
.bg-blanc{
  background-color: white;
}
a.bg-blanc.ct-verdos:hover{
  color: white !important;
  background-color: #00917e !important;
  border: 1px solid white !important;
}
a.bg-blanc.ct-carnos:hover{
  color: white !important;
  background-color: #ee685c !important;
  border: 1px solid white !important;
}
a.bg-blanc.ct-vinos:hover{
  color: white !important;
  background-color: #9c0054 !important;
  border: 1px solid white !important;
}
a.bg-blanc.ct-grisos:hover{
  color: white !important;
  background-color: #717171  !important;
  border: 1px solid white !important;
}
.bg-gris-molt-fosc{
  background-color: #717171;
}
/* COLORS LLETRA */
.ct-blavos{
  color:#00917e;
}
.ct-verdos{
  color: #00917e;
}
/* div.ct-verdos:hover{
  color: white;
  background-color: #00917e !important;
  border: 1px solid white;
} */
.ct-carnos{
  color: #ee685c;
}
/* div.ct-carnos:hover{
  color: white;
  background-color: #ee685c !important;
  border: 1px solid white;
} */
.ct-vinos{
  color: #9c0054;
}
/* div.ct-vinos:hover{
  color: white;
  background-color: #9c0054 !important;
  border: 1px solid white;
} */
.ct-blanc{
  color: white;
}
.ct-negre{
  color: black;
}
.ct-grisos{
  color: #6c6c6c;
}
.ct-gris-clar{
  color:#bbbbbb;
}
.ct-roig{
  color:red;
}
/* COLORS LLETRA HOVER */
a.ct-negre:hover{
  color:black;
}
a.ct-vinos:hover{
  color:black;
}
a.ct-verdos:hover{
  color:black;
  text-decoration:none;
}
/* BORDERS */
.br-blanc{
  border-radius: 0px;
  border-color: white;
}
.br-carnos{
  border:1px solid #ee685c;
}
.br-vinos{
  border-radius: 0px;
  border-color: #9c0054;
}
.br-vinos button{
  border: 1px solid #9c0054;
}
.br-green{
  border-radius: 0px;
  border-color: #36e417 !important;
  border-width:2px;
}
.br-roig{
  border-radius: 0px;
  border-color: #ff0000 !important;
  border-width:2px;
}
.br-verdos{
  border-radius: 0px;
  border-color: #00917e !important;
}
.br-gris-molt-fosc{
  border-color: #717171 !important;
}
.br-negre-pregunta{
  border-left:4px solid black;
}
.br-no{
  border-width:0px;
}
.br-r-1{
  border-right-width:1px;
}
/* SOMBREJAT */
.sombra{
  -webkit-box-shadow: 10px 10px 68px -12px rgba(0,0,0,0.49);
  -moz-box-shadow: 10px 10px 68px -12px rgba(0,0,0,0.49);
  box-shadow: 10px 10px 68px -12px rgba(0,0,0,0.49);
}
/* PAGINACIO */
.page-item.active .page-link{
  background-color:#717171;
  border-color: #f4f4f4;
}
.navigation-comissions .page-item.active .page-link{
  background-color:#ee685c;
}

/* CARDS */
.card-custom{
  border-radius:0px;
  border-width:0px;
  color:white !important;
}
.card-custom .card-title{
  font-size:72px;
  font-weight:700;
  line-height: 45px;
}
.card-custom .card-subtitle{
  color:white;
  font-size:32px;
}
.card-custom i{
  font-size:32px;
}
.card-custom .card-link{
  background-color: white;
  padding: 2px 8px;
  font-size: 20px;
  border-width: 0px;
  cursor:pointer;
  border: 1px solid white;
  width:fit-content;
  width:-moz-fit-content;
}
.card-custom .card-link:hover{
  transition:0.25s;
  background-color:#e4e4e4;
}
/* ICONES */
ion-item ion-icon{
  position: relative;
  top: 3px;
}
/* FORMS */
.form-control{
  transition:0.5s;
}
.dropdown button{
  background-color: white;
}
.filter-option-inner-inner{
  color:black;
}
.form-control:focus {
  box-shadow:none;
  color: #000000;
  background-color: #9c005424;
  border-color:#9c0054;
  transition:0.5s;
}
.btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(156, 0, 84, 0.25);
}
.btn-primary:hover {
  color: #fff;
  background-color: #750642;
  border-color: #0062cc;
}
input[aria-invalid="true"]{
  border-color:red !important;
}
input[aria-invalid="false"]{
  border-color:green !important;
}
.select-header-gris option:first-child {
  background-color: #888888;
  color: white;
  font-weight: bold;
}
/* BREADCRUMPS */
.breadcrumb{
  border-radius:0px;
  background-color: #f4f4f4;
}

.breadcrumb-item  a{
  color:#9c0054 !important;
}

/* MARGINS */
.minus-top-3{
  margin-top: -30px;
}
.minus-top-4{
  margin-top: -40px;
}

/* COMPONENTS */
#ajax-content{
  min-height:440px;
}
.progress-bar{
  background-color: #00917e;
}
.progress{
  height: 25px;
}
.personalitats.active{
  color:white;
  background-color:#ee685c;
}
.personalitats{
  height:fit-content;
  transition:0.5s;
  cursor:pointer;
}
.personalitats:hover{
  transition:0.5s;
  color:white;
  background-color:#ee685c;
}

.custom-inputs-josep{
  background-color: #4682b400;
  border: none;
  font-weight: bold;
  padding: 0;
  width: 100%;
}

.custom-inputs-josep:focus{
  outline:none;
  animation: aball 0.5s forwards;
}

.descargar-targeta{
  transition:0.5s;
}

.imatges-respostes-formulari{
  height: 250px; width: 100%; background-repeat : no-repeat; background-size : cover; background-position: center;
}

.icon-check-respostes{
  opacity: 0;
  position: absolute;
  color: white;
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 160px !important;
  line-height: 250px !important;
  transition: 0.5s;
}

.checkbox-pregunta:nth-child(3n-1){
  margin: 0px 15px;
}

.radio-input-formulari
{
  z-index: 9999999;
  width: 100%;
  height: 90%;
  opacity: 0;
  position:absolute;
  cursor:pointer;
}

.limit-height{
  min-height: 150px;
}

.limite{
  min-height: 50px;
}

.descargar-targeta:hover{
  animation: tremolar 1s forwards;
}

.bola-rodona::before{
  content: '.';
  min-width: 110px;
  border-radius: 50%;
  background-color: white;
  min-height: 110px;
  left: -46px;
  position: absolute;
  top: 30px;
}

.filera-perfil{
  padding: 8px 6px;
}

.filera-perfil:nth-child(even){
  background-color:#f4f4f4;
}

.flex-1{
  flex:1;
}

hr{
 border-top: 4px solid;
}

.hr-gris{
  border-top-color:rgba(0,0,0,.1);
}

.hr-blanc{
  border-top-color:white;
}

.dos-linies{
  overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 22px;
    max-height: 48px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.btn-circle {
    width: 55px;
    height: 55px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 40px;
    line-height: 0.5;
    border-color: #9c0054;
}
a:hover {
  transition:0.2s;
  color:white;
}
.salto-linea{
  word-break: break-word;
}

.targeta-comissions{
  min-height:344px;
  border-radius:50%;
}

.targeta-comissions-inside{
  height: 90%;
  border-radius: 50%;
  border: 1px solid white;
  padding: 60px;
  /* margin: -2px; */
  width: 90%;
  margin: 0 auto;
  margin-top: 5%;
}

.targeta-campanya, .targeta-comissions{
  transition:1s;
}
.targeta-campanya:hover, .targeta-comissions:hover{
  transition:1s;
}

.border-consens{
  border: 2px dashed;
  padding: 6px;
  border-radius: 5px;
}
.hr-formulari-caretes{
  width: 75px;
  margin: 10px 0px;
  border-top: 3px solid;
}
.ml-negatiu-20{
  margin-left:-20px;
}

.bg-slider-vinos{
  background:#9c0054 !important;
}

/* MULTIPLE DROPDOWN */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}
/*
.bootstrap-select .dropdown-toggle .filter-option-inner-inner {
    width: 372px;
} */

/* ANIMATIONS */


@keyframes tremolar {
  from {transform: translateY(0)}
  to {transform: translateY(-5px)}
}
.shake{
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes shake {
  10%, 90% {
    transform: translate3d(-5px, 0, 0);
  }

  20%, 80% {
    transform: translate3d(7px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-9px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(9px, 0, 0);
  }
}

@keyframes aball {
  from {transform: translateY(0)}
  to {transform: translateY(2px)}
}

.apareixer-dalt{
    animation: ApareixAmunt 1s forwards;
}

@keyframes ApareixAmunt {
  from {transform: translateY(-15px); opacity:0}
  to {transform: translateY(0px); opacity: 1}
}

.apareixer-dreta{
  animation: ApareixDreta 0.5s forwards;
}

@keyframes ApareixDreta{
  from {transform: translateX(25px); opacity:0}
  to {transform: translateX(0px); opacity: 1}
}

.desapareixer-dreta{
  animation: DesapareixDreta 0.5s forwards;
}

@keyframes DesapareixDreta{
  from {transform: translateX(0px); opacity:1}
  to {transform: translateX(25px); opacity: 0}
}

.rotacio{
  -webkit-animation:spin 3s linear infinite;
  -moz-animation:spin 3s linear infinite;
  animation:spin 3s linear infinite;
}

/* rotacio */
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

.pulso{
  animation: pulse 2s infinite;
}
/* pulso */
@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(19, 132, 150, 0.4);
  }
  70% {
      -webkit-box-shadow: 0 0 0 10px rgba(19, 132, 150, 0);
  }
  100% {
      -webkit-box-shadow: 0 0 0 0 rgba(19, 132, 150, 0);
  }
}
@keyframes pulse {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(19, 132, 150, 0.4);
    box-shadow: 0 0 0 0 rgba(19, 132, 150, 0.4);
  }
  70% {
      -moz-box-shadow: 0 0 0 10px rgba(19, 132, 150, 0);
      box-shadow: 0 0 0 10px rgba(19, 132, 150, 0);
  }
  100% {
      -moz-box-shadow: 0 0 0 0 rgba(19, 132, 150, 0);
      box-shadow: 0 0 0 0 rgba(19, 132, 150, 0);
  }
}

/* QUERY SIZES */
@media (max-width: 1440px){
  #barra-progress-formulari .w-100{
    width:inherit !important;
  }
  /* IMATGE DAVALL MENU */
  .imatge-full-width-top{
    max-height:283px;
    min-height:283px;
    background-repeat:no-repeat;
    background-position: center center;
    background-size: cover;
  }
}

@media (max-width: 1140px){
  #barra-progress-formulari{
    font-size: 12px !important;
    white-space: nowrap !important;
    bottom: 0px;
    border-bottom:none;
    height: 70px;
  }
  #barra-progress-formulari .respostes-pendents{
    margin-top:5px;
  }

  #barra-progress-formulari  .container-boto-submit{
    text-align: center;
    margin-top: 5px;
  }

  /* IMATGE DAVALL MENU */
  .imatge-full-width-top{
    max-height:210px;
    min-height:210px;
    background-repeat:no-repeat;
    background-position: center center;
    background-size: cover;
  }

  .titol{
    width:80%;
    word-break: break-word;
  }

}

@media (max-width: 991px){
  .targeta-comissions{
    border-radius:0%;
    width:100%;
    min-height: fit-content;
  }
  .targeta-comissions-inside {
    border: 0px solid white; */
  }
  .bola-rodona::before{
    content: '.';
    min-width: 110px;
    border-radius: 50%;
    background-color: white;
    min-height: 95px;
    left: -46px;
    position: absolute;
    top: 24px;
  }
  /* IMATGE DAVALL MENU */
  .imatge-full-width-top{
    max-height:190px;
    min-height:190px;
    background-repeat:no-repeat;
    background-position: center center;
    background-size: cover;
  }

  .columna-titol-dreta{
    padding-right: 15px;
  }
}

@media (max-width: 995px){
  .limit-height{
    min-height: 0px !important;
    margin-bottom: 25px;
  }
  .checkbox-pregunta:nth-child(3n-1){
    margin: 0px 0px;
  }
}

@media (max-width: 600px){
  #barra-progress-formulari .w-100{
    width:inherit !important;
  }
  /* IMATGE DAVALL MENU */
  .imatge-full-width-top{
    max-height:90px;
    min-height:90px;
    background-repeat:no-repeat;
    background-position: center center;
    background-size: cover;
  }
}

@media (max-width: 425px){
  #barra-progress-formulari .w-100{
    width:inherit !important;
  }
  /* IMATGE DAVALL MENU */
  .imatge-full-width-top{
    max-height:90px;
    min-height:90px;
    background-repeat:no-repeat;
    background-position: center center;
    background-size: cover;
  }

  .titol{
    max-width: 70%;
  }
}

@media (max-width: 320px){
  #barra-progress-formulari .w-100{
    width:inherit !important;
  }
  /* IMATGE DAVALL MENU */
  .imatge-full-width-top{
    max-height:70px;
    min-height:70px;
    background-repeat:no-repeat;
    background-position: center center;
    background-size: cover;
  }

  .titol{
    max-width: 60%;
  }
}

@media (min-width: 1024px){
  #navbarSupportedContent{
    position: absolute !important;
    bottom: 1em !important;
    right: 0 !important;
  }
}

/* TAULA EN SCROLLBAR */
.scroll-taula {
position: relative;
max-height: 260px;
overflow: auto;
}

.table-wrapper-scroll-y {
display: block;
}

  /* width */
  .scroll-taula::-webkit-scrollbar {
    width: 15px;
    border-radius: 10px;
  }

  /* Track */
  .scroll-taula::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0);
  }

  /* Handle */
  .scroll-taula::-webkit-scrollbar-thumb {
    background-color: #999;
  }

  /* Handle on hover */
  .scroll-taula::-webkit-scrollbar-thumb:hover {
    background-color: #777;
  }
