/*
Theme Name: Divi Child
Theme URI: 
Description: Child theme for the Divi theme
Author: <a href="http://www.elegantthemes.com">Elegant Themes</a>
Author URI: 
Template: Divi
Version: 2.7.8
*/

/* Generated by Orbisius Child Theme Creator (http://club.orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/) on Sat, 06 Aug 2016 10:50:35 +0000 */

@import url('../Divi/style.css');

@media (min-width: 980px) {
  body.blog #left-area img {
    width: 45%;
    float: left;
    margin-right: 5%;
  }
  body.post-type-archive #left-area img {
    width: 45%;
    float: left;
    margin-right: 5%;
  }
}
/* Formulari */
#footer-widgets .gform_wrapper .top_label .gfield_label {
  display: none;
}
#footer-widgets .footer-widget li.gfield {
  padding-left: 0;
}
#footer-widgets .footer-widget li:before {
  display: none;
}

/* Menu */
body.single-post #top-menu #menu-item-86 a {
  color: #542d24;
}
body.single-project #top-menu #menu-item-67 a {
  color: #542d24;
}

body #main-header {
  background-image: url('http://www.pervirure.org.mialias.net/wp-content/uploads/2016/10/capcelera_OK_fons.jpg');
  background-size: cover;
}
.mobile_nav.closed,
.mobile_nav.opened {
  background-color: #542d24 !important;
}
#mobile_menu {
  background-color: #fff;
  color: #542d24;
}

footer .et_pb_widget a {
  color: #fff;
}

ul#gform_fields_1 input {
  background-color: rgba(255, 255, 255, 0.3);
}

.grid.projectes-resta .project,
.grid.destacats .project {
  width: calc(33.333% - 20px);
  margin: 10px;
}

.grid.projectes-resta .et_pb_portfolio_grid_items,
.grid.destacats .et_pb_portfolio_grid_items {
  display: flex;
  flex-wrap: wrap;
}

.post-type-archive-project img,
.post-type-archive-project .et_pb_blog_grid .et_pb_image_container img {
  height: 240px;
}

.project,
.et_pb_blog_grid .et_pb_post {
  border: none;
}

#main-header > .container {
  max-width: 90%;
  width: 100%;
}

@media (max-width: 1200px) {
  #top-menu li {
    display: inline-block;
    font-size: 14px;
    padding-right: 6px;
  }
}

@media (max-width: 1100px) {
  .et_header_style_left #logo,
  .et_header_style_split #logo {
    max-height: 80px;
  }

  html[lang='es-ES'] .et_header_style_left #logo,
  .et_header_style_split #logo {
    max-height: 60px;
  }

  html[lang='es-ES'] #top-menu li a {
    font-size: 13px;
  }

  .et_header_style_left #et-top-navigation,
  .et_header_style_split #et-top-navigation {
    padding-left: 140px !important;
  }
}

@media (max-width: 980px) {
  .grid.projectes-resta .project,
  .grid.destacats .project {
    width: calc(50% - 20px);
    margin: 10px;
  }
}

@media (max-width: 767px) {
  .grid.projectes-resta .project,
  .grid.destacats .project {
    width: calc(100% - 20px);
    margin: 10px;
  }
}
