/* Personnalisation des styles par BLSOL inc. */
/* http://www.blsol.com */
/* Styles du site Web */

/* -------------------------------------------------------------
    Structure
------------------------------------------------------------- */
/* Services sur l'accueil */
body.accueil section#g-mainbar div.g-grid div.g-block.size-100 div.g-content {
    margin: 0;
    padding-top: 0;
}
body.accueil div.services.row .jsn-pagebuilder h2 {
    color: #ffffff;
}
body.accueil div.services.row .pb-element-text p {
    color: #838383;
    text-align: center;
}
/* Paragraphe vide */
body.accueil div.g-content div.platform-content div.item-pageg-demo div p:first-child {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
    body.accueil div.g-content div.platform-content div.item-pageg-demo div .jsn-bootstrap3 p:first-child {
        margin: 5px 0 15px !important;
        padding: 0;
    }
/* Fix YT Shortcode : clear both sur p */
.g-content p {
    clear: none;
}

/* -------------------------------------------------------------
    Background & bordures
------------------------------------------------------------- */
/* BG */
#g-page-surround {
    background: #fff url("../images/backgrounds/base/bg-06.jpg") no-repeat fixed 0 0 / cover ;
    overflow: hidden;
}
/* BG Top */
div.g-container section#g-top {
    background: rgba(0, 0, 0, 0) url("../images/backgrounds/bg_top.png") no-repeat scroll 319px 8px;
}

/* -------------------------------------------------------------
    Header
------------------------------------------------------------- */
/* Slogan et téléphone */
div.slogan h1 {
    color: #000;
    float: right;
    font-size: 20px;
    line-height: 2px;
    margin: 0;
    font-size: 22px !important;
    font-style: oblique;
    font-weight: 400;
}
div.slogan p {
    clear: both;
}
div.slogan p a:before {
    content: "\2706";
    margin-right: 5px;
    color: #777777;
    font-size: 36px;
    vertical-align: sub;
}
div.slogan p a {
    color: #ff1a1a !important;
    float: right;
    font-weight: bold;
    text-shadow: 1px 1px #fff;
}
    div.slogan p a:hover {
        color: #000 !important;
    }
/* Téléphone */
div.customslogan p a {
    font-size: 20px;
}

/* -------------------------------------------------------------
    AcyMailing
------------------------------------------------------------- */
div.acymailing_module_form table.acymailing_form tbody tr td.acy_requiredField {
    padding: 0;
}
div.acymailing_module_form table.acymailing_form tbody tr td.acysubbuttons {
    padding: 0;
    float: left;
}
div.acymailing_module_form table.acymailing_form tbody tr td.acysubbuttons input {
    margin-top: 0;
}

/* -------------------------------------------------------------
    Slider
------------------------------------------------------------- */
header#g-header div.fp-flexslider-slideshow div.g-flexslider-slideshow-item-title {
    text-shadow: 2px 2px #000;
}
header#g-header div.fp-flexslider-slideshow div.g-flexslider-slideshow-item-desc {
    text-shadow: 2px 2px #000;
}
/* Après MAJ Gantry @ 2016-10-19 */
body.accueil #g-page-surround .g-container header .g-grid .g-content {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

/* -------------------------------------------------------------
    Nouvelles
------------------------------------------------------------- */
div.blog div div dl.article-info.muted {
    margin: 0 0 15px 0;
}
div.blog div div div.page-header h2 {
    margin-bottom: 0;
}
div.blog div div dl.article-info.muted dt.article-info-term {
    display: none;
}
/* -------------------------------------------------------------
    Menu
------------------------------------------------------------- */
/* Background de la bande */
#g-navigation {
    background: #ff1a1a none repeat scroll 0 0;
    color: #fff;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.g-main-nav .g-toplevel > li > .g-menu-item-container, .g-main-nav .g-sublevel > li > .g-menu-item-container {
    font-size: 1.2rem;
}
#g-navigation nav.g-main-nav ul.g-toplevel li a {
    top: -5px;
}

/* -------------------------------------------------------------
    Réalisations
------------------------------------------------------------- */
.pb-element-tab.realisations div.tabbable ul.nav-tabs li a {
    font-size: 14px !important;
    width: 140px !important;
    background-color: #f5f5f5;
    color: #848484 !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px 4px 0 0 !important;
    line-height: 0.42 !important;
}

/* -------------------------------------------------------------
    Formulaire
------------------------------------------------------------- */
div.jsn-uniform.jsn-master div.jsn-bootstrap form div.jsn-row-container.jsn-style-light.vertical div.jsn-form-content div.jsn-row-container.row-fluid div div.control-group label.control-label {
    margin-bottom: 15px;
}
div.jsn-uniform.jsn-master div.jsn-bootstrap form div.jsn-row-container.jsn-style-light.vertical div.jsn-form-content div.jsn-row-container.row-fluid div div.control-group div.controls div.checkboxes.jsn-columns-container.jsn-columns-count-two div.jsn-column-item label.checkbox {
    margin-bottom: 0;
    margin-top: 0;
}
div.btn-toolbar button.btn.btn-primary.jsn-form-submit {
    background-color: #000000;
    color: #ffffff;
    border: none;
    float: left;
}
    div.btn-toolbar button.btn.btn-primary.jsn-form-submit:hover {
        background-color: #ff1a1a;
    }
div.acymailing_module div.acymailing_fulldiv form div.acymailing_module_form table.acymailing_form tbody tr td.acysubbuttons input.button.subbutton.btn.btn-primary {
    background-color: #ffffff !important;
    color: #000000 !important;
}
    div.acymailing_module div.acymailing_fulldiv form div.acymailing_module_form table.acymailing_form tbody tr td.acysubbuttons input.button.subbutton.btn.btn-primary:hover {
        background-color: #000000 !important;
        color: #ffffff !important;
    }

/* -------------------------------------------------------------
    Pied de page
------------------------------------------------------------- */
section#g-extension a {
    color: #fff;
}
section#g-extension div.fp-extension-b div.g-content div.moduletable div.g-infolist.g-1cols {
    margin-left: 0;
}
    section#g-extension div.fp-extension-b div.g-content div.moduletable div.g-infolist.g-1cols p {
        margin-top: 0;
    }

/* -------------------------------------------------------------
    Contenu
------------------------------------------------------------- */
/* Dernières nouvelles */
.nouvelles .pb-articlelist-list div.title a.title {
    color: #ff1a1a;
    font-size: 25px;
}
.nouvelles .pb-articlelist-list div.articlelist-item-description {
    margin-bottom: 15px !important;
}
    .nouvelles .pb-articlelist-list div.articlelist-item-description p {
        font-size: 14px;
        margin-bottom: 15px !important;
    }
.nouvelles .pb-articlelist-list div.articlelist-item-read-more a {
    background-color: #ff1a1a;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    margin-top: 15px;
    padding: 6px 10px;
}
    .nouvelles .pb-articlelist-list div.articlelist-item-read-more a:hover {
        background-color: #000000;
        color: #fff;
        text-decoration: none;
    }

/* -------------------------------------------------------------
    Ordinateur (Écran large)
------------------------------------------------------------- */
@media only screen and (min-width: 1200px){

}

/* -------------------------------------------------------------
    iPad (paysage)
------------------------------------------------------------- */
@media only screen and (min-width: 960px) and (max-width: 1199px){
    /* BG Top */
    div.g-container section#g-top {
        background: rgba(0, 0, 0, 0) url("../images/backgrounds/bg_top_ipad.png") no-repeat scroll 290px 26px;
    }
}

/* -------------------------------------------------------------
    iPad (portrait)
------------------------------------------------------------- */
@media only screen and (min-width: 768px) and (max-width: 959px){
    /* BG Top */
    div.g-container section#g-top {
        background: rgba(0, 0, 0, 0) url("../images/backgrounds/bg_top_ipad.png") no-repeat scroll 280px 34px;
    }
    /* Slogan et téléphone */
    div.slogan h1 {
        font-size: 18px !important;
    }
}

/* -------------------------------------------------------------
    iPhone (paysage)
------------------------------------------------------------- */
@media only screen and (min-width: 481px) and (max-width: 767px){
    /* BG Top */
    div.g-container section#g-top {
        background: none;
    }
}

/* -------------------------------------------------------------
    iPhone (portrait)
------------------------------------------------------------- */
@media only screen and (max-width: 480px){
    /* BG Top */
    div.g-container section#g-top {
        background: none;
    }
    /* Galerie grille */
    div.jsn-container div.jsn-gallery div div.jsn-themegrid-container div.jsn-themegrid-box.jsn-themegrid-image.masonry-brick {
        width: 92% !important;
    }
    div.jsn-container div.jsn-gallery div div.jsn-themegrid-container div.jsn-themegrid-box.jsn-themegrid-image.masonry-brick a img {
        width: 100% !important;
    }
}
