/****************************************
 *                                      *
 *   CUSTOM STYLESHEET FOR WEBSITE.CH   *
 *                                      *
 ****************************************/



/*
    ---------- The following elements were added by meyerdev.ch
*/

/* Custom Font: Creepsville (regular)
@font-face {
    font-family: 'Creepsville';
    src: url('fonts/RW-creepsville.eot');
    src: url('fonts/RW-creepsville.eot?#iefix') format('embedded-opentype'),
         url('fonts/RW-creepsville.woff') format('woff'),
         url('fonts/RW-creepsville.otf') format('opentype'),
         url('fonts/RW-creepsville.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
} */



/* Colors */
.white {
    color: #fff;
}



/* Alignments */
.left { text-align: left; }
.right { text-align: right; }
.center { text-align: center; }
.justify { text-align: justify; }

@media screen and (max-width: 767px) {
    .xs-center {
        text-align: center;
    }
}



/* Accent colors */
.dge-accent-color {
    color: #a3c615;
}
.dge-accent-bg {
    background-color: #a3c615;
}

.dge-accent-color2 {
    color: #83a600;
}
.dge-accent-bg2 {
    background-color: #83a600;
}

.subTitle {
	color: #a3c615;
    text-transform: uppercase;
    font-size: 20px;
	margin-bottom: 40px !important;
}

.dge-product-content h2 {
	color: #a3c615;
}

.dge-product-content h1 {
	font-weight: bold;
    color: black;
    font-size: 36px;
    margin-bottom: 5px !important;
}



/* Selection */
::selection {
    color: #fff;
    background-color: #a3c615;
}



/* Menu caret alignment fix */
body.dge .caret {
    margin-left: 0;
}



/* Product & Print Page – Submenu */
.dge-product-submenu {
    background-color: #fff;
    margin-bottom: 50px;
}

.dge-product-submenu > h3 {
    background-color: #a3c615;
    padding: 20px;
    margin: 0;
    font-size: 16px;
    font-weight: normal;
    color: #fff;
    line-height: 1;
}

.dge-product-submenu .dge-product-submenu-content {
    padding: 0;
}

.dge-product-submenu ul,
.dge-product-submenu ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.dge-product-submenu ul li.menu-item {
    margin: 0;
    padding: 0;
}

.dge-product-submenu ul li.menu-item > a,
.dge-product-submenu ul li.menu-item > a:visited {
    display: block;
    padding: 15px 20px;
    line-height: 20px;
    color: #707070;
    border-bottom: 1px solid #f0f8e8;
}

.dge-product-submenu ul li.menu-item.current-menu-item > a,
.dge-product-submenu ul li.menu-item.current-menu-parent > a,
.dge-product-submenu ul li.menu-item > a:hover,
.dge-product-submenu ul li.menu-item > a:active,
.dge-product-submenu ul li.menu-item > a:focus {
    background-color: #f8fff0;
    color: #83a600;
}

.dge-product-submenu ul.sub-menu li.menu-item a {
    padding-left: 40px;
}



/* Product & Print Page – Background */
/* body.dge.product-page > div.content-wrapper > div.light-wrapper,
body.dge.print-page > div.content-wrapper > div.light-wrapper {
    background-image: url("images/DGE.png");
    background-repeat: no-repeat;
    background-position: 90% 140px;
    background-attachment: fixed;
} */

/* @media screen and (max-width: 767px) {
    body.dge.product-page > div.content-wrapper > div.light-wrapper,
    body.dge.print-page > div.content-wrapper > div.light-wrapper {
        background-position: 97% 200px;
    }
} */

body.dge.about-page > div.content-wrapper > div.light-wrapper,
body.dge.cgv-page > div.content-wrapper > div.light-wrapper,
body.dge.product-page > div.content-wrapper > div.light-wrapper,
body.dge.print-page > div.content-wrapper > div.light-wrapper {
    background-image: linear-gradient(135deg, rgba(0, 0, 0, .025) 42%, transparent 42%);
    background-attachment: fixed;
}



/* Apply a lower margin to columns that need it */
.dge-cols-mb-30 [class*="col-"] {
    margin-bottom: 30px;
}



/* Normalize the heights of catalog images */
@media screen and (min-width: 1200px) {
    body.dge .dge-textiles-catalogs img {
        max-height: 249px;
    }
}

@media screen and (min-width: 768px) {
    body.dge .dge-textiles-catalogs img {
        max-height: 201px;
    }
}

@media screen and (max-width: 768px) {
    body.dge .dge-textiles-catalogs img {
        max-width: 290px;
    }
}



/* Contact Form 7 */
.dge-block-list .wpcf7-list-item {
    display: block;
}

div.wpcf7 .dge-block-list.wpcf7-not-valid {
    border-radius: 4px;
}

textarea,
textarea.form-control {
    line-height: 1.5;
    padding: 10px 15px;
}

.wpcf7-form-control.g-recaptcha > div {
    width: auto !important;
    height: auto !important;
}



/* Portfolio/Réalisations - Show More Button */
.dge-realisation.dge-realisation-show-more {
    position: relative;
    text-align: center;
}

.dge-realisation.dge-realisation-show-more a.overlay {
    color: #fff;
    display: block;
    height: 100%;
}

.dge-realisation.dge-realisation-show-more h4 {
    position: absolute;
    top: 46%;
    left: 0;
    width: 100%;
}

.dge-realisation.dge-realisation-show-more h4 {
    cursor: pointer;
    color: #fff;
    z-index: 3;
}



/* Home Page Contact Call to Action - Gradient */
.dge-contact-gradient {
    background-color: #a3c615;
    background-image: linear-gradient(270deg, #a3c615, #83a600);
}



/*
    ---------- The following elements have their original styles updated
*/

* {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    cursor: default;
}

body.dge h1,
body.dge h1 {
    text-transform: uppercase;
    margin-bottom: 30px;
}



/* Drop-down mega menus */
body.dge .navbar-nav > li > ul.mega-menu {
    left: auto !important;
    right: auto !important;
}



/* "New" tag in menus */
body.dge span.dge-new-product {
    padding: 5px 9px;
    font-weight: normal;
    font-size: 10px;
    line-height: 10px;
    display: inline-block;
    margin: 0;
    margin-left: 5px;
    background-color: #a3c615;
    color: #fff;
    border-radius: 3px;
}

/* body.dge .dge-product-submenu span.dge-new-product {
    display: none;
} */



/* Buttons */
.btn:hover,
.btn:focus,
.btn:active,
.btn.active {
    background-color: #83a600;
    outline: none;
    box-shadow: none;
}

.btn-xl {
    padding: 15px 25px 14px;
    font-size: 23px;
    /* line-height: 42px; */
    white-space: normal;
}

.btn {
    line-height: 1.8;
    white-space: normal;
}

.btn.btn-square {
    line-height: 1;
}



/* Portfolio filter buttons */
body.dge .portfolio .button-group li {
    margin-left: 0;
    margin-right: 25px;
    margin-bottom: 25px;
}

body.dge .portfolio .button-group li a.button {
    padding: 8px;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 13px;
    line-height: 1;
    font-weight: 500;

    /* Prevent text-selection on buttons */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body.dge .portfolio .button-group li a.button:hover,
body.dge .portfolio .button-group li a.button:focus,
body.dge .portfolio .button-group li a.button:active,
body.dge .portfolio .button-group li a.button.active {
    background-color: #a3c615;
    color: #fff;
}



/* Google+ Social Icon */
.social-bg li a i.et-gplus {
    background: #db402c;

}

.social-bg li a i.et-gplus::before {
    content: "\ea8c";
}

.df-icon-share, .df-icon-more {
display: none !important;
}

.customImgCatalogues img {
	height: 250px !important;
    object-fit: cover;
    object-position: center center;
    width: 100%;
}


/*
    ---------- The following elements are removed for aesthetics
*/

/* Lightbox counter & reCAPTCHA badge */
#lg-counter { display: none; }


/* Hidden on mobile */
@media (max-width: 767px) {
    .sm-hidden {
        display: none;
    }

	.customImgCatalogues img {
		height: 360px !important;
	}
}

/* Visible only on mobile */
@media (min-width: 768px) {
    .sm-only {
        display: none;
    }
}
