﻿/*

Theme Name:   ENvironnement JEUnesse
Theme URI:    http://enjeu.qc.ca
Author:     Frédéric Croix
Author URI:   http://croixfrederic.net
Description:  Child Theme for Betheme
Template:   betheme
Version:    1.6.1

*/


/* Theme customization starts here

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

/*  

######  General  ######  

*/

.hide {
    display: none;
}

a:hover {
    text-decoration: none;
    -webkit-transition: all 300ms ease-in;
    -moz-transition: all 300ms ease-in;
    -o-transition: all 300ms ease-in;
    transition: all 300ms ease-in;
}

h2,
h3 {
    padding-top: 1em;
}

.desc_wrapper h4 {
    font-weight:400;
}


/* Add pointer links */

.sliding_box,
.story_box .desc_wrapper h3 {
    cursor: pointer;
}


/* Customize Breadcrumbs */

#Subheader ul.breadcrumbs li,
#Subheader ul.breadcrumbs li a {
    color: rgba(255, 255, 255, 1)!important;
}

#Subheader ul.breadcrumbs li a:hover {
    color: #f0b310!important;
}

#Subheader ul.breadcrumbs li span {
    opacity: .7;
}


/* Customize Tabs */

.ui-tabs .ui-tabs-nav li a {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 1px;
}

.ui-tabs .ui-tabs-nav li a:hover {
    color: #f0b310;
    background: white;
}

.style-simple .ui-tabs .ui-tabs-nav li.ui-state-active a {
    background-color: white;
}

.style-simple .ui-tabs .ui-tabs-panel {
    background: white;
}


/* Customize Accordion */

.accordion .question .title {
    font-size: 16px;
    font-weight: 500;
}

.accordion .question .title:hover {
    color: #f0b310;
    -webkit-transition: all 300ms ease-in;
    -moz-transition: all 300ms ease-in;
    -o-transition: all 300ms ease-in;
    transition: all 300ms ease-in;
}


/* Customize Idea box */

.idea_box {
    background: white!important;
}

.idea_box .desc > h3 {
    padding: 0;
}


/* Arrange Team list to fit with Patrnership */

.team_list .one-second.column {
    width: 73%;
}

.bq_wrapper {
    display: none;
}


/* Hover color - Round Elements */

.hover_color,
.hover_color .hover_color_bg {
    cursor: pointer;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    width: 220px;
    height: 220px;
    margin: 0 auto;
}

.hover_color .hover_color_bg .hover_color_wrapper {
    display: flex;
}

.hover_color .hover_color_bg h4 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.hover_color a {
    display: flex;
    padding: 40px 20px;
}


/*  ######  Header  ######  */

.header-stack #Top_bar .logo #logo {
    max-width: 250px;
}

#Top_bar .search_wrapper input[type="text"] {
    color: #6b7a6b;
    font-size: 1.5em;
    padding-left: 45px
}

#Top_bar .search_wrapper .icon_search,
#Top_bar .search_wrapper .icon_close {
    color: rgba(0, 0, 0, .5);
    font-size: 2em
}

#Top_bar .search_wrapper .icon_search {
    left: 10px;
}

.search h2 {
    padding: 0
}

#Subheader::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgba(0, 10, 50, 0.35)!important;
    top: 0!important;
    left: 0;
}


/*  Add filter on Revolution Slider  */

.perpetua::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgba(0, 10, 50, 0.35)!important;
    top: 0!important;
    left: 0;
}


/*  

######  Content  ###### 

*/


/* \_Homepage */

.home .blog_wrapper .post-footer {
    display: none;
}

/* \__Blog module */

.post-title h2 {
    font-size: 24px;
    line-height: 1.2;
}


.author,
.author-date .date .label {
    display: none
}

.section-related-adjustment > h4 {
    font-size: 36px;
    text-align: center;
    padding: 1% 0;
    font-weight: 700;
}

.date_label {
    background-color: #e8ede6;
    color: #3f613d;
}

.post-meta .category .cat-wrapper ul {
    background: #e8ede6;
}

.post-meta .category .cat-wrapper ul li a:hover {
    background: none;
}

.blog_wrapper .post-footer {
    background: none;
}

.blog_wrapper .post-footer .post-links {
    background: #f0b310;
    color: white;
    border: 0;
    padding: 10px 15px 10px 10px;
}

.blog_wrapper .post-footer .post-links a {
    color: white;
}


/* \_Single posts */

.post .post-wrapper-content {
    padding-top:30px
}

#Intro {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#Intro::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgba(0, 10, 50, 0.35)!important;
    top: 0!important;
    left: 0;
}

#Intro .intro-inner {
    padding: 100px 5%;
}


/* \_Nous Joindre */

.page-id-18 .image_frame .image_wrapper {
    max-width: 250px;
    margin: 0 auto;
}

/* \_A Propos */
.team .desc_wrapper .desc  {
    display: inline-flex;
    margin:0;
}
.team .desc_wrapper .links {
    display: inline-flex;
    margin-left:10px;
}


/* \_Publications */

.pum-content {
    font-size: 1.25em;
    line-height: 1.25em;
}

.publication {
    margin-bottom: 5%!important;
    border: 1px solid #538051;
    background: #e8ede6;
    padding: 15px 5% 15px;
}

.publication:hover {
    opacity: .9;
}

.middle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 220px;
    margin: 0 15px 15px 0;
}

.max-img img {
    height: auto;
    width: auto;
    max-height: 220px;
}

.max-img > p {
    text-align: center;
    margin: 0 auto;
}


/*  ######  Footer  ######  */

footer {
    font-size: 14px
}

footer li {
    line-height: 1.5em;
    font-weight: 400;
    margin-bottom: 1em;
}

footer .button span {
    color: white;
}

footer .button .button_icon {
    padding: 5px 12px;
}

footer .button .button_label {
    padding: 5px 20px;
}

footer .icon-twitter,
footer .icon-faceook {
    display:block !important;
}


/*  ######  Responsive  ######  */

@media only screen and (max-width:1131px) {
    #Top_bar #menu {
        width: 97.5vw!important;
        text-align: center!important;
        padding: 1em 0;
    }
    #Top_bar #menu ul li a:hover {
        background: #e8ede6;
    }
}

@media only screen and (max-width:959px) and (min-width:768px) {
    h4 {
        font-size: 22px!important;
        line-height: 32px!important;
    }
    .publication {
        padding: 5% 5% 0 5%;
    }
    .middle {
        width: 100% !important;
        height: auto!important;
        text-align: center;
        margin: auto;
    }
    .alignleft {
        margin: 0 15px 15px;
    }
}

@media only screen and (max-width:767px) and (min-width:480px) {
    h4 {
        font-size: 22px!important;
        line-height: 32px!important;
    }
    .publication {
        padding: 5% 5% 0 5%;
    }
    .middle {
        width: 100% !important;
        height: auto!important;
        text-align: center;
        margin: auto;
    }
    .alignleft {
        margin: 0 15px 15px;
    }
}

@media only screen and (max-width:479px) {
    #Intro .intro-title {
        font-size: 34px !important;
        line-height: 46px !important;
        word-wrap: normal;
    }
    h4 {
        font-size: 20px!important;
        line-height: 32px!important;
    }
    .publication {
        padding: 5% 5% 0 5%;
    }
    .middle {
        width: 100% !important;
        height: auto!important;
        text-align: center;
        margin: auto;
    }
    .alignleft {
        margin: 15px 15px 15px;
    }
}


/*  ######  Special Event > Climate Justice - 2018/11/26  ######  */

@-moz-keyframes intro {
0%   { height: 0; }
100% { height: 35px; }
}
@-o-keyframes intro {
0%   { height: 0; }
100% { height: 35px; }
}
@-webkit-keyframes intro {
0%   { height: 0; }
100% { height: 35px; }
}
@keyframes intro {
0%   { height: 0; }
100% { height: 35px; }
}


body .banner_event {
    display: none !important;
}



.home .banner_event {
    animation: intro .75s normal 2s forwards ease-out;
    background:#dd3333; 
    color:white;
    height: 0;
    display: block !important; 
    text-align: center; 
    width:100%;
}






.home .banner_event a {
    color:white !important;
}
.home .banner_event a:hover {
    color: rgba(255, 255, 255, .75) !important;
}


#menu-item-2616 a {
    background: #dd3333 !important;
    color: white !important;
    border-radius: 6px;
    transform: scale(.75);
}
#menu-item-2616 a:hover {
    background: rgba(215, 55, 55, 0.75) !important;
}

#menu-item-2616 a:after {
    opacity: 0 !important;
}


/* ADD Page d'exemple test */
.page-template-default #menu > ul > li > a {
    font-size: 14px !important;
}



/* ADD Page d'exemple test */
.page-id-2611 .banner_event {
    animation: intro .75s normal 2s forwards ease-out;
    background:#dd3333; 
    color:white;
    height: 0;
    display: block !important; 
    text-align:center; 
    width:100%;
}
.page-id-2611 .banner_event a {
    color:white !important;
}
.page-id-2611 .banner_event a:hover {
    color: rgba(255, 255, 255, .75) !important;
}
/* END Test */
