/*
 Theme Name:   Divi Child
 Theme URI:    http://example.com/divi-child/
 Description:  Divi Child Theme
 Author:       John Doe
 Author URI:   http://example.com
 Template:     Divi
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  divi-child
 */
 @import url("../Divi/style.css");
 @import url('https://fonts.googleapis.com/css?family=Signika');
/* =Aquí empieza la personalización de tu tema
-------------------------------------------------------------- */
p { font-size: 17px; }
/*MEnú*/
body .et-fixed-header#main-header{ box-shadow: #999 0 2px 8px!important;}

p.text-slider-home {
  /*color: #E7B73B;*/
  color: #FCB703;
  font-weight: 600;
  font-size: 55px;
  line-height: 55px;
  font-family: 'Signika',Helvetica,Arial,Lucida,sans-serif;
  text-shadow:#000 0px 2px 4px;
}
@media (max-width: 600px) {
  p.text-slider-home { font-size: 40px; }
}


/* Title pagines */

section.et_pb_fullwidth_header{
  height:705px;
}
div.header-content{
  margin-right:0px !important;
}


div.header-content h1{
  text-align: center;
  font-size: 60px!important;
  font-family: 'Signika',sans-serif !important;
  padding-top: 200px;
  color: white;
  text-shadow: 0px 0px 3px #AAA;
  font-weight: 300 !important;
}

@media (max-width: 768px){
  div.header-content h1{
    font-size: 35px!important;
  }  
}
/* Fi Title pagines */
/* Home */



.page-id-75 .et_pb_section_1 .et_pb_button_module_wrapper{
  position: absolute;
  top: 50%;
  left: 50%;
}

.page-id-75 .et_pb_section_1 .et_pb_button_module_wrapper a{
  position: relative;
  z-index: 2;
  color: white;
  left: -50%;
  top: -50%!important;
}

#jrd_hl1 > .et_pb_column_1_4{margin-right:2.5%; padding: 0; width: 23%;}




/*Home Galeries*/
.jrd_galeries .post-content{display: none;}

/*
.jrd_galeries article .post-content{display: none;}

.home-galeries h2, .home-galeries p {
  position: relative;
  background-color: #00A0A3CC;
  color: white!important;
  padding: 5px;
}

.home-galeries h2 { top: -35px; }
.home-galeries p { top: -10px; }

@media (max-width: 1250px) {
  .home-galeries h2 { top: 5px; }
  .home-galeries p { top: 15px; }
}

@media (max-width: 980px) {
  .home-galeries .column.size-1of3 {
    margin-bottom: 40px;
  }
}
@media (max-width: 479px) {
  .et_pb_column .et_pb_blog_grid .column.size-1of1 .et_pb_post {
    margin-bottom: 30.5%!important;
  }
}

.home-galeries article > div { margin: -20px -20px -175px; }

*/

/* Home notícies */


/* Calendari events */
li.ecs-event {
 border: 1px solid #66666650;
 padding: 15px;
 margin-bottom: 10px;
}

li.ecs-event h4 {
 font-weight: 600;
 font-size: 20px;
 text-transform: uppercase;
}

th.ai1ec-weekday {
  background: #00a0a3!important;
  text-shadow: none;
  font-size: 20px;
  text-transform: capitalize;
  font-weight: 400!important;
  color: white!important;
}

.ai1ec-month-view .ai1ec-date {
  background-color: transparent;
  text-align: center;
  padding: 0.4em;
  text-shadow: none;
  font-size: 18px;
}

.ai1ec-month-view .ai1ec-date { margin-bottom: 5px; }

td.ai1ec-today a { color: #FFBF18!important; text-shadow:#333 0px 2px 4px;}
.entry-content .timely a, .comment-content .timely a, .site-footer .widget .timely a { color: #656565; }

.ai1ec-month-view td, .ai1ec-week-view td, .ai1ec-oneday-view td { border: none!important; }
table.ai1ec-month-view, .ai1ec-week-view table, .ai1ec-oneday-view table { border: none!important; }

div.ai1ec-posterboard-view.ai1ec-clearfix.ai1ec-posterboard-aligned > div:nth-child(1) > div { margin: 6px 20px 6px 0px; }
div.ai1ec-posterboard-view.ai1ec-clearfix.ai1ec-posterboard-aligned > div:nth-child(2) > div { margin: 6px 0px 6px 20px; }
@media (max-width: 599px) {
  div.ai1ec-posterboard-view.ai1ec-clearfix.ai1ec-posterboard-aligned > div:nth-child(1) > div { margin: 0px 0px 15px 0px; }
  div.ai1ec-posterboard-view.ai1ec-clearfix.ai1ec-posterboard-aligned > div:nth-child(2) > div { margin: 15px 0px 0px 0px; }
}

.ai1ec-posterboard-view .ai1ec-event-title a {
  font-weight: 400!important;
  color: #00a0a3!important;
}

/* Events home */
@media (min-width: 981px) {
  #post-75 div#vsel {
    float: none;
    display: flex;
  }

  #vsel .vsel-image-info{
   width: 100%!important;
   float: none!important;
 }

 #post-75 div#vsel > div {
  max-width: 320px;
  box-shadow: 0 1px 5px rgba(0,0,0,.3);
  box-sizing: border-box;
}

#post-75 div#vsel > div:nth-child(1), #post-75 div#vsel > div:nth-child(2) { margin-right: 5.5%; }

#post-75 div#vsel > div .vsel-meta, #post-75 div#vsel > div .vsel-image-info .vsel-info {
  width: 100%;
  float: none;
  padding: 10px;
}
}

#post-75 div#vsel > div img.vsel-image.wp-post-image {
  width: 100%;
  max-width: 100%;
  margin: 0;
  float: none;
  padding: 0;
  border: 0;
}

#post-75 div#vsel > div.vsel-nav.vsel-widget-hide { display: none; }
/* Taules */
table.taula-contingut th{color:#00a0a3!important; font-weight: 500;}
table.taula-contingut td, table.taula-contingut tr, table.taula-contingut th{border:1px solid #eee;}
table.taula-contingut tr:first-child{background-color: #cdcdcd91;text-align:center;}
table.taula-contingut tr:first-child th{color:black !important; font-weight: normal;text-transform: uppercase;}
/*table.organigrama-infantil th, table.tutoria-table th, table.organigrama-primaria th,table.quadre-professorat th{
  background-color:#00A0A391;
  font-size: 20px;font-weight: 500;
  color: black;
  text-transform: uppercase;
}
table.organigrama-infantil tr, table.organigrama-infantil td, table.organigrama-infantil th, 
table.tutoria-table tr, table.tutoria-table td, table.tutoria-table th,
table.quadre-professorat tr, table.quadre-professorat th, table.quadre-professorat td { 
  border: 2px solid #666; 
  }*/

  /* Taula quadre professorat - Infantil*/

/*
table.tutoria-table th {background-color:#00A0A391;font-size: 20px;font-weight: 500;color: black;text-transform: uppercase;}
table.tutoria-table tr, table.tutoria-table td, table.tutoria-table th { border: 2px solid #666; }
*/
/* Taula organigrama - Primaria*/
/*
table.organigrama-primaria tr:first-child {background-color:#00A0A391;font-size: 20px;font-weight: 500;color: black;text-transform: uppercase;}
table.organigrama-primaria tr, table.organigrama-primaria td, table.organigrama-primaria th { border: 2px solid #666; }
*/
/* Taula tutories i horaris - Primaria*/
/*
table.tutoria-table th {background-color:#00A0A391;font-size: 20px;font-weight: 500;color: black;text-transform: uppercase;}
table.tutoria-table tr, table.tutoria-table td, table.tutoria-table th { border: 2px solid #666; }
*/
/* Taula quadre professorat - Primaria*/
/*table.quadre-professorat tr:first-child {
  background-color:#00A0A391;
  font-size: 20px;
  font-weight: 500;
  color: black;
  text-transform: uppercase;
}

h4.quadre-professorat-title {
  color: black;
  font-size: 25px;
  font-weight: 600;
  }*/
/*
table.quadre-professorat tr, table.quadre-professorat td, table.quadre-professorat th { border: 2px solid #666; }
ul.quadre-professorat-llista li { font-size: 18px; }
table.quadre-professorat th { color: black!important; }
*/
/* Taula activitats complementàries */
/*
table.act-complementaries tr:first-child {
  background: #92D14F;
  color: black;
  font-size: 25px;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
}

table.act-complementaries tr:nth-child(2) {
  text-align: center;
  font-size: 18px;
  color: black;
  font-weight: 600;
}

table.act-complementaries tr, table.act-complementaries td, table.act-complementaries th { border: 2px solid #69AD3E; }
table.act-complementaries tr:first-child td { padding: 15px; }
table.act-complementaries th { color: black!important; }
*/
/* Taula horaris tutories */
/*table.tutoria-table tr:first-child {
  background: #DBE5F1;
  font-size: 25px;
  color: black;
}

table.tutoria-table tr:nth-child(2) {
  background: #DBE5F1;
  color: black;
  text-align: center;
  font-size: 18px;
}

table.tutoria-table tr, table.tutoria-table td, table.tutoria-table th { border: 2px solid black; }
table.tutoria-table th { color: black!important; }
*/
/* Taula característiques secundària */
/*table.carac-secundaria tr:first-child, table.carac-secundaria tr:last-child {
  background: #dbdbdb;
  color: black;
  font-size: 20px;
}

table.carac-secundaria tr, table.carac-secundaria td, table.carac-secundaria th {
  border: 2px solid black;
  color: black;
}

*/
/* calendari pag. Inici*/
#post-75 #ai1ec-container .ai1ec-calendar-toolbar {
 display:none;
}
#post-75 #ai1ec-container .ai1ec-pull-right {
  display: none;
}

#post-75 #ai1ec-container .ai1ec-pull-left {
 display:none;
}
#post-75 #ai1ec-container .ai1ec-btn-toolbar{
  display: none;
}

#post-75 #ai1ec-container .ai1ec-month-view .ai1ec-week div {
  max-height:55px !important;
}
#post-75 #ai1ec-container .ai1ec-month-view .ai1ec-event-time {
  display:none;
}

/* cookies format */
.cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-cookies-texto {
  background-color: #00a0a3;
  border-top: 1px solid #222222;
  border-bottom: none;
}

.cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-cookies-texto p { color: #ffffff; }

.cdp-cookies-alerta.cdp-cookies-tema-gris .cdp-cookies-texto a {
  color: #ffffff !important;
  font-weight: 600;
}

/* Notícies */

.noticies-blog article {
  /*max-width: 50%;*/
  margin: 0 auto 60px;
}

@media (max-width:500px){
  .noticies-blog article {
    max-width:100%;
  }
}




.top-sliders .et_pb_container.clearfix { min-height: 600px!important; }
/* top-sliders text */
.top-sliders h1 {
  font-size: 40px;
  text-transform: uppercase;
}
/* Formació del professorat */#post-87 .top-sliders h1 { text-shadow: black 0px 0px 1px; }

/* Taules TIM */
table.tim-inicial tr, table.tim-inicial td, table.tim-inicial th { border: 2px solid #F2F2F2; }
table.tim-mitja tr, table.tim-mitja td, table.tim-mitja th { border: 2px solid #F2F2F2; }
table.tim-superior tr, table.tim-superior td, table.tim-superior th { border: 2px solid #F2F2F2; }

.page-id-97 .verticalText {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.page-id-97 th, .page-id-97 td{
  min-width: 100px;
} 
.page-id-97 th{
  background-color:lightblue;
  /*padding:20px 3px;*/

}
.page-id-97 td,.page-id-97 th {
  text-align: center;
}
.page-id-97 td:nth-child(1){
  background-color: lightblue;
  font-weight: bold;
  /*padding:20px 3px;*/
}
.page-id-97 .nom-taller{
  font-weight:bold;
  font-size: 20px;
}

/* Equip humà #post-83 */
.equip-huma > div > div { padding: 6px 24px; border: 1px solid #eee; }
.equip-huma.et_pb_row.et_pb_row_4 { max-width: 510px; }
.equip-huma > div > div:nth-child(1) { background: #cdcdcd91; }
.equip-huma > div > div:nth-child(1) p { font-size: 14px;font-weight: 500; }

@media (min-width: 981px) {
  .et_pb_gutters3 .equip-huma .et_pb_column_1_2 .et_pb_module,
  .et_pb_gutters3 .equip-huma.et_pb_row.et_pb_row_4 .et_pb_column_4_4 .et_pb_module { margin-bottom: 0!important; }
}

/* Menus laterals */
/*.pdf-download a:after{content: "\f019" !important;font-family: FontAwesome!important;margin-left: 5px !important;}
.pdf-download-before a::before{content: "\f019";font-family: FontAwesome;margin-right: 5px;}*/
.menu-menu-infantil-container i.fa.fa-file-pdf-o, .menu-menu-primaria-container i.fa.fa-file-pdf-o, .menu-secundaria_menu-container i.fa.fa-file-pdf-o { margin-right: 10px; }
/* Alumnat avui */
body.page-id-3991 #page-container .et_pb_section_1 .et_pb_row_1 a.et_pb_button.pdf-download.et_pb_button_0::before{content: "\f1c1" !important; font-family: FontAwesome !important; font-size: 30px;padding-left:5px;}
/* Model pedagogic */
.page-id-4002 #page-container .et_pb_section_1 .et_pb_row_1 a.et_pb_button.pdf-download.et_pb_button_0::before{content: "\f1c1" !important; font-family: FontAwesome !important; font-size: 30px;padding-left:5px;}


#nav_menu-5 h4.widgettitle {
  font-size: 18px!important;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  padding-bottom: 0;
  background: #00A0A3;
  padding: 15px;
}

.menu-menu-historia-container ul, .menu-menu-infantil-container ul, .menu-menu-infantil-container ul, .menu-menu-primaria-container ul, .menu-secundaria_menu-container ul {
  list-style-type: none;
  border: 1px solid #fff;
  text-align: center;
  background: #eeeeee7a;
  padding: 0;
}

.menu-menu-historia-container ul li, .menu-menu-infantil-container ul li, .menu-menu-primaria-container ul li, .menu-secundaria_menu-container ul li{
  border: 1px solid #fff;
  font-size: 16px;
  padding: 15px;
  transition: 0.8s;
  margin-bottom: 0;
}

.menu-menu-historia-container ul li:hover, .menu-menu-infantil-container ul li:hover, .menu-menu-primaria-container ul li:hover, .menu-secundaria_menu-container ul li:hover { background-color: #e3e3e3; }
.menu-menu-historia-container ul li a, .menu-menu-infantil-container ul li a, .menu-menu-primaria-container ul li a ,.menu-secundaria_menu-container ul li a { color: #00A0A3!important; }
.menu-menu-infantil-container .current-menu-item, .menu-menu-primaria-container .current-menu-item, .menu-secundaria_menu-container .current-menu-item, .menu-menu-historia-container .current-menu-item { background: #e3e3e3!important; }


/* Formacio Professorat */
.page-id-87 .et_pb_column{
  margin-bottom:0px;
}
.page-id-87 .et_pb_column ul{
  padding-bottom:0px;
}
.page-id-87 .formacio-title{
  background-color: #cdcdcd91;
  font-size:20px;
  margin-top: 20px;
}
.page-id-87 .formacio-title p{
  font-weight: normal;
  text-align: center;


}
.page-id-87 .et_pb_row {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}
.page-id-87 .et_pb_row li{
  padding-top: 5px;
}


/* Fi Formació professorat */

/* Menu Top */
li#menu-item-186 ul.sub-menu * { background: rgba(255,255,255,0)!important; }
li#menu-item-186 > ul.sub-menu { background: rgba(255,255,255,0.81)!important; }
#top-menu-nav #top-menu li.current-menu-item.page_item.current_page_item > a {background: rgba(255,255,255,1)!important; }
#top-menu-nav #top-menu>li.current-menu-item.page_item.current_page_item a {background-color:transparent!important}
#top-menu-nav i.fa.fa-file-pdf-o { margin-right: 10px; }
/* body #et-top-navigation #top-menu-nav li.current-menu-item.current_page_item a */

@media (max-width: 981px){
  ul#mobile_menu{
    background-color: white !important;
    opacity: 0.97;
  }
}
/* Social icons */
.et-social-vimeo a:before { content: '\e09c'; }
/* Fi social icons */

/*Calendari infantil*/
.page-id-187 #ai1ec-container .ai1ec-calendar-toolbar {display:none;}
.page-id-187 #ai1ec-container .ai1ec-pull-right {display: none;}
.page-id-187 #ai1ec-container .ai1ec-pull-left {display:none;}
.page-id-187 #ai1ec-container .ai1ec-btn-toolbar{display: none;}
.page-id-187 #ai1ec-container .ai1ec-month-view .ai1ec-week div {max-height:55px !important;}
.page-id-187 #ai1ec-container .ai1ec-month-view .ai1ec-event-time {display:none;}
/* Fi Calendari infantil */

/*Calendari primaria - page-id-216*/
.page-id-216 #ai1ec-container .ai1ec-calendar-toolbar {display:none;}
.page-id-216 #ai1ec-container .ai1ec-pull-right {display: none;}
.page-id-216 #ai1ec-container .ai1ec-pull-left {display:none;}
.page-id-216 #ai1ec-container .ai1ec-btn-toolbar{display: none;}
.page-id-216 #ai1ec-container .ai1ec-month-view .ai1ec-week div {max-height:55px !important;}
.page-id-216 #ai1ec-container .ai1ec-month-view .ai1ec-event-time {display:none;}
/* Fi Calendari primaria */

/*Calendari secundaria*/
.page-id-249 #ai1ec-container .ai1ec-calendar-toolbar {display:none;}
.page-id-249 #ai1ec-container .ai1ec-pull-right {display: none;}
.page-id-249 #ai1ec-container .ai1ec-pull-left {display:none;}
.page-id-249 #ai1ec-container .ai1ec-btn-toolbar{display: none;}
.page-id-249 #ai1ec-container .ai1ec-month-view .ai1ec-week div {max-height:55px !important;}
.page-id-249 #ai1ec-container .ai1ec-month-view .ai1ec-event-time {display:none;}
/* Fi Calendari secundaria */
.home .ai1ec-event{ width: 48%; float: left; }
.home .ai1ec-date .ai1ec-month,.home .ai1ec-date .ai1ec-day,.home .ai1ec-date .ai1ec-weekday{ width: 30px; display: inline;}

/* Curs 2018-18 */

body.page-id-151 #page-container .et_pb_button_module_wrapper a.et_pb_button.pdf-download::before{content: "\f1c1" !important;font-family: FontAwesome!important;font-size: 30px;}
.page-id-151 a.pdf-download{width:100%;}

/* Solució barra nevegacio lateral sobre header navbar */

body.single-post header#main-header, body.search-no-results header#main-header, body.search-results header#main-header{
  background-color: white;
}

/* Fi Solució barra nevegacio lateral sobre header navbar */

/*FOOTER*/
.footer-widget li:before{ display: none;}
.footer-widget li{padding: 0!important; margin:0!important;}
.footer-widget li a:hover{text-decoration: underline!important;}
.footer-widget h4{ text-transform: uppercase;}
.footer-widget p{font-size: 14px; padding: 0!important;}

/* Robotica */
.fa.fa-file-pdf-o { margin-right: 10px; }

/* espais menú */
body #top-menu li li a { padding: 4px 20px; line-height: 22px; }

/* model pedagogic */
.model-pedagogic-imgs img { max-width: 720px; }

/* Footer widgets */
@media (min-width: 981px) {
  #main-footer #footer-widgets .footer-widget:nth-child(2), #main-footer #footer-widgets .footer-widget:nth-child(3), #main-footer #footer-widgets .footer-widget:nth-child(4) {
    margin-top: 5%;
  }
}


/* Responsive inici */

@media (max-width:450px){
  .page-id-75 .et_pb_slide_description p.text-slider-home{
    font-size: 25px;
    line-height: 27px;
  }
  .page-id-75 .et_pb_slide_description{
    padding-left:0px;
    padding-right:0px;
  }
  .page-id-75 .et_pb_slide_content div:nth-child(2){
    margin-top: 0px !important;
  }
  .page-id-75 .header-logo{
    max-width: 75%;
  }
}

@media (max-width:300px){
  .page-id-75 .et_pb_slide_description p.text-slider-home{
    font-size: 20px;
    line-height: 21px;
  }
}

/* ---------------- */
/*Galeria fotografica*/
@media (max-width: 500px){
  .et_pb_slider .et_pb_slide_0.et_pb_slide .et_pb_slide_description h1.et_pb_slide_title{
    font-size: 30px !important;
  }
}

/* THREE COLUMN PORTFOLIO GRID LAYOUT */

@media only screen and ( min-width: 768px ) {

  .three-column-grid .et_pb_grid_item {
    width: 28.333% !important;
    margin: 0 7.5% 7.5% 0 !important;
  }

  .three-column-grid .et_pb_grid_item:nth-child(3n) {
    margin-right: 0 !important;
  }

  .three-column-grid .et_pb_grid_item:nth-child(4n+1) {
    clear: unset !important;
  }

}

/* Categories */
.category article{
  width:42.9%;
  margin:20px;
  border: 1px solid #d8d8d8;
  padding:19px;
}
.category article > a{
  display: block;
  position: relative;
  margin-bottom: 30px;
  margin: -20px -20px 29px;
}
.category article p{
  font-size: 17px;
  line-height: 23.8px;
  font-weight:500; 
  font-family: 'Raleway',Helvetica,Arial,Lucida,sans-serif; 
}
.category article h2{
  font-size: 18px;
  line-height: 18px;
  font-weight:500; 
  font-family: 'Signika',Helvetica,Arial,Lucida,sans-serif;
}
.category article .post-meta{
  display:none;
}
.category #left-area{
  display: flex;
  flex-direction:row;
  flex-wrap:wrap;
}
@media (max-width:750px){
  .category .container{
    width: 100%
  }
  .category article{
    width:91%;
  }
  .category #left-area{
    flex-direction:column;
  }

}

/*Solució menu 06-11-18*/
@media all and (max-width: 995px){
  #et-top-navigation{padding-left: 200px !important;}
  nav#top-menu-nav ul#top-menu li.menu-item{ padding-right: 5px !important;}
}

@media all and (max-width:1120px){
  nav#top-menu-nav ul#top-menu li.menu-item{ padding-right: 5px !important;}
}

@media all and (max-width:1055px){
  #logo {max-height: 50% !important;}
  nav#top-menu-nav ul#top-menu li.menu-item a{ font-size: 17px !important;}   
}


/* ---------- */
#top-menu a{text-transform:uppercase!important; }