/* The article fills all the space between header & footer */
main,body{ display:flex; flex-direction:column;min-height:100vh; }
main,section.page{ flex:1; }

/* DATA TABLES FAWESOME */
table.dataTable thead .sorting_asc::after {
    font-family:"FontAwesome" !important;
    content:"\f077" !important;
    
}

table.dataTable thead .sorting_desc::after {
    font-family:"FontAwesome" !important;
    content:"\f078" !important;
     
}

table.dataTable thead .sorting::after {
    font-family:"FontAwesome" !important;
    content:"\f0dc" !important;

}

/* HELPERS */
a {
    color:#7066a7;
    text-decoration:none;
    
}

a:hover {

    color:#7066a7;
    
}

.btn-primary {
    background-color:#7066a7;
    border-color:#7066a7;
}

.btn-primary:hover {
    background-color:#7066a7;
    border-color:#7066a7;

}

.nav-link, .btn-link {
    color:#7066a7;
}

.nav-link:hover , .btn-link:hover {
    
    color:#7066a7;
    
}

#main-menu .nav-link:hover {
    color:#7066a7;
}

.text-decoration-none:hover {
    font-weight:normal;
}

.text-primary {
    color:#7066a7 !important;
}

.color-theme {
    color:#7066a7 !important;
}

.color-theme2 {
    color:#97b8c7 !important;
}

.bg-color-theme {
    background-color:#7066a7;
}

.bg-color-theme2 {
    background-color:#cccccc;
    border-color:#cccccc;
}

/* END HELPERS*/

.logo-header {
    max-width:330px;
}

p.titol-header {
    font-weight:bold;
    font-size:26px;
}

p.titol-header span {
    width:210px;
    line-height:1.1em;
    font-size: 46px;
    font-weight:600;
    color: #7066a7;
}

p.titol-header strong {
    font-weight:900;
}

.main-color {
    color:#7066a7;
}

.nav .nav-item a.nav-link {
    color:#707170;
}

.nav .nav-item .nav-link.active {
    color:#7066a7;
    font-weight:bold;
}

#menus-header {

text-align:right;
}

ul#main-menu {

    display: flex;
    align-items: flex-end;
    clear:both;
    width:100%;

}
ul#main-menu li {
    display: flex;
    align-items: flex-end;
}


ul#main-menu li a{

    display: flex;
    align-items: flex-end;
   

}

ul#top-menu {

    display:block;
    height:150px;


}

ul#top-menu li {

    width:150px;
    text-align:center;
    float:right;
}

ul#top-menu li a{
    border-top:1px solid #A9A8A9;
    border-bottom:1px solid #A9A8A9;
    

}

.btn.btn-secondary {
    text-transform:uppercase;
    border-radius:0;
    background:white;
    color:#7066a7;
    border:none;
}

.bic_calendar{

     height:400px;
 
 }
 .bic_calendar .table {
     padding-left:0;
     padding-right:0;
 }

 .bic_calendar .table tbody > tr > td {

    vertical-align: middle;
 }  

 #pre-footer {
    background: #f6eced;
    font-size:16px;
    
 }

 #pre-footer .thumbnail.pdf  {
   background: url('../img/form-pdf.jpg');
   width:100%;
    height:120px;
    display:block;
    background-size:cover;
 }

 #pre-footer .thumbnail.online  {
    background: url('../img/form-online.jpg');
    width:100%;
    height:120px;
    display:block;
    background-size:cover;
  }
 


#pre-footer .thumbnail p {
    position:relative;
    width:100%;
    height:120px;
    text-align:center;
    padding-top:50px;
    color:#7066a7;
    font-weight:bold;
    font-size:20px;
}

#pre-footer .thumbnail p:hover {
    background:rgba(204, 204, 204, 0.5);
}

 .bg-color-theme3 {
    background:#f6eced;
 }


 h1.title-underline::after{
    content: "";
    position: relative;
    width: 70px;
    height: 1px;
    display:block;
    margin:auto;
    margin-top:15px;
    border-bottom: 2px solid #A9A8A9;

}

 #foot-list {
     list-style:none;
     padding-left:0;
 }

 #footer {
    padding-top:20px;
    padding-bottom:20px;
    color:white !important;
    font-size:16px;
 }

 #footer a {
     color:white;
 }

 #footer a:hover {
    color:white;
    text-decoration:underline;
}

.back-to-top {
    position:fixed;
    bottom:20px;
    right:15px;
    z-index:99999;
    padding:10px;
    padding-left:15px;
    padding-right:15px;
    background:rgba(255, 255, 255, 0.418);
    border-radius:30px;
}

#menus-header .social-icons-header{
    font-size:20px;

    color:#707170
}

#menus-header .social-icons-header a{
    border:0;
    color:#707170
}

.carousel-item-link {
    cursor:pointer;
}

.dropdown-toggle::after {
    display:flex;
    align-self:center;
}

#topbar {
    font-size:16px;
}

.dropdown-item.active, .dropdown-item:active {

    color: var(--bs-dropdown-link-hover-color);
    background-color: var(--bs-dropdown-link-hover-bg);
  }

  .staff .img {
    width: 250px;
    height: 250px;
    margin: 0 auto;
      margin-bottom: 0px;
    margin-bottom: 0px;
    margin-bottom: 0px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background-size: 350px auto;
    background-position: -40px 0px;
    background-repeat: no-repeat;
  }

  .mt-n1 {
    margin-top: -0.25rem !important;
  }
  
  .mt-n2 {
    margin-top: -0.35rem !important;
  }
  
  #menu-mobile {
      position:absolute;
      right:0;
      z-index:9999;
      overflow:hidden;
      
  }

  #menu-mobile  .classy-menu.menu-on {
      overflow-y:hidden;
  }

  .classynav ul li.megamenu-item > a::after, .classynav ul li.has-down > a::after {
      content:"" !important;
  }

  .classynav ul li a {
    text-align:left;
  }

  .classynav > #nav {
      padding-left:0;
      margin-left:0;
  }

  .classy-nav-container a:hover, .classy-nav-container a:focus {
    color:#7066a7 !important;
  }

  /*
  #main-menu .nav-link {
      font-size:18px;
  }*/

#simposis .card {
  
}

#simposis .card-img-top {
    object-fit:contain;
}

@media (max-width: 1300px) {

    .vull-saber-mes-btn {
        font-size:12px;
    }

}