/* Add your css code here */

/*
Small screens are less than 601 pixels DP, medium screens are less than 993 pixels DP.

@media only screen and (max-width: 600px){}

@media (min-width: 601px) and (max-width: 993px) {}

*/

:root{
  --verd: #33adad;
  --carbassa: #fbc117;
  --groc: #FBC117;
  --turquesa: #009999;
  --gris: #545454;

}



/* Correccions al theme */

body .p-container-inner .w3-two-columns > .w3-col > .w3css--err{
  height: auto;
}

.w3-ul li {
  padding: 4px 8px;
}

/* FI
Correccions al theme */

/* Estils generals *************/

h1.page-title {
  line-height: 1.2em;
}

.svg-inline--fa{
  color: var(--verd);
}

.more-link{
  text-align: center;
    margin: 16px;
}

.more-link a{
  background-color: var(--verd);
  color: white;
  font-size: 1.5em;
  padding: 8px 24px;
  border-radius: 4px;
}

button, .w3css-content .w3-button{
  background-color: var(--groc);
  color: black;
  font-weight: 700;
  cursor: pointer;
}

.w3-block-title{
  color: var(--turquesa);
  line-height: 1.2em;
}

.w3-sidebar-second{
  border-radius: 10px;
}

.pager__item{
  font-size: 1.8em;
}

.form-submit{
  background-color: var(--groc);
  font-weight: 700;
}

.w3-input{
  border-color: var(--verd) !important;
}


@media only screen and (max-width: 600px){
  
  body h1.page-title{
    font-size: 25px;
  }

}

/* FI 
Estils generals ***********/

/* Capçalera *************************/

#open-nav-inner{
  float: right;
}

#open-nav-inner i, #open-nav-inner svg {
  background-image: url('/sites/default/files/user.svg');
  height: 33px;
  color: transparent;
  width: 33px;
  background-size: cover;
}


@media screen and (max-width: 992px){

  body .mobile-nav {
    margin-right: 100px;
  }

  #open-nav-inner{
    top: 0;
    right: 25px;
    position: absolute;
  }

}

/******************************
 * Portada
 ******************************/

/* Categories en portada ************/

.view-id-categories.view-display-id-block_1 .field-content a:before{
  /*content: "logo";
  display: block;
text-align: center;*/
}

.view-id-categories .svg-inline--fa{
  color: white;
}

.view-id-categories .view-content{
  text-align: center;
  border-radius: 8px;
}


/*
 * Especialitats
 ***************************************/
 
@media only screen and (max-width: 600px){
 
body .paragraph--id--5 .views-col{
    min-width: 159px;
  }
 
}
 
.paragraph--id--5 .views-col{
  min-width: 200px;
  min-height: 138px;
  padding-top: 14px!important;
}

/*
 * Graella bloc de cursos 
 ********************************************/

.paragraph--id--4{
  margin-top: 60px;
}

.paragraph--id--4 .viewsreference--view-title{
  display: none;
}

.view-id-cursos .view-filters{
  margin-bottom: 28px;
  margin-left: 30px;
  margin-right: 30px;
}



.view-id-cursos .view-filters .form--inline{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 17px 50px;

}



@media only screen and (max-width: 600px){

  .view-id-cursos  .view-filters .form--inline{
    align-items: center;
    flex-direction: column;
  }
}

.view-id-cursos .form-item-title{
  display: inline-block;
}

.paragraph--id--4 .field--name-w3css-content-title{
    text-align: center;
}

.paragraph--id--4 .form-item-title label,
.paragraph--id--4 .field--name-w3css-content-title{
  display: inline-block;
    font-size: 41px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px !important;
}

.view-id-cursos .form-item-title input{
  display: inline-block;
  width: auto;
}

.view-id-cursos input#edit-submit-cursos {
  padding-left: 45px;
  padding-right: 45px;
}

.view-id-cursos #edit-actions{
  display: inline-block;
}

.view-id-buscador_cursos .views-field-title,
.view-id-cursos .views-field-title, .view-id-cursos .views-field-field-nom-del-curs-public{
font-weight: 700;
border-top: solid 1px var(--verd);
padding-top: 5px;
margin-top: 5px;
  display: block;
  line-height: 1.5em;
}

.view-id-buscador_cursos .views-col,
.view-id-cursos .views-col{
  position: relative;
}

.view-id-cursos .views-field-field-imatge-del-curs img{
      border-radius: 11px;
}

.view-id-buscador_cursos .views-field-price,
.view-id-cursos .views-field-price__number{
  color: white;
  background-color: var(--verd);
  position: absolute;
  top: 25px;
  right: 15px;
  padding: 2px 9px;
  font-weight: 700;
  font-size: 20px;
}

.view-id-cursos .w3-padding {
  padding: 16px 24px !important;
  }

body.path-product .block-system-main-block .paragraph--type--tema .field{
/*  display: flex;
  justify-content: space-between;*/
  margin-bottom: 16px;
margin-top: 16px;
margin-left: 10%;
margin-right: 10%;
}
  
body.path-product .block-system-main-block .paragraph--type--tema .field__label{
  color: inherit;
  font-size: 1em;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 0;
}

body.path-product .block-system-main-block .paragraph--type--tema .field__label svg{
  width: 18px;
  margin-right: 8px;
}


body.path-product .block-system-main-block .paragraph--type--tema .field .field__item{
  float: right;
}

.ui-accordion-header.ui-state-active{
  border-color: var(--gris);
  background: var(--gris);
}

.views-field-field-palabras-clave2 li:before{
  content: "#";
  display: inline;
}

.views-field-field-palabras-clave2, .view-display-id-page_1 .views-field-field-categoria{
  height: 55px;
  overflow: hidden;
  /*text-transform: lowercase;*/
}

.views-field-field-palabras-clave2 li, .view-display-id-page_1 .views-field-field-categoria > div{
  background-color: var(--carbassa);
  display: inline-block;
  margin-right: 8px;
  border-radius: 8px;
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 0.85em;
  color: white;
}

.view-display-id-page_1 .views-field-field-categoria > div{
  padding: 4px 8px;
}

.view-id-buscador_cursos .svg-inline--fa,
.view-id-cursos .svg-inline--fa{
  color: var(--verd);
}

.view-id-cursos .views-field-field-duracion2 svg{
  margin-left: 1px;
  margin-right: 1px;
  font-size: 16px!important;
}

.view-buscador_cursos .views-field-field-duracion2, .view-buscador_cursos .views-field-field-modalidad3,
.view-cursos .views-field-field-duracion2, .view-cursos .views-field-field-modalidad3{
  text-transform: uppercase;
}

/* Bloc cursos iframe wordpress **************************/

body.path-cursos-wordpress header, body.path-cursos-wordpress #page-title, body.path-cursos-wordpress #footer-menu, body.path-cursos-wordpress .main-navigation-wrapper, body.path-cursos-wordpress #sliding-popup{
  display: none!important;
}


/* Fitxa del curs ******************************************/


@media only screen and (max-width: 600px){

  body.path-product .view-id-curs.view-display-id-block_1 .field-content{
    line-height: 20px;
  }
  
  body.path-product .view-id-curs.view-display-id-block_1 .views-field-field-modalidad3{
    min-width: 129px;
  }
  
  body.path-product .view-id-curs.view-display-id-block_1 .views-field-field-duracion2{
      min-width: 45px;
  }

}

.block-views-blockconvocatories-ecommerce-block-1 .view-empty{
  margin-bottom: 18px;
}

body.path-product .view-id-convocatories .view-content{
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1px 48px;
}


body.path-product .view-id-convocatories .view-content > div,
body.path-product .view-id-convocatories .views-field-title,
body.path-product .view-id-convocatories .views-field-field-convocatorias{
  display: inline-block;
}

body.path-product .view-id-convocatories .views-field-title{
    font-size: 2.5em;
    line-height: 1em;
}

body.path-product .view-id-convocatories .views-field-title svg{
  margin-bottom: 5px;
  margin-right: 18px;
}

body.path-product .field--name-field-aula{
  position: relative;
}

body.path-product .field--name-field-aula a{
padding-right: 24px;
background-color: transparent;
z-index: 2;
position: relative;
}

body.path-product .field--name-field-aula .ampliar{
left: -20px;
position: relative;
z-index: 1;
}

body.path-product .ui-dialog-title{
  display: none;
}


/* Bloc duplicat de add to cart per mòbils */
@media only screen and (min-width: 601px){

  body.path-product .w3css-content .block-views-blockcurs-block-2{
    display: none;
  }

}

@media only screen and (max-width: 600px){

  body.path-product .second-sidebar #block-views-block-curs-block-2{
    display: none;  
  }
  body.path-product .block-views-blockconvocatories-block-1{
    margin-bottom: 24px;
  }

}

body.path-product .layout__region--content{
  margin-left: 5%;
  margin-right: 5%;
  width: 90%;
}

@media only screen and (max-width: 600px){

  body.path-product .view-id-convocatories .views-field-field-convocatorias > div.field-content{
    height: 62px;
  }
  body.path-product .view-id-convocatories .views-field-field-convocatorias > div{
    padding-top: 0!important;
  }

}

body.path-product .block-views-blockconvocatories-ecommerce-block-1 .view-content{
  display: flex;
  flex-wrap: wrap; 
}

body.path-product .block-views-blockconvocatories-ecommerce-block-1 article .layout--twocol-section{
  gap: 20px;
  line-height: 1.5em;
  flex-wrap: nowrap;
}

body.path-product .block-views-blockconvocatories-ecommerce-block-1 article header{
  display: none;
}

body.path-product .block-views-blockconvocatories-ecommerce-block-1 article .layout__region--first{
  background-color: var(--groc);
  color: white;
  text-align: center;
    font-weight: 700;
  flex: 0 1 104px;
  line-height: 2em;
  padding-bottom: 15px;
  min-width: 114px;
}

body.path-product .block-views-blockconvocatories-ecommerce-block-1 article .layout__region--first .block-field-blocknodeconvocatoriafield-inici .mes{
    text-transform: uppercase;
}

body.path-product .block-views-blockconvocatories-ecommerce-block-1 article .layout__region--first .block-field-blocknodeconvocatoriafield-inici .dia{
  font-size: 3em;

}

body.path-product .block-views-blockconvocatories-ecommerce-block-1 article .layout__region--second{
  min-width: 318px;
}

body.path-product .block-views-blockconvocatories-ecommerce-block-1 article .layout__region--second .block-field-blocknodeconvocatoriafield-inici,
body.path-product .block-views-blockconvocatories-ecommerce-block-1 article .layout__region--second .block-field-blocknodeconvocatoriafield-inici div,
body.path-product .block-views-blockconvocatories-ecommerce-block-1 article .layout__region--second .block-field-blocknodeconvocatoriafield-finalitzacio,
body.path-product .block-views-blockconvocatories-ecommerce-block-1 article .layout__region--second .block-field-blocknodeconvocatoriafield-finalitzacio div
{
  display: inline-block;
  width: auto;
}


body.path-product .view-id-convocatories .views-field-field-convocatorias > div{
  width: 2ch;
  overflow: hidden;
  color: var(--groc);
  font-weight: 700;
  font-size: 3em;
padding-top: 15px;
  height: 85px;
}

body.path-product .view-id-convocatories .views-field-field-convocatorias-1{
  border-bottom: solid 3px var(--groc);
}

body.path-product .field--name-field-convocatorias .field__items{
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  gap: 24px 48px;
}

@media (max-width: 993px) {

  body.path-product .field--name-field-objetivos-del-curso,
  body.path-product .field--name-field__que-incluye-materiales-de{
    margin-top: 30px;
  }

  body.path-product .horizontal-tabs summary{
    color: var(--turquesa);
    font-size: 1.3em;
    border-bottom: var(--turquesa) 1px solid;
  }

}

@media (min-width: 994px) {


  body.path-product #page-title-inner{
    padding-right: 400px;
    padding-left: 10px;
  }

}

body.path-product #page-title-inner{
  padding-bottom: 35px;
}

@media (min-width: 601px) {

  #page-title-inner .views-field-field-categoria a:last-child:after, 
  #page-title-inner .views-field-field-modalidad3 a:last-child:after{
    content: '  | ';
    padding-left: 18px;
  }

}

@media (max-width: 600px) {

  body #block-views-block-curs-block-1 .views-row{
    gap: 12px;
  }

}

#block-views-block-curs-block-1 .views-row{
  display: flex;
  gap: 31px;
  justify-content: left;
}

@media (min-width: 994px) {
  body.path-product .second-sidebar{
    top: -188px;
    position: relative;
  }
}

#block-views-block-curs-block-2 .views-field-price__number,
.view-id-curs .views-field-price__number{
  font-size: 1.5em;
  color: var(--verd);
  font-weight: 700;
}

body.path-product #block-views-block-curs-block-2 .views-field-price__number, body.path-product #block-views-block-curs-block-2  .views-field-variations-target-id{
  max-width: 42%;
  margin-left: 0;
}

body.path-product #block-views-block-curs-block-2 .views-field-price__number{
  margin-top: 29px;
      float: left; 
}

body.path-product #block-views-block-curs-block-2 .field--type-list-string,
body.path-product #block-views-block-curs-block-2 .field--type-entity-reference
{
  font-size: 0.8em;
}

body.path-product #block-views-block-curs-block-2  .views-field-variations-target-id{
  margin-top: 17px;
      float: right; 
      margin-right: 21px;
}

body.path-product #block-views-block-curs-block-2  .views-field-variations-target-id input{
  padding: 2px 16px;
  border-radius: 11px;
  font-weight: 700;
  border: none!important;
}

body.path-product #block-views-block-curs-block-2 .views-field-field-numero-lecciones,
body.path-product #block-views-block-curs-block-2 .views-field-field-nivel{
  clear: both;
}

@media (min-width: 994px) and (max-width: 1400px) {

  body.path-product #block-views-block-curs-block-2  .views-field-variations-target-id{
    /*clear: left;*/
  }

}

body.path-product .views-field svg{
  color: var(--groc);
}

body.path-product #block-views-block-curs-block-2 .views-field svg{
  color: var(--turquesa);
  margin-right: 10px;
  width: 22px;
}

.view-id-curs .views-field-price__number{
  color: var(--turquesa);
}

form #edit-field-convocatoria-2244-wrapper .form-item label,
form #edit-field-convocatoria-wrapper .form-item label {
  padding-right: 0;
}

/* Pestanyes */

body.path-product .horizontal-tabs {
  border: none;
}

body.path-product .field-group-tabs-wrapper{
  margin-top: 48px;
}

body.path-product .field-group-tabs-wrapper ul.horizontal-tabs-list{
  display: flex;
  justify-content: left;
  gap: 13px;
  border-color: var(--verd);
}

body.path-product .field-group-tabs-wrapper  details[open] {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.path-product .field-group-tabs-wrapper ul, body.path-product .field-group-tabs-wrapper li{
  background-color: white;
  border-right: none;
}

body.path-product .field-group-tabs-wrapper li.horizontal-tab-button{
  border: var(--verd) 5px solid;
  border-bottom: 1px;
  /*border-radius: 41px;*/
  border-radius: 18px 18px 0 0;
  padding: 0px 24px;
  font-size: 1em;
  color: var(--verd);
}

@media only screen and (max-width: 600px){

  body.path-product .field-group-tabs-wrapper li.horizontal-tab-button{
    padding: 0px 2px;
  }
  
  .ui-accordion .ui-accordion-content{
    padding: 1em 2px;
  }
  
  .paragraph--type--tema{
    font-size: 13px;
  }
  
  body.path-product .block-system-main-block .paragraph--type--tema .field{
    margin-left: 1%;
    margin-right: 1%;
  }

}

body.path-product .field-group-tabs-wrapper li.selected{
  border-bottom: var(--verd) 5px solid;
  background-color: var(--verd);
  color: white;
}

body.path-product .field-group-tabs-wrapper li a:hover{
  background-color: inherit;
  color: inherit;
}

body.path-product .field.field__items > .field__item{
  display: block;
}

body.path-product .block-system-main-block .field__label{
  color: var(--verd);
  font-size: 1.5em;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
}

@media (min-width: 994px) {


  body.path-product .field--name-field-destinatarios2, body.path-product .field--name-field-objetivos-del-curso{
    /*max-width: 47%;
    float: left; */
  }
  
  body.path-product .field--name-field-destinatarios2{
    margin-right: 3%;
    padding-right: 5%;
  }

}

body.path-product .field--name-field-objetivos-del-curso .field__item p:before{
  content: '\00a0 \2714\0020';
  background-color: var(--groc);
  color: white;
  border-radius: 22px;
  padding: 4px 6px 0px 0px;
  font-size: 20px;
  line-height: 20px;
  height: 29px;
  display: inline-block;
  margin-right: 16px;
}

body.path-product .field--name-field-objetivos-del-curso .field__item{
 /* margin-left: 30px!important; */
  max-width: 100%;
}

body.path-product .field--type-image{
  margin-top: 24px;
}

body.path-product #block-amun-campus-masinformacion button{
  margin-top: 30px;
  margin-bottom: 30px;
  border: none;
  border-radius: 9px;
  font-size: 1.2em;
  width: 80%;
  margin-left: 10%;
}

/* barra lateral ****************/

/* blocs infos curs */

#block-views-block-curs-block-2{
  margin-bottom: 60px;
}

@media only screen and (max-width: 600px){

  #block-views-block-curs-block-2 .views-field-field-imatge-del-curs img{
  width: 100%;
  }
}

/* Bloc cursos relacionats */

.view-formacio-productes-.view-display-id-block_1{
  margin-top: 32px;
}

.view-formacio-productes-.view-display-id-block_1 h2{
  margin-bottom: 22px;
}

.view-formacio-productes-.view-display-id-block_1 .views-row{
  margin-bottom: 32px;
}

.view-formacio-productes-.view-display-id-block_1 .views-row > div{
  width: 50%;
  float: left;
}

.view-formacio-productes-.view-display-id-block_1 .views-row .views-field-field-imatge-del-curs{
  padding-right: 5%;
}



.view-formacio-productes-.view-display-id-block_1 .views-row .views-field-title{
  line-height: 1.3em;
  font-size: 0.9em;
}

.view-formacio-productes-.view-display-id-block_1 .views-row .views-field-field-palabras-clave2{
 /* width: 100%;
  clear: left;*/
  height: auto;
  width: 50%;
float: left;
}

.view-formacio-productes-.view-display-id-block_1 .views-row .views-field-field-palabras-clave2 ul{
  display: flex;
  flex-wrap: wrap;
}

.view-formacio-productes-.view-display-id-block_1 .views-row .views-field-field-palabras-clave2 ul li{
  color: white;
  background-color: var(--groc);
  font-size: 0.8em;
  padding: 0 4px;
  font-weight: 700;
  line-height: 1.1em;
  text-align: center;
}


/***************************
 * Checkout
 **********************/

.form-submit.cistella{
  background-color: grey;
  color: white;
}

/***************************
 * Bloc administratiu per editors
 **********************/

#block-amun-campus-menueditors{
  background-color: #ffff00ba;
}

#block-amun-campus-menueditors li:nth-child(odd){
  background-color: yellow;
}

#block-amun-campus-menueditors .w3-button{
  white-space: normal;
}



