/*
Theme Name:         Avanti Theme
Theme URI:          https://codespark.ca/
Description:        Theme Developed by CodeSpark
Version:            2.0.0
Author:             CodeSpark
Author URI:         https://codespark.ca/
Text Domain:        sage 
*/

html body .breadCrumb,
html body.page-template-equipe .peopleList .people .person .contentContainer .title, 
html body.page-template-historique .peopleList .people .person .contentContainer .title, 
html body.page-template-prix .peopleList .people .person .contentContainer .title, 
html body.page-template-profil .peopleList .people .person .contentContainer .title, 
html body.page-template-contact .breadCrumb, 
html body.page-template-contact_projet .breadCrumb,
html main a,
html .link-unstyled:hover, 
html .post-categories a:hover,
html footer #footer-middle .menu-footer-menu-container>ul>li>a:focus, 
html footer #footer-middle .menu-footer-menu-container>ul>li>a:hover,
html .listItem .itemBackground:hover .content .genre,
html body.page-template-equipe .dropDowns ul li:hover .category, 
html body.page-template-historique .dropDowns ul li:hover .category, 
html body.page-template-prix .dropDowns ul li:hover .category, 
html body.page-template-profil .dropDowns ul li:hover .category,
html .awardList table.awards thead {
    fill: #e82921;
    stroke: #e82921;
    color: #e82921;
}
html body.page-template-contact .sidebarLinkBlocks .sideblock .button, 
html body.page-template-contact_projet .sidebarLinkBlocks .sideblock .button,
html .gform_wrapper .gfield_checkbox input:checked:after {
    background-color: #e82921;
}
html .gform_wrapper .gfield_checkbox input:checked {
    border-color: #e82921;
}
html .btn-primary, 
html .button-primary, .gform_button {
    background-color: #e82921;
    border-color: #e82921;
}
html .socialBar .right .socialIcons .socialicon.tw {
    background: #232323;
}
html .search-results-content .search-lists-title {
    border-bottom: 2px solid #e82921;
}
html .home .headerImage .content .genre,
html .listItem .itemBackground .content .genre {
    display:none!important;
}
html body.blog .post-meta time {
    border-right: none;
}
footer #footer-bottom .bottomFooterInner > div.footerLeft {
    width: 70%;
}
footer #footer-bottom .bottomFooterInner > div.footerRight {
    width: 30%;
}

/*********************************************************************************************/
/******* GLOBAL **********/

body main {
    min-height: 500px;
}

/*********************************************************************************************/
/******* HEADER **********/
body .navbar-brand {
    width: 220px;
}
body .navbar-right {
    max-width: calc(100% - 220px);
}
body .navbar-brand.inHeader:after {
    background: linear-gradient(153.43deg,#4c4c4c,#232323);
}
body .navbar-brand:hover {
    background: linear-gradient(153.43deg,#282828,#282828);
}
body .navbar-brand {
    background: #282828;
}
body .navbar-right .navbar-nav:first-child .menu-item .socialicon:last-child, 
body .navbar-right .navbar-nav:first-child .nav-item .socialicon:last-child {
    margin-right: 20px;
}
body #main-header.sticky .navbar-brand {
    width: 220px;
}
#main-header .socialicon.svg-type svg {
    max-width: 10px;
}
.socialicon.svg-type svg {
    height: auto;
    position: relative;
    bottom: 0;
}
#main-header .socialicon.svg-type svg path,
#footer-bottom .socialicon.svg-type svg path {
    fill: #a5a7ab;
}
#main-header .socialicon.svg-type:hover svg path,
#footer-bottom .socialicon.svg-type:hover svg path {
    fill: #FFF;
}

/*********************************************************************************************/
/******* SINGLE Production **********/
.socialBar .socialIcons a.socialicon.tw i {
    position: relative;
    bottom: -2px;
    width: 15px;
    height: 15px;
    background-image: url('https://s3.ca-central-1.amazonaws.com/avantigroupe.com/app/uploads/2023/10/27112108/logo-white.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.socialBar .socialIcons a.socialicon.tw i:before {
    content: none;
}


/*********************************************************************************************/
/******* HISTORIQUE **********/
body.page-template-historique .page-section {
    padding-top: 0px;
}
body.page-template-historique .content .timeline .point .img-pres {
    float: left;
    margin-right: 25px;
    margin-top: 5px;
    margin-bottom: 5px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
body.page-template-historique .content .timeline .point[data-company="avanti-toast"] .img-pres {
    width: 120px;
    height: 20px;
    background-image: url('https://s3.ca-central-1.amazonaws.com/avantigroupe.com/app/uploads/2023/11/02095949/historique-logo-AT-3.png');
}
body.page-template-historique .content .timeline .point[data-company="avanti-groupe"] .img-pres {
    width: 60px;
    height: 60px;
    background-image: url('https://s3.ca-central-1.amazonaws.com/avantigroupe.com/app/uploads/2023/11/02100101/historique-logo-avanti.png');
}
body.page-template-historique .content .timeline .point[data-company="toast"] .img-pres {
    width: 100px;
    height: 20px;
    background-image: url('https://s3.ca-central-1.amazonaws.com/avantigroupe.com/app/uploads/2023/11/02100103/historique-logo-Toast-1.png');
}
body.page-template-historique .content .timeline .point .img-pres img {
    width: 100%;
}
body.page-template-historique .content .timeline .point .dot {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: flex-end;
    align-items: center;
    margin-right: -25px;
    top: 50px;
}
body.page-template-historique .content .timeline .point:nth-child(2n) .dot {
    margin-left: -25px;
    top: 50px;
    flex-direction: row-reverse;
}
body.page-template-historique .content .timeline .point .dot .shape {
    float: none;
    position: relative;
    width: 50px;
    height: 50px;
    top: -2px;
    margin-left: 0px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #333;
}
body.page-template-historique .content .timeline .point[data-company="avanti-toast"] .dot .shape {
    background-image: url('https://s3.ca-central-1.amazonaws.com/avantigroupe.com/app/uploads/2023/11/02084511/historique-pastille-AT.png');
    background-color: #000000;
}
body.page-template-historique .content .timeline .point[data-company="avanti-groupe"] .dot .shape {
    background-image: url('https://s3.ca-central-1.amazonaws.com/avantigroupe.com/app/uploads/2023/11/02084512/historique-pastille-Avanti.png');
    background-color: #ed3024;
}
body.page-template-historique .content .timeline .point[data-company="toast"] .dot .shape {
    background-image: url('https://s3.ca-central-1.amazonaws.com/avantigroupe.com/app/uploads/2023/11/02084514/historique-pastille-Toast.png');
}
body.page-template-historique .content .timeline .point .dot .label {
    margin: 0px 20px;
}
body.page-template-historique .content .timeline .point:nth-child(2n) .dot .label {
    
}


/*********************************************************************************************/
/******* ACTUALITÉS **********/
body.blog .fiche-sidebar > .fiche-container:first-of-type,
body.archive .fiche-sidebar > .fiche-container:first-of-type{
    display: none;
}
.post-navigation {
    background-color: #f4f4f4;
    padding: 1rem 20px 1rem;
}
.post-navigation > p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
}

/*********************************************************************************************/
/******* ARTICLE **********/

body.post-template-default .post-header.content .post-categories {
    display:none;
}



/*********************************************************************************************/
/******* PRIX ET DISTINCTIONS **********/

/*
table.awards td.compagnie.logo span.mobLabel {
    display: none;
}
table.awards td.compagnie.logo span:not(.mobLabel) {
    text-indent: -9999px;
    display: block;
    width: 56px;
    margin: 0 auto;
    height: 40px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
table.awards td.compagnie.logo span.avanti-groupe {
    background-image: url('/app/themes/avanti/assets/images/Avanti-Groupe-Logo-Web.png');    
}
table.awards td.compagnie.logo span.avanti-toast {
    background-image: url('/app/themes/avanti/assets/images/Avanti-Toast-Logo-Web.png');    
}
table.awards td.compagnie.logo span.toast {
    background-image: url('/app/themes/avanti/assets/images/Toast-Logo-Web.png');    
}
*/

.page-template-profil h1 {
    margin-bottom: 3rem;
}

    
/*********************************************************************************************/
/******* PAGE EQUIPE **********/
.peopleList .secteur {
    padding: 0 0 20px 20px;
}
    
/*********************************************************************************************/
/******* NEWSLETTER **********/

#modal-newsletter #mc_embed_signup {
    background:transparent; 
    clear:left;  
    width:100%;
}
#modal-newsletter #mc_embed_signup form {
    padding: 0px;
}
#modal-newsletter label[for="mce-EMAIL"],
#modal-newsletter .indicates-required,
#modal-newsletter .asterisk,
#modal-newsletter .mc-field-group.input-group > strong {
    display: none!important;
}
#modal-newsletter input[type="email"] {
    border: none;
    font-family: "Open Sans",sans-serif;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    font-size: 20px!important;
    padding: 7px 0!important;
    outline: none;
    font-weight: 400;
    color: #333;
    width: 100%;
    margin-top: 0;
}
#modal-newsletter #mc_embed_signup .mc-field-group {
    width: 100%;
}
#modal-newsletter .mc-field-group.input-group {
    padding: 20px 0 30px;
}
#modal-newsletter #mc_embed_signup .mc-field-group.input-group ul {
    width: 100%;
}
#modal-newsletter #mc_embed_signup .mc-field-group.input-group li {
    margin: 20px 0;
    list-style: none;
}
#modal-newsletter #mc_embed_signup .input-group li label {
    display: block;
    font-family: "Montserrat",sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #4a4a4a;
}
#modal-newsletter #mc_embed_signup input[type="submit"] {
    font-family: "Montserrat",sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 20px;
    border-radius: 2px;
    display: block;
    cursor: pointer;
    border: none;
    width: 100%;
    margin: 0;
    color: #fff;
    background-color: #e72922;
    border-color: #e72922;
    height: auto;
    line-height: 1.7;
}
#modal-newsletter #mc_embed_signup input[type="submit"]:hover {
    background-color: #c11b15;
    border-color: #b81a14;
    color: #FFF;
}

.type-distribution .fiche-section.post-credits {
    display:none!important;
}
#list-diffuseur .diffuseur-item,
#list-producteur .producteur-item {
    display: inline-block;
    position: relative;
}
#list-diffuseur > *:not(:last-child) .diffuseur-item:after,
#list-diffuseur > *:not(:last-child).diffuseur-item:after,
#list-producteur > *:not(:last-child) .producteur-item:after,
#list-producteur > *:not(:last-child).producteur-item:after {
    content: ',';
    display: inline-block;
}

section.content-empty .dropDowns {
    margin-top: 0px!important;
} 
section.content-empty .aboutContent {
    display:none!important;
}
.js-fiche-gallery .zonepro-thumbnail {
    background-color: transparent!important;
}

.has-video .js-fiche-gallery .fiche-gallery-item,
.has-video .js-fiche-gallery .zonepro-thumbnail {
    background-image: none!important;
}


/*********************************************************************************************/
/******* FOOTER **********/

body footer #footer-middle .footnav {
    margin-top: 20px;
}

body footer .navbar-brand {
    width: 140px;
    height: auto;
}
body footer #footer-middle .menu-footer-menu-container {
    margin-top: 10px;
}

#footer-bottom .socialicon.svg-type svg {
    top: -2px;
    max-width: 15px;
    vertical-align: bottom;
    margin-left: 2px;
}




@media only screen and (min-width: 481px) {
    body.page-template-equipe .peopleList .people .person[data-title="copresidente"],
    body.page-template-equipe .peopleList .people .person[data-title="co-chair"] {
        width: 50%;
    }
    body.page-template-equipe .peopleList .people .person[data-title="copresidente"][data-firstname="patricia"] .contentContainer,
    body.page-template-equipe .peopleList .people .person[data-title="co-chair"][data-firstname="patricia"] .contentContainer{
        margin-left: auto;
        margin-right: initial;
    }
    body.page-template-equipe .peopleList .people .person[data-title="copresidente"][data-firstname="monic"] .contentContainer,
    body.page-template-equipe .peopleList .people .person[data-title="co-chair"][data-firstname="monic"] .contentContainer {
        margin-right: auto;
        margin-left: initial;
    }
}

@media only screen and (max-width: 575px) {
    body.page-template-historique .content .timeline .points {
        padding-left: 5px;
    }
    body.page-template-historique .content .timeline .point .dot,
    body.page-template-historique .content .timeline .point:nth-child(2n) .dot {
        flex-direction: column;
        margin-left: 0px;
        margin-right: 0px;
    }
    body.page-template-historique .content .timeline .point .dot .shape,
    body.page-template-historique .content .timeline .point:nth-child(2n) .dot .shape {
        display: inline-block;
        width: 30px;
        height: 30px;
    }
    body.page-template-historique .content .timeline .point .dot .label,
    body.page-template-historique .content .timeline .point:nth-child(2n) .dot .label {
        margin: 0px;
        margin-bottom: 5px;
    }
}

@media only screen and (max-width: 991px) {
    footer #footer-bottom .bottomFooterInner > div.footerLeft, 
    footer #footer-bottom .bottomFooterInner > div.footerRight {
        width: 100%;
    }
    footer #footer-bottom .bottomFooterInner > div.footerRight {
        margin: 20px 0;
    }
}

@media only screen and (max-width: 767px) {
    #footer-bottom .socialicon.svg-type svg {
        margin-right: 3px;
        margin-left: -5px;
    }
}

@media only screen and (min-width: 992px) {
    body footer #footer-middle .footnav {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
}

