@charset "UTF-8";
/* CSS Document */

@media (min-width: 992px) {
  body {
    font-size:16px;
    line-height:22px;
  }
	.container,
  nav.tabs,
  .user-login-form,
  #sliding-popup .popup-content {
	  width: 970px;
	}
  .h2, h2 {
    font-size: 22px;
    line-height: 26px;
  }
  .h3, h3 {
    font-size: 18px;
    line-height: 22px;
  }
  hr {
    margin: 30px 0;
  }
  .nav-tabs > li > a {
    padding: 10px;
  }
  .nav-tabs > li.active > a,
  .nav-tabs > li.active > a:focus,
  .nav-tabs > li.active > a:hover {
    padding: 15px 10px 10px 10px;
  }
  header {
    padding: 50px 0 4px 0;
  }
  header.fixed {
    padding: 10px 0 0 0;
  }
  .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
    margin-left: -15px;
    margin-top: 2px;
  }
  header.fixed .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
    margin-top: 4px;
  }
  header .navbar-default .navbar-brand img {
    width:200px;
  }
  header.fixed .navbar-default .navbar-brand img {
    width:240px;
  }
  header.fixed .navbar-default .navbar-header {
    margin-bottom: 0;
  }
  header .navbar-default .navbar-header .xarxes {
    padding-top: 5px;
    margin-left: 12px;
  }
  header.fixed .navbar-default .navbar-header .xarxes {
    padding-top: 4px;
  }
  header .navbar-default .navbar-header .xarxes a {
    width:28px;
    height:28px;
    margin: -2px 0;
  }
  header #menu-principal {
    float:right;
    text-align:right;
    margin-top: 0;
  }
  header.fixed #menu-principal {
    margin-top: 20px;
  }
  header .navbar-default .navbar-nav > li a,
  header .navbar-default .navbar-nav > li.dropdown span {
    padding: 8px 8px;
  }
  header.fixed .navbar-default .navbar-nav > li a {
    padding: 2px 8px;
  }
  header.fixed #menu-secondari .navbar-nav a,
  header.fixed #menu-secondari .navbar-nav span {
    padding: 4px 8px;
  }
  header .navbar-default .navbar-toggle {
    padding: 8px 0;
  }
  header.fixed .navbar-default .navbar-toggle {
    padding: 3px 0;
  }
  header #menu-secondari {
    top: 51px;
    right: 10px;
  }
  header.fixed #menu-secondari {
    top: 57px;
  }
  header .navbar-default .xarxes {
    right: 0;
}
  header .navbar-default .frequencia {
    right: 14px;
    top: -30px;
  }
  header.fixed .navbar-default .frequencia {
    top: -2px;
  }
  header .navbar-default .frequencia img {
    width: 80px;
  }
  header.fixed .navbar-default .frequencia img {
    width: 60px;
  }
  header #menu-secondari .navbar-nav .dropdown > .dropdown-menu a {
    font-size: 11px;
  }
  .directe-cont {
    font-size: 12px;
  }
  .directe-cont.fixed {
    font-size: 11px;
  }
  .directe-cont .directe,
  .directe-cont .acontinuacio,
  .directe-cont .more {
    height: 60px;
  }
  .directe-cont .directe .foto-directe {
    /*display: block;*/
  }
  .directe-cont .directe .foto-directe img {
    margin-top: -20px;
  }
  .directe-cont.fixed .directe .foto-directe img {
    margin-top: 1px;
  }
  .directe-cont .directe .info-directe {
    padding: 10px 0 0 64px;
  }
  .directe-cont.fixed .directe .info-directe {
    padding: 4px 0 0 50px;
  }
  .directe-cont .directe .info-directe {
    padding: 14px 0 0 130px;
  }
  .spinner {
    left: 60px;
  }
    .directe-cont .directe .info-directe .programa {
      font-size: 20px;
      line-height: 26px;
      letter-spacing: -1px;
    }
    .directe-cont.fixed .directe .info-directe .programa {
      font-size: 16px;
      line-height: 16px;
      font-weight:600;
    }
    .directe-cont .directe a:after {
      top: 6px;
    }
    .directe-cont.fixed .directe a:after {
      top: 7px;
      width: 30px;
      height: 30px;
    }
    .directe-plens-cont.fixed {
      top: 86px;
    }
    .directe-plens-cont a:after {
      right: 24px;
    }

  .spinner-btn {
    top: -20px;
    left: -16px;
  }
    .spinner-btn:after {
      top: 25px;
      right: 25px;
      width:50px;
      height:50px;
    }
  .fixed .spinner-btn {
    top: -28px;
    left: -92px;
  }
    .fixed .spinner-btn:after {
      top: 33px;
      right: 33px;
      width: 34px;
      height: 34px;
    }

  .directe-cont .acontinuacio-prog {
    margin-left: -17px;
  }
  .directe-cont .acontinuacio-prog .info {
    padding: 10px 0 0 30px;
  }
  .directe-cont.fixed .acontinuacio-prog .info {
    padding: 4px 0 0 30px;
  }
  .directe-cont .acontinuacio-prog .programa {
    font-size: 14px;
    line-height: 24px;
    letter-spacing: -.5px;
  }
  .directe-cont.fixed .acontinuacio-prog .programa {
    font-size: 14px;
    line-height: 14px;
    font-weight: 400;
    letter-spacing: -.5px;
  }
  .directe-cont .programa-next {
    left: 36px;
    top: 10px;
  }
  .directe-cont.fixed .programa-next {
    top: 3px;
  }
  .directe-cont .arrow-right {
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 12px solid green;
    margin-right: 26px;
  }
  .directe-cont.fixed .arrow-right {
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
  }
  .directe-cont .acontinuacio-prog:nth-child(1) .arrow-right {
    margin-right: 24px;
  }
  .directe-cont .acontinuacio-prog:nth-child(1) .info {
    padding-left: 140px;
  }
  .directe-cont .more a {
    width: 30px;
    height: 30px;
    margin-top: 14px;
  }
  .directe-cont.fixed .more a {
    margin-top: 7px;
    margin-right: 1px;
  }
  .titol-principal-cont {
    margin-top: 40px;
  }
  .titol-seccio {
    margin: 18px 0;
    margin-top:0!important;
  }
  /*.noticies-item,
  .noticies-publi,
  .lateral-contactar {
    height: 390px;
  }
  .noticies-item.gran,
  .noticies-item.gran + .noticies-publi {
    height: 570px;
  }*/
  .noticies-publi,
  .lateral-publi,
  .lateral-contactar {
    position: relative;
    padding: 0;
  }
  .noticies-publi .banner,
  .lateral-publi .banner,
  .lateral-contactar .banner {
    padding: 6px;
  }
  .noticies-item .imatge .peu-foto {
    font-size: 10px;
    line-height: 12px;
  }
  .noticies-item.gran .descripcio .titol {
    font-size: 22px;
    line-height: 26px;
  }
  .noticies-item .descripcio .titol {
    font-size: 18px;
    line-height: 22px;
  }
  .essencials-home {
    padding-bottom: 30px;
  }
  .noticia-item .descripcio .titol {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -1px;
    margin-bottom: 20px;
  }
  .noticia-item .descripcio p {
    font-size: 14px;
    line-height:22px;
  }
  .noticia-rel-item .descripcio .titol {
    font-size: 16px;
    line-height: 22px;
  }
  .noticia-rel-item {
    height: 320px;
  }
  .menu-esportsmini {
      top: -10px;
  }
  .menu-seccio,
  .menu-esportsmini ul {
    line-height: 26px;
    padding-left: 30px;
    width: auto;
  }
  .menu-esportsmini ul {
    padding-left: 0;
  }
  .menu-seccio > li+li:before,
  .menu-esportsmini ul > li+li:before {
    padding: 0 4px;
    top: -1px;
  }
  .programes-llista-alacarta .programes-item {
    height: 230px;
  }
  .programes-item {
/*    height: 250px;*/
    margin-bottom: 20px;
  }
  .programes-item .descripcio .titol {
    font-size: 22px;
    line-height: 22px;
  }
  .programes-item .descripcio .subtitol {
    font-size: 16px;
    line-height: 20px;
  }
  .programa-item .descripcio .titol {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -1px;
  }
  .programa-item .descripcio .subtitol {
    font-size: 18px;
    line-height: 22px;
  }
  .programa-item .descripcio .horari {
    font-size: 16px;
    line-height: 18px;
  }
  .programa-item .descripcio p {
    font-size: 14px;
    line-height: 18px;
  }
  .programa-item.fils .descripcio p {
    font-size: 16px;
    line-height: 20px;
  }

  .programa-item .descripcio .presenta {
    width: 130px;
    height: 130px;
  }
  .programa-item.fils .descripcio .presenta {
    width: 160px;
    height: 160px;
  }
  .essencials-home .essencial,
  .essencials-alacarta .essencial {
    height: 300px;
    padding-right:30px;
  }
  .essencials-alacarta .essencial .iframe:after {
    left: 10px;
    right: 29px;
  }
  .podcasts-cont .podcasts:nth-child(odd) {
    padding-left:0;
    padding-right:10px;
  }
  .podcasts-cont .podcasts:nth-child(odd):after {
    left: 0;
    right: 10px;
  }
  .podcasts-cont .podcasts:nth-child(even) {
    padding-right:0;
    padding-left:10px;
  }
  .podcasts-cont .podcasts:nth-child(even):after{
    left: 10px;
    right: 0;
  }
  .jp-progress {
/*    width: 160px!important;*/
  }
  .graella .nav-tabs li {
    width:14.28%;
    min-width: inherit;
  }
  .graella table tr > td {
    padding:12px 4px;
    line-height:26px;
  }
  .graella table tr > td:first-child {
    width: 14%;
  }
  .graella table tr > td:last-child {
    padding: 14px;
  }
  .graella table tr > td h3 {
    font-size: 18px;
    line-height: 20px;
    margin-bottom: 4px;
  }
  .graella table tr > td h4 {
    font-size: 14px;
    line-height: 16px;
  }
  .docents-item {
    padding-left: 0;
    padding-right: 30px;
  }

  .field--name-field-cursos .modal-dialog .modal-body {
    max-height: 380px;
  }
  .programes-llista > .titol-principal {
    margin-top: -7px;
  }
  footer {
    padding: 20px 0;
  }
  footer .brand img {
    width: 200px;
  }
  footer .menu-peu li a {
    padding: 6px 14px;
  }
  footer .copy {
    font-size: 12px;
    line-height: 16px;
  }
  footer .xarxes a {
    width: 36px;
    height: 36px;
  }
  footer .menu-peu,
  footer .brand {
    margin-bottom: 14px;
  }
  footer .copy {
    margin-bottom: 24px;
  }
}

@media (max-height: 640px) {
  header #menu-secondari .navbar-nav .dropdown > .dropdown-menu li {
    float:left;
  }
}