/*
Theme Name: Protection incendie CFS
Author: Samuel Gauvin-St-Pierre
Author URI: http://www.sgstsp.ca
Description: Theme pour Protection incendie CFS. Dev : Samuel Gauvin-St-Pierre. Graphique : Duo Énergie
Version: 1.0
*/


body {
    color: #666666;
    background-color: #ffffff;
}
a {
    color: #666666;
}
h1, h2, h3 {
    text-transform: uppercase;
    font-weight: bold;
}
h1, h2 {
    color: #d7261d;
}
h2 {
    font-size: 1.7rem;
}

#page a {
    text-decoration: underline;
}

.fond-pompier {
	background: url(images/pompier-fond.jpg) no-repeat fixed #020202;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
	background-position: center;
}

.fond-gris {
    background-color: #666666;
    border-left: 1px #ffffff solid;
}
.fond-blanc {
    background-color: #ffffff;
}
.fond-gris-fluid-right {
    background-color: #666666;
    position: absolute;
    width: 20%;
    height: 100%;
    right: 0px;
    bottom: 0px;
}

.fond-blanc-hachure {
    background-color: #ffffff;
    position: relative;
}
.fond-blanc-hachure.shadow-top {
    box-shadow: inset 0 20px 20px -20px rgba(0,0,0,1);
}
.fond-blanc-hachure.shadow-bottom {
    box-shadow: inset 0 -20px 20px -20px rgba(0,0,0,1);
}
.fond-blanc-hachure.shadow-top-bottom {
    box-shadow: inset 0 20px 20px -20px rgba(0,0,0,1),
                inset 0 -20px 20px -20px rgba(0,0,0,1);
}
.fond-blanc-hachure.shadow-all {
    box-shadow: inset 0 20px 20px -20px rgba(0,0,0,1),
                inset 0 -20px 20px -20px rgba(0,0,0,1),
                inset 20px 0 20px -20px rgba(0,0,0,1),
                inset -20px 0 20px -20px rgba(0,0,0,1);
}
@media (max-width: 576px) {
    /* XS */
.fond-blanc-hachure.shadow-top-bottom-xs {
        box-shadow: inset 0 20px 20px -20px rgba(0,0,0,1),
                    inset 0 -20px 20px -20px rgba(0,0,0,1);
    }
}
.fond-blanc-hachure::before {
    content: "";
    background: url(images/fond-grille.png);
    opacity: 0.2;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: 0;
}
.fond-noir {
    background-color: #000000;
    color: #ffffff;
}
.fond-rouge {
    background-color: #d7261d;
    color: #ffffff;
}
.fond-rouge h2, .fond-rouge a {
    color: #ffffff;
}


.imgWrapper {
    position: relative;
    color: #ffffff;
    letter-spacing: 0.1rem;
    font-weight: bold;
    text-transform: uppercase;
}
.imgWrapper .overlay-gauche-haut {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    background-color: #d7261d;
    padding: 2%;
}
.imgWrapper .overlay-droit-bas {
    position: absolute;
    bottom: 0px;
    right: 0px;
}


.btn {
    margin-top: 0.3rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    white-space: normal;
    cursor: initial;
}

.btn-gris {
    color: #ffffff;
    background-color: #666666;
    border-color: #888888;
}
.btn-gris:hover {
    background-color: #4c4c4c;
}

.btn-rouge {
    color: #ffffff;
    background-color: #d7261d;
    border-color: #888888;
}
.btn-rouge:hover, .btn-rouge:focus {
    color: #ffffff;
    background-color: #a92019;
}

@media (max-width: 576px) {
    /* XS */
    h1, h2, h3 {
        text-transform: none;
    }
}


/* --------- OVERIRIDE BOOTSTRAP ----- */
.breadcrumb {
    padding: .2rem 1rem;
    margin-bottom: 0rem;
    list-style: none;
    border-radius: 0rem;
    font-size: 0.7rem;
    text-transform: initial;
    background-color: transparent;
}


/* ---------------------------- */
#header {
    text-transform: uppercase;
    white-space: nowrap;
}
#header .navbar-brand {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0px;
    padding-right: 1rem;
}
#header .navbar-toggler {
    border-color: rgba(255,255,255,.1);
}
#header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,<svg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'><path stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/></svg>");
}
#header .logo {
    border-bottom: 1px solid #888888;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
}
/*#header .msa-lite {
    line-height: 1.4rem;
    padding-top: 0.5rem;
    font-weight: 100;
    letter-spacing: 0.1rem;
}
#header .msa-lite img {
    margin-right: 1rem;
}*/
#header .dropdown-toggle-cfs::after {
    content : "\f078";
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    position: absolute;
    bottom: 0px;
    left: 40%;
}
#header .principal, #header .secondaire {
    padding-left: 0px;
}
#header .principal a {
    color: inherit;
}
#header .navbar .secondaire .navbar-nav .nav-link {
    color: #666666;
}
#header .principal .nav-item {
    z-index: 2;
}
#header .secondaire .nav-item {
    z-index: 1;
}
#header i.fa {
    font-size: 1.5rem;
    line-height: 1rem;
}
#header .input-group-addon {
    font-size: inherit;
    padding: 0.4rem;
}
#header .input-group-addon i {
    font-size: inherit;
}
#header .form-control {
    font-size: inherit;
    padding: 0.4rem;
}
#header .principal {
    font-size: 1.5rem;
}
#header .secondaire {
    font-size: 1rem;
}
.logged-in #header .secondaire .fa-user {
        color : #00a850;
}
#header .secondaire .fa-user {
    color : #d7261d;
}
@media (max-width: 1200px) {
    #header .principal {
        font-size: 1.4rem;
    }
    #header .secondaire {
        font-size: 0.9rem;
    }
}
@media (max-width: 992px) {
    #header .principal {
        font-size: 1rem;
    }
    #header .secondaire {
        font-size: 0.8rem;
    }
}
@media (max-width: 768px) {
    #header .dropdown-toggle-cfs::after {
        position: relative;
        bottom: 0;
        left: 5px;
    }
    #header .navbar .secondaire .navbar-nav .nav-link {
        color: #ffffff;
    }
    #header .secondaire.fond-blanc {
        background-color: transparent;
    }
}


/*-------------------------------*/


#footer .partenaires {
    padding-top: 2rem;
}
#footer .partenaires .titre {
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 1.5rem;
}
#footer .partenaires .logos {
    padding: 1rem;
    text-align: center;
}

#footer .adresse {
    font-size: 0.7rem;
    font-weight: lighter;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
#footer .adresse p {
    margin-bottom: 0.3rem;
}
#footer .adresse i {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    margin-right: 0.8rem;
}

#footer .copyright {
    font-size: 0.7rem;
    text-align: center;
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
}

#footer .menu-footer {
    padding-top: 1rem;
}
#footer .menu-footer ul {
    display: block;
    list-style-type: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    padding-left: 0rem;
}
#footer .menu-footer>ul>li {
    width: 33%;
    float: left;
    padding-bottom: 0.5rem;
}
@media (max-width: 576px) {
    /* XS */
    #footer .menu-footer>ul>li {
        width: 50%;
    }
}
#footer .menu-footer>ul>li>ul * {
    text-transform: none;
    font-size: 0.7rem;
    font-weight: lighter;
    padding-left: 0.5rem;
    padding-top: 0.1rem;
}









/*-------------------------------*/
@media (max-width: 768px) {
    /*MD*/
    #frontPage h1 {
        font-size: 1.5rem;
    }
}
#frontPage .titre {
    text-align: center;
    padding-top: 35rem;
    padding-bottom: 2rem;
}
#frontPage .titre h1 {
    display: inline-block;
    text-align: left;
    text-shadow: 4px 4px 5px #3e3e3e;
    color: #ffffff;
    font-size: 2.7rem;
    font-style: italic;
}
#frontPage .fond-blanc-hachure.overlay-boite-rouge {
    position: absolute;
    width: 100%;
    top: 930px;
    left: 0px;
    height: 200px;
}
#frontPage .boite {
    text-align: center;
}
#frontPage .boite h2 {
    font-size: 1rem;
    color: #ffffff;
}
#frontPage .boite .iconeWrapper {
    position: relative;
}
#frontPage .boite .iconeWrapper::after {
    content: " ";
    background-color: #d7261d;
    display: block;
    position: absolute;
    top: 50%;
    width: 100%;
    height: 50%;
}
#frontPage .boite .icone {
    width: 60%;
    max-width: 130px;
}
#frontPage .boite .icone.abs {
    position: absolute;
    z-index: 1;
}
#frontPage .boite .contenu {
    background-color: #d7261d;
    color: #ffffff;
    padding-top: 1.4rem;
    padding-right: 0.4rem;
    padding-bottom: 1rem;
    padding-left: 0.4rem;
    font-size: 0.7rem;
    min-height: 7rem;
}
#frontPage .boite .contenu form {
    margin-top: 1rem;
}


#frontPage .apropos {
    padding-top: 3rem;
    padding-bottom: 2rem;
    font-size: 0.9rem;
}

#frontPage .locations {
    padding-top: 4rem;
}
#frontPage .locations .items {
    padding-bottom: 2rem;
}
#frontPage .locations .items h3 {
    padding-top: 2rem;
    padding-left: 1rem;
}
#frontPage .locations .items ul {
    padding-left: 4rem;
}


#frontPage .services {
    padding-top: 4rem;
    padding-bottom: 3rem;
}
#frontPage .services .btn-rouge>* {
    float:left;
    padding-right: 1rem;
    text-align: left;
}
#frontPage .services .btn-rouge>img {
    height: 3.5rem;
}
#frontPage .services .btn-rouge>span {
    padding-top: 5%;
    letter-spacing: 0.1rem;
    font-weight: bold;
}
#frontPage .services .btn-rouge>i {
    font-size: 3rem;
    padding-top: 3%;
}

#frontPage .produits-vedettes {
    padding-top: 4rem;
    padding-bottom: 3rem;
}
#frontPage .produits-vedettes .produits {
    padding-top: 1.5rem;
    text-align: center;
}
#frontPage .produits-vedettes .produits>div {
    margin-top: 1rem;
}
#frontPage .produits-vedettes .produits .wcImgWrapper {
    height: 250px;
    background-color: #ffffff;
    overflow: hidden;
    padding: 5px;
}
#frontPage .produits-vedettes .produits .wcImgWrapper img {
    max-height: 250px;
    width: auto;
    display: inline-block;
}
#frontPage .produits-vedettes .produits .wcTitre {
    background-color: #ffffff;
    color: #666666;
    padding-bottom: 0.3rem;
    font-weight: bold;
    height: 3rem;
    overflow: hidden;
}
@media (max-width: 768px) {
    #frontPage .titre {
        padding-top: 4rem;
    }
    #frontPage .titre h1 {
        font-size: 2rem;
    }
    #frontPage .fond-blanc-hachure.overlay-boite-rouge {
        top: 450px;
        height: 200px;
    }
}

@media (max-width: 576px) {
    /* XS */
    #frontPage .boite .row>div {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}


#page {
    padding-top: 2rem;
    padding-bottom: 3rem;
}
#page h1 {
    text-align: center;
    margin-bottom: 3rem;
}




#woocommerce {
    padding-top: 2rem;
    padding-bottom: 3rem;
}
#woocommerce h1 {
    text-align: center;
    margin-bottom: 1rem;
}
#woocommerce ul.products li.product h3 {
    height: 5rem;
    overflow: hidden;
}
#woocommerce .products ul, #woocommerce ul.products {
    padding-top: 2rem;
}
#woocommerce ul.products li.product a .wcImgWrapper {
    height: 200px;
    overflow: hidden;
}
#woocommerce ul.products li.product a .wcImgWrapper img {
    max-height: 200px;
    width: auto;
    display: inline-block;
}
#woocommerce ul.products li.product .btn {
    text-transform: inherit;
}
#woocommerce ul.products li.product {
    text-align: center;
    border-bottom: 1px solid #ebe9eb;
    padding-bottom: 1rem;
}

#woocommerce div.product div.images img {
    max-width: 16rem;
}
#woocommerce div.product div.images div.thumbnails img {
    max-width: 4rem;
}
#woocommerce .cart .btn {
    cursor: pointer;
    margin-top: 0rem;
}
#woocommerce .cart input.qty {
    margin-top: 2px;
}
#woocommerce .sku_wrapper .sku {
    font-weight: bold;
}
#woocommerce .product_meta>span:before {
    content: '\A';
    display: block;
}
#woocommerce .product-category .count {
    display: none;
}

#page .woocommerce #order_review_heading, #page .woocommerce #customer_details h3 {
    text-transform: inherit;
}

/* --- COPIER/COLLER -> Remplacer button par btn pour rfq */
.woocommerce a.btn.added:after {
    font-family: WooCommerce;
    content: "\e017";
    margin-left: .53em;
    vertical-align: bottom;
}
.woocommerce a.btn.loading {
    opacity: .25;
    padding-right: 2.618em;
}
.woocommerce a.btn.loading:after {
    font-family: WooCommerce;
    content: "\e01c";
    vertical-align: top;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
    position: absolute;
    top: .618em;
    right: 1em;
    -webkit-animation: spin 2s linear infinite;
    -moz-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}
/* -------  FIN rfq ----*/



@media print {
    #headerFondGris {
        display: none;
    }
    #headerFondBlanc {
        display: none;
    }
    .navbar-toggler {
        display: none;
    }
    h1::first-letter, h2::first-letter {
        margin-top: 0;
    }
}
