/*
Theme Name:     Divi Child
Theme URI:      http://example.com/
Description:    Theme enfant pour le theme Divi
Author:         Datcha Web
Author URI:     http://www.datcha.ca
Template:       Divi                             
Version:        0.1.0
*/

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

/*Single project*/
.mfp-title, .mfp-counter, .et-pb-controllers {
	display: none;
}
.wp-block-image figcaption {
	font-size: 16px;
}

/**/
.et_header_style_centered #main-header .logo_container {
  height: 150px !important;
  margin-bottom: 35px !important;
}
.et_header_style_centered #logo {
  max-height: 100% !important;
  margin-top: 20px;
}
.nav {
  margin-bottom: 0 !important;
}
#top-menu li li a {
	width: 200px !important;
	padding: 6px 10px !important;
	line-height: 135%!important;
	font-size: 14px !important;
	letter-spacing: 0.5px !important;
}
/* menu sec */
#et-secondary-menu .et-social-icons {
	margin-right: 35px !important;
}
#et-secondary-menu {
	padding-bottom: 0.75em !important
}
#et-secondary-nav > li a {
	color: #333 !important;
	background: none !important;
	padding: 3px 6px !important;
	border-radius: 50px;
}
.wpml-ls-item-fr a {
	border-radius: 50px;
}
#et-secondary-nav li {
	margin-right: 2px;
}
/**/
/* menu langues footer */

.wpml-ls-statics-footer .wpml-ls-current-language > a {
    color: #333;
    background-color: #e4e4e4;
}

.wpml-ls-legacy-list-horizontal a {
	padding: 3px 6px 6px !important;
	margin: 0 5px;
}

.wpml-ls-item-en a {
    background: none;
    color: #333 !important;
	border-radius:0 !important;
}

/**/
.et_pb_blog_0 .et_pb_post .post-meta, .et_pb_blog_0 .et_pb_post .post-meta a, #left-area .post-meta {
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
}
.et_pb_blog_0 .et_pb_post, .et_pb_blog_0.et_pb_bg_layout_light .et_pb_post .post-content p, .et_pb_blog_0.et_pb_bg_layout_dark .et_pb_post .post-content p {
  letter-spacing: 0.01em !important;
}
.home .et_pb_post {
  margin-bottom: 0 !important;
}
.et_pb_post h2 {
  margin-top: 25px !important;
  padding-bottom: 3px !important;
}
 /*.home .et_pb_text_inner > h2 {
 font-size: 32px!important;
}*/
.et_pb_promo_button.et_pb_button {
  background: rgba(0, 0, 0, 0.4) none repeat scroll 0 0!important;
}
.et_pb_button {
  background: transparent none repeat scroll 0 0!important;
  border: 0!important;
  border-radius: 0!important;
}
.et_pb_button.boutonshop { /*home*/
  background: #777 none repeat scroll 0 0!important;
  color: #fff!important;
  font-size: 18px!important;
  text-transform: uppercase!important;
}
.wc-gallery .gallery .gallery-icon a { /*nextgen gallery in portfolio*/
  display: inline-block;
}
.wc-gallery .gallery-caption p {
  text-align: center !important;
}
.wc-gallery-captions-show .gallery-caption {
  background-color: #fff !important;
}
#gallery-1 img, #gallery-3 img, #gallery-4 img  {
  border: 1px solid #ccc;
}
.magalerie img  {
  padding: 10px;
}
.porto h3 {
  margin-bottom: 1.2em;
}
#footer-widgets {
  display: none;
}
#footer-bottom {
  margin-top: 65px;
  border-top: 1px solid #ddd;
  padding: 25px 0 15px;
}
/* -------- Woocommerce ---------*/
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
  width: 33%!important;
}
.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
  width: 65%!important;
}
.woocommerce-product-gallery__image {
  margin-bottom: 12px;
}
.woocommerce div.product div.images {
  margin-bottom: 4em;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2) {
  margin: 0 1%;
  width: 100px;
}
.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 { /*home*/
  letter-spacing: 0.03em;
  line-height: 1.15em;
  text-transform: uppercase;
}
.woocommerce-loop-product__title, .archive .woocommerce .woocommerce-breadcrumb, .archive .woocommerce-products-header__title.page-title {
	text-align: center;
}
li.type-product .woocommerce-Price-amount.amount, .woocommerce div.product form.cart div.quantity, .et_header_style_centered #et-top-navigation .et-cart-info, .woocommerce .woocommerce-ordering select, .woocommerce .woocommerce-result-count, #top-header .et-cart-info, .woocommerce .woocommerce-breadcrumb { /*home*/
  display: none !important;
}
section.related {
  clear: both;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  margin: 0;
}
.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
  width: 50%;
}
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
  padding-left: 25px;
}
.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
  font-size: 0.8em !important;
}
.woocommerce div.product form.cart, p.stock.out-of-stock, .woocommerce div.product .stock, ul.tabs.wc-tabs, .sku_wrapper, .woocommerce-product-details__short-description h6 {
  display:none !important;
}
.woocommerce-product-details__short-description h5 {
	margin-top: 20px;
	margin-bottom: 50px;
	text-transform: uppercase;
	font-size: 14px;
	border: 1px solid #666;
	padding: 10px 2px 8px;
    letter-spacing:0.03em;
	width: 140px;
	text-align: center;
	font-family: 'Open Sans' !important;
}
.woocommerce-product-details__short-description h5:hover {
    background: #f2f2f2;
}
.woocommerce-product-details__short-description p.pnote01 {
	font-size: 15px;
	line-height:140%;
	color:black !important;
	margin-bottom: -20px !important;
    margin-top: 15px !important;
}
.woocommerce-product-details__short-description p.pnote {
	font-size: 14px;
	line-height:150%;
	margin-bottom:15px;
	color:#333 !important;
}
.woocommerce-product-details__short-description p {
	line-height: 145%;
	padding-bottom: 1em;
	font-size: 100%;
}
.woocommerce div.product .product_title {
	line-height: 120%;
	padding-top: 22px !important;
}
.home .woocommerce .products ul, .home .woocommerce ul.products, .home .woocommerce ul.products li.product, .home .woocommerce-page ul.products li.product {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
/*cacher le prix quand vendu*/
.product_cat-sold bdi {
	display: none !important;
}

/*global module categories*/
.catshop a {
	padding: 0 5px;
}
.catshop {
	text-align: center;
	margin-top: -30px;
}
/**/
/*#tab-description p {
	margin: 0 !important;
	padding: 6px 0 3px 0;
	letter-spacing: 0.04em;
	line-height: 1.5em;
}*/
.woocommerce-tabs p {
	padding: 0 !important;
	margin-top: 4px;
	line-height: 140%;
}
.archival {
	font-size: 90%;
	letter-spacing: 0.1em;
	font-weight: 700;
	text-transform: uppercase;
}
.product_meta {
	border-top: none;
	text-transform: uppercase;
}

.posted_in a, .tagged_as a {
	text-transform: uppercase !important;
}
/*A ENNLEVER SI JE CHANGE DE THEME - DUPLICATA DE LA PREMIERE IMAGE DANS LES BILLETS*/
.et_post_meta_wrapper img {
	display: none;
}
/* DIVERS */
ol li {
	margin-bottom: 11px;
	margin-left: 20px;
	line-height: 1.5em;
}
/*   PORTFOLIO WEB    */
.single-project .et_pb_post h2 {
	margin-top: 25px !important;
	padding-bottom: 8px !important;
}
.single-project h3 {
	text-transform: uppercase;
	font-size: 14px !important;
	letter-spacing: 2px;
	font-weight: 400;
	margin-bottom: 20px;
}
.single-project p {
	color: #444;
	letter-spacing: 0.4px;
}
/*Set number of columns and margin for the images*/
@media (min-width: 981px) {
        .et_pb_gutters3 .et_pb_column_4_4 .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_item.et_pb_grid_item,
        .et_pb_gutters3 .et_pb_column_4_4 .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_item.active,
        .ds-library-grid.et_pb_portfolio_grid .et_pb_portfolio_item,
        .et_pb_column_4_4 .ds-library-grid.et_pb_grid_item:nth-child(2n) /*Change this number to value 4 in the calculator (don't remove the 'n')*/ {
            width: 31% !important; /*Change this number to value 3 in the calculator (don't remove the '%') */
            margin: 0 1% 1% 0; /*Change these numbers to values 1 & 2 in the calculator (don't remove the '%' or '0')*/
        }
		
/*Set number of columns and margin for the category filters*/
    .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li {
        float: left;
        margin: 0 3% 3% 0; /*Change these numbers to values 5 & 6 in the calculator (don't remove the '%' or '0')*/
        text-align: center;
        width: 31,333%; /*Change this number to value 7 in the calculator (don't remove the '%' )*/
    }
    .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li:nth-child(3n) { /*Change this number to value 8 in the calculator (don't remove the 'n' )*/
        margin-right: 0;
    }	
		
    /*This sets the width of the filter buttons on smaller screens, you really want to leave these as they are or your buttons will be too small*/
    @media only screen and (max-width: 1280px) {
        .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li {
            margin: 0 2% 2% 0;
            width: 32%;
        }
        .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li:nth-child(3n+3) {
            margin-right: 0;
        }
    }
    @media only screen and (max-width: 767px) {
        .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li {
            margin: 0 2% 2% 0 !important;
            width: 49%;
        }
        .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li:nth-child(2n) {
            margin-right: 0 !important;
        }
    }
    @media only screen and (max-width: 479px) {
        .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li {
            margin-right: 0;
            width: 100%;
            margin-bottom: 10px;
        }
        .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters {
            margin: -30px 0 40px !important;
        }
    }		
    }

@media only screen and ( max-width: 980px) {
    .ds-library-grid .et_portfolio_image img {
        width: 100%;
    }
}


@media only screen and ( max-width: 479px ) {
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
  width: 100%!important;
}
.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
  width: 100%!important;
}
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
  padding-left: 0px !important;
}

}

