	/* Import font from Google - Go to fonts.google.com, select a font and look for the import command */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');


/* Change some root colors and settings of the document */

:root {

    --cassiopeia-color-primary: #2884ab;
    --cassiopeia-color-link: #2885ad;
    --cassiopeia-color-hover: #23557f;

    --cassiopeia-font-family-body: "Open Sans";
    --cassiopeia-font-family-headings: "Open Sans";
    --cassiopeia-font-weight-headings: 700;
    --cassiopeia-font-weight-normal: 400;
    
    --blue: #0d6efd;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #d63384;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #198754;
    --teal: #20c997;
    --cyan: #0dcaf0;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --primary: #0d6efd;
    --secondary: #6c757d;
    --success: #198754;
    --info: #0dcaf0;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #212529;
    --primary-rgb: 13, 110, 253;
    --secondary-rgb: 108, 117, 125;
    --success-rgb: 25, 135, 84;
    --info-rgb: 13, 202, 240;
    --warning-rgb: 255, 193, 7;
    --danger-rgb: 220, 53, 69;
    --light-rgb: 248, 249, 250;
    --dark-rgb: 33, 37, 41;
    --white-rgb: 255, 255, 255;
    --black-rgb: 0, 0, 0;
    --body-color-rgb: 33, 37, 41;
    --body-bg-rgb: 255, 255, 255;
    --font-sans-serif:"Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --body-font-family: var(--cassiopeia-font-family-body);
   /* --body-font-size: 2rem;*/
    --body-font-weight: 400;
    --body-line-height: 1.5;
    --body-color: #383838;
    --body-bg: white;
}


/* Use the importeed font (See first lines of the document) on the page: On Google you can also find the CSS instruction for using the font. If you put this in the body element then the font will be used on the whole website. */

body{
      color: rgb(51, 51, 51);
      font-family: "Open Sans", sans-serif;
      font-size : 16px;
      line-height: 24px;
}



/* The page header of Cassiopeia has the class "header" so you control it with .header */

.header {
    background: white;
    /*background: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(119, 9, 121, 1) 35%, rgba(0, 212, 255, 1) 100%);*/
    text-align: center;
   box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15) !important;

}

.container-header .container-nav {
 /* padding-bottom: 1em;
  padding-top: 1em;*/
  align-items: center;
}

.container-header .container-search {
margin-top: 0em;
}
.container-header nav {
margin-top: 0em;
}

.mod-languages {
   font-weight:400;
   font-size:16px;
   line-height: 24px;
   float: right;
  /* padding-right: 40px;
  padding-top: 52px;*/
  color: black;
}

.mod-languages ul li.lang-active {
    font-weight: 700;
}




.footer {
    background: --cassiopeia-color-primary;
    background-image: none;
}
.footer .grid-child {
  padding-bottom: 0em;
  padding-top:0em;
}
.footerlinks {
    background: --cassiopeia-color-primary;
    background-image: none;
    padding-bottom: 1em;
    padding-top:1em;

}

.footerlinks a {
  text-decoration: none;
}
.footerlinks a:hover {
  text-decoration: none;
}
.footerxarxes {
    background: #f6f6f6;
    background-image: none;
    padding-bottom: 1em;
    padding-top:1em;
    padding-left:1em;
    color: #000000;
}
.container-header .navbar-toggler {
  color: black;
}


.encaptit{
    text-align: center;
    font-weight: 400; 
    font-size: 46px; 
    color: #ffffff; 
    text-shadow: #777777 1px 1px 1px; 
    text-align: center;
}

h1{

  text-align: center
}

h2{
  color: rgb(51, 51, 51);
  font-family: "Open Sans", sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 36px;
  margin-bottom: 10px;
  margin-top: 20px;
  text-align: center
}

.azulito{
  color: rgb(40, 132, 171);
}



h3{
  color: rgb(51, 51, 51);
  font-family: "Open Sans", sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
  text-align: center;
}


h4{
  color: rgb(51, 51, 51);
  font-family: "Open Sans", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 26px;
  margin-bottom: 20px;
  text-align: center;
}

h5{
  color: rgb(51, 51, 51);
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 18px;
  margin-bottom: 30px;
  text-align: center;
}

.txt-left{
  text-align: left;
}

hr{
  color: rgb(40, 133, 173);
  border-bottom-style: solid;
  border-bottom-width: 0.8px;
  opacity: 0.75;
}

.buscportada {
  background-color: rgb(40, 132, 171);
  color: rgb(255, 255, 255);
}

.enlacemetaportada{
  font-size: 14px; 
  font-weight: 100; 
  color: #fff; 
  text-decoration: none;
}

.cuadrogris{
  background-color: rgba(222, 218, 218, 0.3);
box-sizing: border-box;
color: rgb(51, 51, 51);
font-size: 14px;
line-height: 24px;
padding-bottom: 20px;
padding-left: 20px;
padding-right: 20px;
padding-top: 20px;
position: relative;
width: 360px;
z-index: 1
}

.rosa{
  background-color: rgb(247, 237, 237);
}

.cuadrosazules{
  background-color: rgba(40, 133, 173, 0.1);
  
}

.fondocuadrosrosas{
  background-color: rgb(247, 237, 237);
  column-gap: 2%;
 
}
.cuadrosrosas{
background-color: rgba(255, 255, 255, 0.5);
margin-bottom: 10px;
margin-top: 10px;
margin-left: 5px;
width: 23%;
}

.filacuadrosazules{
  column-gap: 2%;
}

.cuadrosazulescongap{
  background-color: rgba(40, 133, 173, 0.1);
  margin-bottom: 10px;
  margin-top: 10px;
  margin-left: 5px;
  width: 31%;
  padding-top: 20px;
}

nav-tabs {
  border-bottom: 2px solid #e5e5e5;
}


.nav-tabs .nav-item .nav-link {
   font-weight: 700;
   color: black;
}
.nav-tabs .nav-item .nav-link.active {
  font-weight: 700;
  color: rgb(40, 132, 171);
}


  /* Animation */
  
  @keyframes fadeInUp {
      from {
          transform: translate3d(0,200px,0)
      }
  
      to {
          transform: translate3d(0,0,0);
          opacity: 1
      }
  }
  
  @-webkit-keyframes fadeInUp {
      from {
          transform: translate3d(0,200px,0)
      }
  
      to {
          transform: translate3d(0,0,0);
          opacity: 1
      }
  }
  
  .animated {
      animation-duration: 2s;
      animation-fill-mode: both;
      -webkit-animation-duration: 2s;
      -webkit-animation-fill-mode: both
  }
  
  .animatedFadeInUp {
      opacity: 0
  }
  
  .fadeInUp {
      opacity: 0;
      animation-name: fadeInUp;
      -webkit-animation-name: fadeInUp;
  }

  .encapqs {
    margin: 0px 0px 0px 0px;
  margin-top: 0px;
padding: 80px 0px 250px 0px;
background-image: url(../../../../../images/2019/02/13/elcomprimido.jpg);
background-repeat: no-repeat;
background-size: cover;
background-attachment: scroll;
background-position: 50% 50%;
  }

  .encapmeta {
    margin: 0px 0px 0px 0px;
    margin-top: 0px;
    padding: 80px 0px 250px 0px;
    background-image: url(../../../../../images/2019/01/31/editades-9t2a1205-copia.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position: 50% 50%;
    }
  
  .encapor {
    margin: 0px 0px 0px 0px;
    margin-top: 0px;
    padding: 80px 0px 250px 0px;
    background-image: url(../../../../../images/2019/10/15/elcomprimido-recursos-electronics4.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position: 50% 50%;
    }
  
  .encapfarma {
    margin: 0px 0px 0px 0px;
    margin-top: 0px;
    padding: 80px 0px 250px 0px;
    background-image: url(../../../../../images/2019/02/04/elcomprimido-farmacovigilancia.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position: 50% 50%;
    }

  .encapboletin {
    margin: 0px 0px 0px 0px;
    margin-top: 0px;
    padding: 80px 0px 250px 0px;
    background-image: url(../../../../../images/2018/12/11/farmacovigilancia_elcomprimido.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position: 50% 50%;
    }
  
  .encapareaib {
    margin: 0px 0px 0px 0px;
    margin-top: 0px;
    padding: 80px 0px 250px 0px;
    background-image: url(../../../../../images/2019/02/04/elcomprimido-area-ibsalut.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position: 50% 50%;
    }
  

.encappildoras{
    margin: 0px 0px 0px 0px;
    margin-top: 0px;
    padding: 80px 0px 250px 0px;
    background-image: url(../../../../../images/2019/10/15/elcomprimido-noticias.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position: 50% 50%;
    
}

      

/* Timeline */
.container-timeline {
    position: relative;
  }
  
  .container-timeline ul {
    margin: 0;
    padding: 0;
    padding-left: 20px;
    display: inline-block;
    
  }
  
  .container-timeline ul li {
    list-style: none;
    margin: 0;
    border-left: 1px solid rgb(40, 133, 173);
    padding: 0 0 30px 40px;
    position: relative;
    
  }
  
  .container-timeline ul li:last-child {
    border: 0;
  }
  
  .container-timeline ul li::before {
    position: absolute;
    left: -10px;
    top: 0;
    content: " ";
    border: 1px solid  rgb(40, 133, 173);
    border-radius: 5px;
    background:  rgb(40, 133, 173);
    height: 20px; 
    width: 20px;
    text-align: center;
    line-height: 20px;
  }

  


  .textcenterbig {
    color: rgb(51, 51, 51);
    font-size: 28px;
    line-height: 36px;
    text-align: center;
  }

.icontitle {
    color: rgb(40, 133, 173);
    font-size: 100px;
    line-height: 96px;
    text-align: center;
    font-weight: 400;
    font-stretch: 100%;
    -webkit-transition: all 400ms;
    transition: all 400ms;

 }

.icon-zoomin:hover {
  transform: scale(1.2);
  -webkit-transform: scale(1.2);

}

.icontitlepetit {
  color: rgb(40, 133, 173);
  font-size: 54px;
  line-height: 54px;
  text-align: left;
  font-weight: 400;
  font-stretch: 100%;
  padding: 10px 10px 10px 10px;
}



.card {
  margin: 20px;
  background-color: rgba(247, 237, 237, 1);
  padding: 10px 10px 10px 10px;
  height: 230px;

}



.card-text {
color: rgb(136, 136, 136);
display: block;
font-size: 12px;
line-height: 24px;
text-align: center
}

.card-title {
color: rgb(51, 51, 51);
display: block;
font-size: 16px;
font-weight: 700;
line-height: 24px;
text-align: center;
}

.card-img-top{
  width: 25% ;
  align-self: center;
}

.accordion-item{
  --bs-accordion-btn-padding-y: 0.5rem;
}

.readmore{
  text-align: center;
}


a:not([class]) {
  text-decoration: none;
}  

a {
  text-decoration: none;
}  

a:not([class]):hover {
  text-decoration: underline;
}  

a:hover {
  text-decoration: underline;
} 

/* Color the principal menu item in the menu with the class .metismenu.mod-menu ..metismenu-item */
/* cosas de menu */
.metismenu.mod-menu .metismenu-item {
    color: #0c0c0c;
  font-family: 'Open Sans';
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  padding: .5em 8px;
  
}
.metismenu.mod-menu .metismenu-item:hover {
    color: #0c0c0c;
  font-family: 'Open Sans';
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  text-decoration: underline;
}
.metismenu.mod-menu .metismenu-item .level-2,.metismenu.mod-menu .metismenu-item .level-3, .metismenu.mod-menu .metismenu-item .level-4, .metismenu.mod-menu .metismenu-item .level-5, .metismenu.mod-menu .metismenu-item .level-6 {
  font-size: 12px;
  line-height: 14px;
  color: #0c0c0c;
}

/* boton triangulo */
.metismenu.mod-menu .mm-toggler::after {
  -webkit-margin-start: .35em;
  border-left: .35em solid transparent;
  border-right: .35em solid transparent;
  border-top: .35em solid;
  content: "";
  height: 0;
  margin-inline-start: .35em;
  transition: all .3s ease-out;
  width: 0;

}
.metismenu.mod-menu .metismenu-item a{
    font-size: 14px;
  line-height: 14px;
  color: #0c0c0c;
  text-transform: uppercase;
  

}
.metismenu.mod-menu .metismenu-item a:hover{
    font-size: 14px;
  line-height: 14px;
  color: #0c0c0c;
  text-decoration: underline;
  
}

/*coses de pagines pol web*/
.encappolweb{
  color: white;
  background-color: #2884ab;
  padding-left: 35px;
}
.encappolwebl{
  color: white;
  text-align: left;
  
}

.polwebcap{
  margin: 0 0 20px;
  font-size: 14px;
  text-transform: uppercase;
  line-height: 1;
}

.polwebmenu li{
  display: block;
  border-bottom: 1px solid #e8e8e8;

} 

.polwebmenu li:hover {
  display: block;
  border-bottom: 1px solid #e8e8e8;
  background-color: #e8e8e8;

} 

.polwebmenu li a{
  line-height: 36px;
  color: black;
  text-decoration: none;
  font-size: 14px;
}

.polwebmenu li a:hover{
  line-height: 36px;
  color: #2884ab;
  text-decoration: none;
  font-size: 14px;
  
}
.polwebmenu li a:before{
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f105";
  margin-right: 8px;
}
.polwebmenu li a:active{
  text-decoration: none;
}

/* coses Miquel */
/* sombreado slide */
.carousel-caption h1{
text-shadow: 1px 1px 6px #777;
}

#mod-custom164 {
  padding-top: 40px;
  padding-bottom: 20px;
}

div.mod-languages ul li.lang-active {
  /* background-color: #f0f0f0; */
  background-color: white;
}

div.mod-languages li {
  /* margin: 0 .5rem; */
  margin: 0;
}

div.mod-languages a {
  /* padding: .5rem; */
   color: black;
  padding: .2rem;
}

div.mod-languages a:hover{
 color: black;
 text-decoration: underline; 
}