@charset "utf-8";

/* ****************************************************************************
 * REGION STYLES for all 'Formació' regions
 * ****************************************************************************
 */



/*
 * PAGE Curs
 * ****************************************************************************
 */
.tm-formacio-curs-main-wrapper {
  display               : table-cell;
  vertical-align        : top;
}

.tm-formacio-curs-main {
  background-color      : #E6E6E6;
  border-top            : 4px solid #000000;
  border-bottom         : 4px solid #000000;
  font-size             : 14px;
  width                 : 585px;
  padding               : 10px;
}

.tm-formacio-curs-main h1 {
  font-size             : 24px;
  font-weight           : bold;
  margin                : 5px 0px 30px 0px;
}

.tm-formacio-curs-main .tm-node-subtitle div {
  font-family           : Palatino,"Palatino Linotype","Palatino LT STD","Book Antiqua",Georgia,serif;
  font-size             : 22px !important;
  font-weight           : bold;
  margin                : -20px 0px 30px 0px;
}

.tm-formacio-curs-main h2 {
  font-size             : 20px;
  font-weight           : bold;
  margin                : 10px 0px 0px 0px;
}

.tm-formacio-curs-main h3 {
  font-size             : 16px;
  font-weight           : bold;
  margin                : 0px 0px 0px 0px;
}

.tm-formacio-curs-main h3 {
  font-family           : 'Arimo', sans-serif;
  font-size             : 16px;
  font-weight           : bold;
  margin                : 0px 0px 0px 0px;
}

.tm-page-node .tm-widget-content .tm-formacio-curs-main div,
.tm-page-node .tm-widget-content .tm-formacio-curs-main p,
.tm-page-node .tm-widget-content .tm-formacio-curs-main a,
.tm-page-node .tm-widget-content .tm-formacio-curs-main li {
  font-size             : 16px;
  line-height           : 22px;
}

.tm-page-node .tm-widget-content .tm-formacio-curs-main .tm-formacio-curs-itinerari {
  font-size             : 10px;
  line-height           : normal;
  text-transform        : uppercase;
}

.tm-page-node .tm-widget-content .tm-formacio-curs-main .tm-formacio-curs-itinerari a,
.tm-page-node .tm-widget-content .tm-formacio-curs-main .tm-formacio-curs-itinerari a:visited {
  color                 : #000000;
  font-size             : 10px;
  line-height           : normal;
  text-transform        : uppercase;
}

.tm-page-node .tm-widget-content .tm-formacio-curs-main li {
  margin-bottom         : 0px;
  padding-bottom        : 0px;
}

.tm-page-node .tm-widget-content .tm-formacio-curs-main ol,
.tm-page-node .tm-widget-content .tm-formacio-curs-main ul {
  margin-left           : 0px;
  padding-top           : 4px;
  padding-bottom        : 10px;
}

.tm-page-node .tm-widget-content .tm-formacio-curs-main ol ol,
.tm-page-node .tm-widget-content .tm-formacio-curs-main ol ul,
.tm-page-node .tm-widget-content .tm-formacio-curs-main ul ul,
.tm-page-node .tm-widget-content .tm-formacio-curs-main ul ol {
  margin-left           : 10px;
  padding-top           : 0px;
  padding-bottom        : 10px;
}

.tm-page-node .tm-widget-content .tm-formacio-curs-main ol:last-child > li:last-child > ol:last-child,
.tm-page-node .tm-widget-content .tm-formacio-curs-main ol:last-child > li:last-child > ul:last-child,
.tm-page-node .tm-widget-content .tm-formacio-curs-main ul:last-child > li:last-child > ul:last-child,
.tm-page-node .tm-widget-content .tm-formacio-curs-main ul:last-child > li:last-child > ol:last-child {
  padding-bottom        : 0px;
}


.tm-formacio-curs-secondary-wrapper {
  display               : table-cell;
  vertical-align        : top;
  width                 : 100%;
}

.tm-formacio-curs-secondary {
  margin-left           : 20px;
}



/*
 * PAGE Curs - Professors
 * ****************************************************************************
 */
.tm-page-node .tm-widget-content .tm-formacio-curs-main .field-name-field-lecturers .field-item:last-child .tm-node-body p:last-child {
  padding-bottom        : 0px;
}



/*
 * PAGE Curs - Preus
 * ****************************************************************************
 */
.tm-page-node .tm-widget-content .tm-formacio-curs-main .field-collection-item-field-course-price div {
  display               : inline;
}

.tm-page-node .tm-widget-content .tm-formacio-curs-main .field-name-field-course-user-type .field-item:after {
  content               : ":";
}


/*
 * PAGE Ajuts
 * ****************************************************************************
 */
.tm-formacio-ajuts-wrapper {
  position              : relative;
  margin-top            : 30px;
}

.tm-formacio-ajuts {
  float                 : left;
  border-top            : 1px solid;
  width                 : 420px;
}

.tm-formacio-ajuts + .tm-formacio-ajuts {
  float                 : right;
}

.tm-formacio-ajuts .tm-formacio-ajuts-row-1 .tm-region-title {
  background-color      : #E6E6E6;
  height                : 60px;
  padding               : 30px 20px 30px 20px;
}

.tm-formacio-ajuts .tm-formacio-ajuts-row-1 .tm-region-title h2 {
  margin                : 0px;
}

.tm-formacio-ajuts .tm-formacio-ajuts-row-2 {
  margin-top            : 20px;
  min-height            : 290px;
}

.tm-formacio-ajuts .tm-formacio-ajuts-row-3 {
  margin-top            : 20px;
}

.tm-formacio-ajuts-collegiats-atur .tm-formacio-ajuts-row-1 .tm-region-title {
  background            : #E6E6E6 url('../images/formacio/mans.png') no-repeat 280px center;
}

.tm-formacio-ajuts-collegiats-atur .tm-formacio-ajuts-row-2 .tm-region-title {
  background            : url('../images/formacio/docs.png') no-repeat left bottom;
  position              : relative;
  height                : 70px;
}
.tm-formacio-ajuts-collegiats-atur .tm-formacio-ajuts-row-2 .tm-region-title h3 {
  position              : absolute;
  bottom                : 0px;
  left                  : 65px;
  margin                : 0px 0px 0px 0px;
}

.tm-formacio-ajuts-collegiats-atur .tm-formacio-ajuts-row-3 .tm-region-title {
  background            : url('../images/formacio/gent.png') no-repeat left bottom;
  position              : relative;
  height                : 70px;
}
.tm-formacio-ajuts-collegiats-atur .tm-formacio-ajuts-row-3 .tm-region-title h3 {
  position              : absolute;
  bottom                : 0px;
  left                  : 65px;
  margin                : 0px 0px 0px 0px;
}

.tm-formacio-ajuts-formacio-bonificada .tm-formacio-ajuts-row-1 .tm-region-title {
  background            : #E6E6E6 url('../images/formacio/edifici.png') no-repeat 280px center;
}

.tm-formacio-ajuts-formacio-bonificada .tm-formacio-ajuts-row-2 .tm-region-title {
  background            : url('../images/formacio/docs.png') no-repeat left bottom;
  position              : relative;
  height                : 65px;
}
.tm-formacio-ajuts-formacio-bonificada .tm-formacio-ajuts-row-2 .tm-region-title h3 {
  position              : absolute;
  bottom                : 0px;
  left                  : 70px;
  margin                : 0px 0px 0px 0px;
}

.tm-formacio-ajuts-formacio-bonificada .tm-formacio-ajuts-row-3 .tm-region-title {
  background            : url('../images/formacio/gent.png') no-repeat left bottom;
  position              : relative;
  height                : 70px;
}
.tm-formacio-ajuts-formacio-bonificada .tm-formacio-ajuts-row-3 .tm-region-title h3 {
  position              : absolute;
  bottom                : 0px;
  left                  : 65px;
  margin                : 0px 0px 0px 0px;
}



/*
 * REGION Formacio
 * ****************************************************************************
 */
.tm-formacio-bloc-distribucio {
  float                 : left;
  width                 : 427px;
  margin-top            : 25px;
}

.tm-formacio-bloc-distribucio .top {
  background-color      : #E6E6E6;
  height                : 165px;
}

.tm-formacio-bloc-distribucio .bottom {
  background-color      : #000000;
  color                 : #FFFFFF;
  height                : 135px;
  padding               : 5px 12px 8px 12px
}

.tm-formacio-bloc-distribucio .bottom a {
  display               : block;
  overflow              : hidden;
  color                 : #FFFFFF;
  font-family           : Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
  font-size             : 22px;
  font-weight           : normal;
  line-height           : 1.3em;
  text-overflow         : ellipsis;
  white-space           : nowrap;
  margin-top            : 12px;
  margin-bottom         : 16px;
}

.tm-formacio-bloc-distribucio .bottom p {
  font-size             : 16px;
  line-height           : 1.2em;
  margin                : 0;
  padding               : 0;
}

.tm-formacio-bloc-distribucio-even {
  margin-left           : 20px;
}


/*
 * REGION Itineraris
 * ****************************************************************************
 */
.tm-region-itineraris .view-content {
  display               : flex;
  flex-direction        : row;
  flex-wrap             : wrap;
  justify-content       : space-between;
  margin                : 0px 0px;
}

.tm-region-itineraris .view-content .views-row {
  width                 : 157px;
  padding               : 0px 0px;
}

.tm-region-itineraris .tm-region-node-item {
  float                 : left;
  border-top            : 4px solid #000000;
  height                : 150px;
  width                 : 137px;
  /*margin-left           : 15px;*/
  margin-bottom         : 15px;
  padding               : 0px 10px 0px 10px;
}
/*
.tm-region-itineraris .views-row-1 .tm-region-node-item,
.tm-region-itineraris .views-row-6 .tm-region-node-item,
.tm-region-itineraris .views-row-11 .tm-region-node-item,
.tm-region-itineraris .views-row-16 .tm-region-node-item,
.tm-region-itineraris .views-row-21 .tm-region-node-item,
.tm-region-itineraris .views-row-26 .tm-region-node-item {
  margin-left           : 0px;
}*/

.tm-region-itineraris .tm-region-title a,
.tm-region-itineraris .tm-region-title a:visited {
  display               : inline-block;
  color                 : #FFFFFF;
  font-size             : 18px;
  font-weight           : normal;
  line-height           : 1.2em;
  padding-top           : 0px;
}


/*
 * REGION Cursos
 * ****************************************************************************
 */
.tm-region-formacio-cursos {
  margin-bottom         : 30px;
}

.tm-region-formacio-cursos .tm-formacio-curs-resum h3,
.tm-region-formacio-cursos .tm-formacio-curs-resum h3 a,
.tm-region-formacio-cursos .tm-formacio-curs-resum h3 a:visited {
  color                 : #FFFFFF;
}

.tm-region-formacio-cursos .tm-formacio-curs-resum-edicions {
  position              : absolute;
  bottom                : 0px;
  line-height           : 18px;
  width                 : 90%;
  margin-bottom         : 10px;
}

.tm-formacio-curs-resum-edicions .tm-label {
  font-weight           : bold;
}

.tm-region-formacio-cursos .tm-region-node-item {
  margin-top            : 0px;
}

.tm-region-formacio-cursos .tm-formacio-curs-resum .field-content {
  text-overflow         : ellipsis;
  overflow              : hidden;
  max-width             : 100%;
}



/*
 * REGION Altres Cursos
 * ****************************************************************************
 */
.tm-region-formacio-cursos-altres .tm-formacio-curs-resum h3,
.tm-region-formacio-cursos-altres .tm-formacio-curs-resum h3 a,
.tm-region-formacio-cursos-altres .tm-formacio-curs-resum h3 a:visited {
  color                 : #000000;
}



/*
 * REGION Edicions
 * ****************************************************************************
 */
.tm-region-node-list.tm-region-formacio-edicions .tm-region-node-item {
  border-top            : none;
  border-bottom         : 1px solid black;
  margin                : 0px 0px 5px 0px;
  padding               : 0px 0px 10px 0px;
}

.tm-region-node-list.tm-region-formacio-edicions .tm-region-title {
  font-size             : 24px;
}

.tm-region-node-list.tm-region-formacio-edicions .tm-region-node-item-container {
  font-family           : Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
  font-size             : 14px;
  font-weight           : bold;
}



/*
 * REGION Edicions obertes
 * ****************************************************************************
 */
.tm-formacio-curs-edicions-obertes-list {
  border-top            : 4px solid #000000;
  font-size             : 14px;
  margin-bottom         : 30px;
  padding               : 5px 0px 0px 0px;
}

.tm-formacio-curs-edicions-obertes-list h2 {
  background-color      : #000000;
  color                 : #FFFFFF;
  font-family           : 'Arimo', sans-serif;
  font-size             : 14px;
  font-weight           : normal;
  line-height           : 60px;
  text-transform        : uppercase;
  margin                : 0px 0px 0px 0px;
  padding-left          : 15px;
}

.tm-formacio-curs-edicions-obertes-list .tm-formacio-curs-inscriute {
  display               : block;
  background-color      : #E53E43;
  color                 : #FFFFFF;
  font-size             : 21px;
  font-weight           : bold;
  line-height           : 40px;
  text-align            : center;
  text-transform        : uppercase;
  vertical-align        : middle;
  margin-top            : 5px;
}



/*
 * REGION Edicions tancades
 * ****************************************************************************
 */
.tm-formacio-curs-edicions-tancades-list {
  border-top            : 4px solid #000000;
  font-size             : 14px;
  padding               : 5px 0px 0px 0px;
}

.tm-formacio-curs-edicions-tancades-list h2 {
  background-color      : #000000;
  color                 : #FFFFFF;
  font-family           : 'Arimo', sans-serif;
  font-size             : 14px;
  font-weight           : normal;
  line-height           : 60px;
  text-transform        : uppercase;
  margin                : 0px 0px 0px 0px;
  padding-left          : 15px;
}

.tm-formacio-curs-edicions-tancades-message {
  background-color      : #E6E6E6;
  font-size             : 15px;
  padding               : 8px;
}



/*
 * REGION Edicions programades
 * ****************************************************************************
 */
.tm-formacio-curs-edicions-programades-list {
  border-top            : 4px solid #000000;
  font-size             : 14px;
  padding               : 5px 0px 0px 0px;
}

.tm-formacio-curs-edicions-programades-list h2 {
  background-color      : #000000;
  color                 : #FFFFFF;
  font-family           : 'Arimo', sans-serif;
  font-size             : 14px;
  font-weight           : normal;
  line-height           : 60px;
  text-transform        : uppercase;
  margin                : 0px 0px 0px 0px;
  padding-left          : 15px;
}

.tm-formacio-curs-edicions-programades-message {
  background-color      : #E6E6E6;
  font-size             : 15px;
  padding               : 8px;
}



/*
 * Formulari inscripció
 * ****************************************************************************
 */
/*.tm-formacio-curs-tarifa .form-radios .form-type-radio {
  display               : block;
}

.tm-formacio-curs-tarifa .form-radios .form-type-radio,
.tm-formacio-curs-tarifa .form-radios .form-type-radio + .form-type-radio {
  margin-left           : 0px;
}*/

form.formacio-inscripcio-curs .tm-formacio-curs-tarifa {
  width                 : 100%;
}

form.formacio-inscripcio-curs .form-actions input.form-submit {
  width                 : 330px;
}

.view-formacio-inscripcio-curs .view-content {
  margin-top            : 20px;
}

form .nota-legal {
  border: 1px solid #E5E5E5;
  font-size: 14px;
  max-width: calc(100% - 26px);
  max-height: 400px;
  padding: 6px 12px;
  overflow-y: scroll;
}



/*
 * COMMON - Bloc resum d'un curs
 * ****************************************************************************
 */
.tm-region-formacio-cursos > .view-content {
  display               : flex;
  flex-direction        : row;
  flex-wrap             : wrap;
  justify-content       : space-between;
  margin                : 0;
}

.tm-region-formacio-cursos .view-content .views-row {
  width                 : 202px;
  padding               : 0px 0px;
}

/*.tm-region-formacio-cursos .node-item {
  width                 : 182px;
  padding               : 0 10px;
}*/

.tm-formacio-curs-resum .tm-region-node-item {
  float                 : left;
  border-top            : 4px solid #000000;
  border-bottom         : 0px none;
  color                 : #FFFFFF;
  font-size             : 13px;
  font-weight           : normal;
  position              : relative;
  width                 : 182px;
  height                : 182px;
  margin                : 10px 0px 10px 0px;
  padding               : 0px 10px 0px 10px;
}

.tm-formacio-curs-resum .tm-region-node-item h3,
.tm-formacio-curs-resum .tm-region-node-item h3 a,
.tm-formacio-curs-resum .tm-region-node-item h3 a:visited {
  color                 : #FFFFFF;
  font-size             : 18px;
  font-weight           : bold;
  margin-top            : 10px;
}

.tm-formacio-curs-resum.tm-nocolor .tm-region-node-item {
  background-color      : #E6E6E6;
  color                 : #000000;
}

.tm-formacio-curs-resum.tm-nocolor .tm-region-node-item h3,
.tm-formacio-curs-resum.tm-nocolor .tm-region-node-item h3 a,
.tm-formacio-curs-resum.tm-nocolor .tm-region-node-item h3 a:visited {
  color                 : #000000;
}



/*
 * HOME Teaser list - Formació
 * ****************************************************************************
 */
.tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos {
  margin                : 0px 0px 0px 0px;
}

.tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos .tm-region-formacio-header {
  background            : #000000;
  height                : 40px;
  margin                : 0px 0px 3px 0px;
  padding               : 15px 10px 10px 15px;
}

.tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos .tm-region-formacio-header,
.tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos .tm-region-formacio-header a,
.tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos .tm-region-formacio-header a:active,
.tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos .tm-region-formacio-header a:focus,
.tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos .tm-region-formacio-header a:hover,
.tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos .tm-region-formacio-header a:visited {
  color                 : #FFFFFF;
  font-family           : 'Arimo', sans-serif;
  font-size             : 22px;
  font-weight           : normal;
  text-transform        : uppercase;
}

.tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos .tm-region-formacio-header h2 {
  margin                : 0px 0px 0px 0px;
  padding               : 0px 0px 0px 0px;
}

.tm-page-frontpage .pane-formacio-edicions .pane-title {
  height                : 40px;
  margin                : 15px 0px 3px 0px;
  padding               : 15px 10px 10px 15px;
}

.tm-page-frontpage .pane-formacio-edicions .pane-title,
.tm-page-frontpage .pane-formacio-edicions .pane-title a,
.tm-page-frontpage .pane-formacio-edicions .pane-title a:active,
.tm-page-frontpage .pane-formacio-edicions .pane-title a:focus,
.tm-page-frontpage .pane-formacio-edicions .pane-title a:hover,
.tm-page-frontpage .pane-formacio-edicions .pane-title a:visited {
  background            : #000000;
  color                 : #FFFFFF;
  font-family           : 'Arimo', sans-serif;
  font-size             : 20px;
  font-weight           : normal;
  text-transform        : uppercase;
}

.tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos .tm-formacio-curs-resum {
  width                 : 100%;
}

.tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos .tm-formacio-curs-resum .tm-region-node-item {
  /*float                 : none;*/
  border-top            : 0px none;
  border-bottom         : 1px solid #000000;
  /*background-color      : #FFFFFF;
  color                 : #000000;*/
  width                 : calc(100% - 20px);
  height                : 130px;
  margin                : 0px 0px 0px 0px;
  /*padding               : 0px 0px 0px 0px;*/
}

.tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos .tm-formacio-curs-resum.tm-formacio-curs-resum-sense-edicions .tm-region-node-item {
  height                : auto;
}

.tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos .tm-formacio-curs-resum.views-row-last .tm-region-node-item {
  border-bottom         : 0px none;
}

.tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos h3 {
  display               : inline-block;
  padding               : 5px 0px 0px 0px;
}

.tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos h3 a,
.tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos h3 a:active,
.tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos h3 a:focus,
.tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos h3 a:hover,
.tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos h3 a:visited {
  font-family           : Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
  font-size             : 20px;
  font-weight           : bold;
  line-height           : 24px;
  margin-bottom         : 15px;
}

.tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos .tm-formacio-curs-resum-edicions {
  font-size             : 14px;
  padding               : 0px 0px 0px 0px;
}



/*
 * SIDEBAR Teaser list - Formació
 * ****************************************************************************
 */
.tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos {
  margin                : 0px 0px 0px 0px;
}

.tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos .tm-region-formacio-header {
  background            : #000000;
  height                : 40px;
  margin                : 0px 0px 3px 0px;
  padding               : 15px 10px 10px 15px;
}

.tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos .tm-region-formacio-header,
.tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos .tm-region-formacio-header a,
.tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos .tm-region-formacio-header a:active,
.tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos .tm-region-formacio-header a:focus,
.tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos .tm-region-formacio-header a:hover,
.tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos .tm-region-formacio-header a:visited {
  color                 : #FFFFFF;
  font-family           : 'Arimo', sans-serif;
  font-size             : 22px;
  font-weight           : normal;
  text-transform        : uppercase;
}

.tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos .tm-region-formacio-header h2 {
  margin                : 0px 0px 0px 0px;
  padding               : 0px 0px 0px 0px;
}

.tm-zone-sidebar .pane-formacio-edicions .pane-title {
  height                : 40px;
  margin                : 15px 0px 3px 0px;
  padding               : 15px 10px 10px 15px;
}

.tm-zone-sidebar .pane-formacio-edicions .pane-title,
.tm-zone-sidebar .pane-formacio-edicions .pane-title a,
.tm-zone-sidebar .pane-formacio-edicions .pane-title a:active,
.tm-zone-sidebar .pane-formacio-edicions .pane-title a:focus,
.tm-zone-sidebar .pane-formacio-edicions .pane-title a:hover,
.tm-zone-sidebar .pane-formacio-edicions .pane-title a:visited {
  background            : #000000;
  color                 : #FFFFFF;
  font-family           : 'Arimo', sans-serif;
  font-size             : 20px;
  font-weight           : normal;
  text-transform        : uppercase;
}

.tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos .tm-formacio-curs-resum {
  width                 : 100%;
}

.tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos .tm-formacio-curs-resum .tm-region-node-item {
  /*float                 : none;*/
  border-top            : 0px none;
  border-bottom         : 1px solid #000000;
  /*background-color      : #FFFFFF;
  color                 : #000000;*/
  width                 : calc(100% - 20px);
  height                : 130px;
  margin                : 0px 0px 0px 0px;
  /*padding               : 0px 0px 0px 0px;*/
}

.tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos h3 {
  display               : inline-block;
  padding               : 5px 0px 0px 0px;
}

.tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos h3 a,
.tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos h3 a:active,
.tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos h3 a:focus,
.tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos h3 a:hover,
.tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos h3 a:visited {
  font-family           : Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
  font-size             : 20px;
  font-weight           : bold;
  line-height           : 24px;
  margin-bottom         : 15px;
}

.tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos .tm-formacio-curs-resum-edicions {
  font-size             : 14px;
  padding               : 0px 0px 0px 0px;
}



/*
 * SCREEN 'regular' - between 1024px and 1279px
 * ****************************************************************************
 */
@media only screen and (min-width:1024px) and (max-width:1279px) {
  /* PAGE Curs
   --------------------------------------------------------------------------*/
  .tm-formacio-curs-main {
    width               : 485px;
  }

  .tm-formacio-curs-secondary {
    margin-left         : 10px;
  }

  /*#sidebar-second .tm-formacio-curs-secondary-wrapper {
    display             : block;
  }

  #sidebar-second .tm-formacio-curs-secondary {
    margin-left         : 0px;
  }

  .node-type-formacio-curs .tm-zone-formacio-curs .tm-top-separator {
    display             : none;
  }*/



  /* REGION Formacio
   --------------------------------------------------------------------------*/
  .tm-formacio-bloc-distribucio {
    width               : 335px;
  }

  .tm-formacio-bloc-distribucio .top a {
    display             : block;
    overflow            : hidden;
    position            : relative;
    width               : 335px;
    height              : 165px;
  }

  .tm-formacio-bloc-distribucio .top a img {
    left                : -50%;
    margin-left         : -46px;
    max-width           : none;
  }

  /* COMMON - Bloc resum d'un curs
   --------------------------------------------------------------------------*/
  .tm-region-formacio-cursos .view-content .views-row {
    width               : 220px;
  }

  .tm-formacio-curs-resum .tm-region-node-item {
    width               : 200px;
  }

  /* PAGE Ajuts
   --------------------------------------------------------------------------*/
  .tm-formacio-ajuts {
    width               : 335px;
  }
  .tm-formacio-ajuts-collegiats-atur .tm-formacio-ajuts-row-1 .tm-region-title {
    background          : #E6E6E6 url('../images/formacio/mans.png') no-repeat 210px center;
  }
  .tm-formacio-ajuts-formacio-bonificada .tm-formacio-ajuts-row-1 .tm-region-title {
    background          : #E6E6E6 url('../images/formacio/edifici.png') no-repeat 230px center;
  }
  .tm-formacio-ajuts .tm-formacio-ajuts-row-1 {
    min-height          : 440px;
  }
  .tm-formacio-ajuts .tm-formacio-ajuts-row-2 {
    min-height          : 290px;
  }
}


/*
 * SCREEN 'medium' - between 768px and 1023px
 * ****************************************************************************
 */
@media only screen and (min-width:768px) and (max-width:1023px) {
  /* PAGE Curs
   --------------------------------------------------------------------------*/
  .tm-formacio-curs-main {
    width               : 458px;
  }

  #sidebar-second .tm-formacio-curs-secondary-wrapper {
    display             : block;
  }

  #sidebar-second .tm-formacio-curs-secondary {
    margin-left         : 0px;
  }

  .node-type-formacio-curs .tm-zone-formacio-curs .tm-top-separator {
    display             : none;
  }

  /* PAGE Ajuts
   --------------------------------------------------------------------------*/
  .tm-formacio-ajuts {
    float               : none;
    width               : 100%;
    margin-top          : 20px;
  }
  .tm-formacio-ajuts .tm-formacio-ajuts-row-2 {
    min-height          : auto;
  }
  .tm-formacio-ajuts-collegiats-atur .tm-formacio-ajuts-row-1 .tm-region-title {
    background          : #E6E6E6 url('../images/formacio/mans.png') no-repeat 340px center;
  }
  .tm-formacio-ajuts-formacio-bonificada .tm-formacio-ajuts-row-1 .tm-region-title {
    background          : #E6E6E6 url('../images/formacio/edifici.png') no-repeat 340px center;
  }

  /* REGION Formacio
   --------------------------------------------------------------------------*/
  .tm-formacio-bloc-distribucio {
    margin-left         : 25px;
  }

  /* REGION Itineraris
   --------------------------------------------------------------------------*/
  .tm-region-itineraris .view-content {
    margin              : 0 -5px;
  }

  .tm-region-itineraris .view-content .views-row {
    width               : 147px;
    padding             : 0 5px;
  }

  .tm-region-itineraris .tm-region-node-item {
    width               : 127px;
  }

  .vocabulary-formacio-itineraris {
    width               : 478px;
  }

  /* COMMON - Bloc resum d'un curs
   --------------------------------------------------------------------------*/
  .tm-region-formacio-cursos .view-content .views-row {
    width               : 207px;
  }
}


/*
 * SCREEN 'small' - between 480px and 768px
 * ****************************************************************************
 */
@media only screen and (min-width:480px) and (max-width:767px) {
  /* PAGE Curs
   --------------------------------------------------------------------------*/
  .tm-formacio-curs-main {
    width               : 460px;
  }

  .tm-formacio-curs-main-wrapper {
    display             : block;
    margin-bottom       : 20px;
  }

  .tm-formacio-curs-secondary-wrapper {
    display             : block;
  }

  .tm-formacio-curs-secondary {
    margin-left         : 0px;
  }

  .node-type-formacio-curs .tm-zone-formacio-curs .tm-top-separator {
    display             : none;
  }

  /* PAGE Ajuts
   --------------------------------------------------------------------------*/
  .tm-formacio-ajuts {
    float               : none;
    width               : 100%;
    margin-top          : 20px;
  }
  .tm-formacio-ajuts .tm-formacio-ajuts-row-2 {
    min-height          : auto;
  }
  .tm-formacio-ajuts-collegiats-atur .tm-formacio-ajuts-row-1 .tm-region-title {
    background          : #E6E6E6 url('../images/formacio/mans.png') no-repeat 340px center;
  }
  .tm-formacio-ajuts-formacio-bonificada .tm-formacio-ajuts-row-1 .tm-region-title {
    background          : #E6E6E6 url('../images/formacio/edifici.png') no-repeat 340px center;
  }

  /* REGION Formacio
   --------------------------------------------------------------------------*/
  .tm-formacio-bloc-distribucio {
    margin-left         : 25px;
  }

  /* REGION Itineraris
   --------------------------------------------------------------------------*/
  .tm-region-itineraris .view-content {
    margin              : 0 -5px;
  }

  .tm-region-itineraris .view-content .views-row {
    width               : 147px;
    padding             : 0 5px;
  }

  .tm-region-itineraris .tm-region-node-item {
    width               : 127px;
  }

  .vocabulary-formacio-itineraris {
    width               : 478px;
  }

  /* COMMON - Bloc resum d'un curs
   --------------------------------------------------------------------------*/
  .tm-region-formacio-cursos .view-content .views-row {
    width               : 207px;
  }

}


/*
 * SCREEN 'lite' - smaller than 480px
 * ****************************************************************************
 */
@media only screen and (min-width:0px) and (max-width:479px) {

  /* PAGE Curs
   --------------------------------------------------------------------------*/
  .tm-formacio-curs-main-wrapper {
    display             : block;
  }

  .tm-formacio-curs-main {
    width               : calc(100% - 20px);
  }

  .tm-formacio-curs-secondary-wrapper {
    display             : block;
    margin-top          : 20px;
  }

  .tm-formacio-curs-secondary {
    margin-left         : 0px;
  }

  .node-type-formacio-curs .tm-zone-formacio-curs .tm-top-separator {
    display             : none;
  }

  /* REGION Formacio
   --------------------------------------------------------------------------*/
  .tm-formacio-bloc-distribucio {
    width                 : 100%;
  }

  .tm-formacio-bloc-distribucio-even {
    margin-left         : 0px;
  }

  .tm-formacio-bloc-distribucio .bottom {
    height              : auto;
  }

  /* REGION Itineraris
   --------------------------------------------------------------------------*/
  .tm-region-itineraris .view-content .views-row {
    width               : 48%;
  }

  .tm-region-itineraris .tm-region-node-item {
    width               : calc(100% - 20px);
    margin              : 8px 0px 8px 0px;
  }

  /* COMMON - Bloc resum d'un curs
   --------------------------------------------------------------------------*/
  .tm-region-formacio-cursos .view-content .views-row {
    width                 : 48%;
  }

  /* Formulari inscripció
   --------------------------------------------------------------------------*/
  form.formacio-inscripcio-curs .form-actions input.form-submit {
    width               : 100%;
  }

  /* COMMON - Bloc resum d'un curs
   --------------------------------------------------------------------------*/
  .tm-formacio-curs-resum .tm-region-node-item {
    width               : calc(100% - 20px);
    margin              : 8px 0px 8px 0px;
  }
  .tm-formacio-curs-resum .tm-region-node-item h3,
  .tm-formacio-curs-resum .tm-region-node-item h3 a,
  .tm-formacio-curs-resum .tm-region-node-item h3 a:visited {
    font-size           : 16px;
    line-height         : 1.2em;
  }

  /* HOME Teaser list - Formació
   --------------------------------------------------------------------------*/
  .tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos h3 a,
  .tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos h3 a:active,
  .tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos h3 a:focus,
  .tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos h3 a:hover,
  .tm-page-frontpage .tm-region-node-list.tm-region-formacio-cursos h3 a:visited {
    font-size           : 18px;
  }

  /* SIDEBAR Teaser list - Formació
   --------------------------------------------------------------------------*/
  .tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos h3 a,
  .tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos h3 a:active,
  .tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos h3 a:focus,
  .tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos h3 a:hover,
  .tm-zone-sidebar .tm-region-node-list.tm-region-formacio-cursos h3 a:visited {
    font-size            : 18px;
  }

}
