/*
Theme Name: Tamanoir2022
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 1.0
Description: Tamanoir2022
Author: Annacrea
Author URI: http://www.annacrea.fr
Template: Divi
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/



/* = Theme customization starts here
-------------------------------------------------------------- */


/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* main */
#main-content {
    /*padding-top: 262px;*/
}

body {
    line-height: 1.5em;
}

strong {
    font-weight: 800;
}

/* links */
a {
    color: #046caf;
    text-decoration: none;
}
:root :where(a:where(:not(.wp-element-button))) {
    text-decoration: none;    
}





/************************* 
    Navigation Menu
*************************/
.my-main-menu {}
.my-main-menu .et_pb_menu__menu, 
.my-main-menu .et_pb_menu__menu > nav, 
.my-main-menu .et_pb_menu__menu > nav > ul {
    background-color: #ddd;
    width: 100%;
}
.my-main-menu .et_pb_menu__menu>nav > ul > li {
    flex: 1;
    justify-content: center;
    margin-top: 0;
}
.my-main-menu .et-menu {
    margin-left: 0;
    margin-right: 0;
}
.my-main-menu .et-menu a {
    /*color: #101820;*/
}
.my-main-menu .et-menu > li {
    padding-left: 0;
    padding-right: 0;
}
.my-main-menu .et-menu > li > a {
    text-align: center;
    flex: 1;
    padding-left: 11px;
    padding-right: 11px;
}
.my-main-menu .et_pb_menu__menu > nav > ul > li > a {
    padding-bottom: 4px;
    padding-top: 4px;
    line-height: 2;
}
.menu-item-229 a { background-color: #046caf; }
/* Menu Le Tam */
.menu-item-225 a { background-color: #e3342e; }

/* Menu Activités */
.menu-item-714 a,
.et_mobile_menu .menu-item-has-children.menu-item-714 > a { 
    background-color: #47b2d9; 
}
.et_pb_menu_0_tb_header.et_pb_menu .nav li.menu-item-714 ul,  
.et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu .menu-item-714 ul {
    background-color: #47b2d9 !important;
    border-color: #47b2d9;
}
/* Menu Infos pratiques */
.menu-item-226 a { background-color: #fce969; }
/* Menu Billetterie */
.menu-item-2004 a { background-color: #4cce59; }
.my-main-menu .et-menu .menu-item-has-children>a:first-child:after {
    top: 3px;
}
.et-menu .menu-item-has-children>a:first-child:after {
    right: 4px;
}
.my-main-menu .et-menu li li a {
    padding: 6px 6px;
    line-height: 1.8;
}


/* sub-menu */
.my-main-menu .nav li ul {
    box-shadow: 0 2px 5px rgba(0,0,0,.3);
    -moz-box-shadow: 0 2px 5px rgba(0,0,0,.3);
    -webkit-box-shadow: 0 2px 5px rgba(0,0,0,.3);
}




/* Tablet / Mobile Nav */
.my-mobile-menu {}
.my-mobile-menu .mobile_menu_bar:before {
    font-size: 50px;
}
.my-mobile-menu .et_mobile_menu {
    padding: 0;
}
.my-mobile-menu .et_mobile_menu li a {
    color: #101820;
    /*font-size: 16px;*/
}
.my-mobile-menu .et_mobile_menu .menu-item-has-children > a {
    font-weight: inherit;
}
.my-mobile-menu li ul.sub-menu {
    padding-left: 0;
}
.my-mobile-menu li li {
    padding-left: 0;
}
.my-mobile-menu li li a {
    padding-left: 10%;
}

.et_pb_menu_1_tb_header .mobile_nav .mobile_menu_bar:before, 
.et_pb_menu_1_tb_header .et_pb_menu__icon.et_pb_menu__search-button, 
.et_pb_menu_1_tb_header .et_pb_menu__icon.et_pb_menu__close-search-button, 
.et_pb_menu_0_tb_header .et_pb_menu__icon.et_pb_menu__search-button, 
.et_pb_menu_0_tb_header .et_pb_menu__icon.et_pb_menu__close-search-button, 
.et_pb_menu_0_tb_header .et_pb_menu__icon.et_pb_menu__cart-button, 
.et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar:before, 
.et_pb_menu_1_tb_header .et_pb_menu__icon.et_pb_menu__cart-button {
    color: #000 !important;
}




/************************* 
    Events 
*************************/
ul.eo-events {
    padding-left: 0;
    list-style-type: none;
    padding-bottom: 0;
}
.eo-event-li {
    margin-bottom: 2rem;
}
.my-event__wrapper {
    background-color: #fce969;
    display: flex;
    transition: all 300ms ease 0ms;
}

/* Lien Archives (page Concerts) */
.my-event__wrapper--archive {
    background-color: #b1b3b4;
}
.eo-event-li .evt-thumbnail {
    width: 182px;
    height: 182px;
}
.my-event__infos {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.my-event__date {
    text-align: left;
    background-color: #000;
    color: #fff;
    padding: 0.6rem 1rem 0.4rem;
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
}
.my-event__title {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*align-items: center;*/
    align-items: flex-start;
    /*text-align: center;*/
    text-align: left;
    font-family: 'Poppins', sans-serif;
    padding: 1rem;
}
.my-event__title h2 {
    font-size: 30px;
}
.my-event__title h1 {
    font-size: 36px;
}
.my-event__title h1,
.my-event__title h2 {
    text-transform: uppercase;
    font-weight: 700;
    padding-bottom: 15px;
}
.my-event__title h3 {
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 0;  
}

.section-archives .my-event__wrapper {
    background-color: #ffffff;
}

.home .my-event__wrapper:hover,
.home .my-event__wrapper:focus,
.home .section-archives .my-event__wrapper:hover,
.home .section-archives .my-event__wrapper:focus {
    background-color: #e3342e;
}

.home .my-event__wrapper:hover .my-event__date,
.home .my-event__wrapper:focus .my-event__date {
    background-color: #e3342e;
    color: #000;
}

.home .my-event__wrapper:hover .evt-thumbnail,
.home .my-event__wrapper:focus .evt-thumbnail { opacity: 0.85; }










/************************* 
    Single event 
*************************/

/* event banner */
.event-banner {
    overflow: hidden;
    background-image: url(images/tam-lieu.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.event-banner img {
    /*
    position: relative;
    top: 50%;
    left: 50%;
    min-width: 100%;
     -moz-transform: translate(-50%, -50%) scale(1.02);
    -webkit-transform: translate(-50%, -50%) scale(1.02);
    -o-transform: translate(-50%, -50%) scale(1.02);
    -ms-transform: translate(-50%, -50%) scale(1.05);
    transform: translate(-50%, -50%) scale(1.02);
    */
}
.single-evt-header {
    background-color: #ddd;
    margin-top: -40px;
    margin-left: -40px;
    margin-right: -40px;
    margin-bottom: 40px;
}
.single-evt-header .my-event__title h3 {
    font-size: 20px;
}



/* Event */
.event-content {
    margin-bottom: 0 !important;
}
.event-content p {
/*    font-size: 16px;
    line-height: 1.5;*/
}
.event-content h2 {
    padding-bottom: 30px;
    text-align: left;
}

.single-evt-header .evt-thumbnail {
    width: 284px;
    height: 284px;
}
.evt-thumbnail {
    position: relative;
    background-color: #e3352e;
    background-image: url(images/picto-tamanoir.png);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    overflow: hidden;
}
@media (max-width: 980px) {
	.evt-thumbnail {
    	width: 142px;
    	height: 142px;
	}
}
.evt-thumbnail img {
	position: absolute;
    left: 50%;
    top: 50%;
    right: 0;
    bottom: 0;
    width: 100%;   
    -moz-transform: translate(-50%, -50%) scale(1.05);
	-webkit-transform: translate(-50%, -50%) scale(1.05);
	-o-transform: translate(-50%, -50%) scale(1.05);
	-ms-transform: translate(-50%, -50%) scale(1.05);
	transform: translate(-50%, -50%) scale(1.05);
}
ul.eo-event-meta {
	text-align: right;
    list-style-type: none;
    padding: 1rem;
    background-color: #000;
    color: #fff;
    text-transform: uppercase;
}

.prices-billetterie {
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 500;
    color: #071316;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
/* Mobile */
@media only screen and (max-width: 767px) {
    .prices-billetterie {
        flex-direction: column;
    }
}
.prices-wrapper {}
.billetterie-wrapper {}
.price-module i {
    font-size: 12px;
}
a.btn-billetterie {
    display: block;
}


/* Rédaction de l'evt */
.single-event img.alignleft {
    margin-right: 16px;
}
.single-event img.alignright {
    margin-left: 16px;
}
.single-event img.alignleft,
.single-event img.alignright {}
.single-event .et_pb_post_content_0_tb_body h2 {}
@media (max-width: 980px) {
    .single-event img.alignleft, 
    .single-event img.alignright {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 38px;
    }
}






/*************************** 
    Events + Single event 
****************************/

@media (max-width: 767px) {

    .my-event__wrapper {
        flex-direction: column;
    }

    .my-event__date {
        text-align: left;
    }
    
    .eo-event-li .evt-thumbnail,
    .single-evt-header .evt-thumbnail {
        width: 100%;
    }
}










/********************************************** 
    Basic Text : mise en forme texte de base
***********************************************/
.basic-text {}
.basic-text h1,
.basic-text h2,
.basic-text h3,
.basic-text h4,
.basic-text h5,
.basic-text h6 {
    padding-top: 10px;
    font-family: 'Montserrat Alternates',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 800;
}



/* liens dans un module texte */
.et_pb_text a,
.event-content a,
.basic-text a,
.et_pb_team_member a {
    font-weight: 800;
}






/********************************************** 
    Titres
***********************************************/
.section-title {}
.section-title h2 {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.section-title h2:before {}
.section-title h2:after {
    content: "";
    flex: 1 1;
    margin-left: 20px;
    border-bottom: 2px solid black;
}
@media only screen and (max-width: 767px){

    .section-title h2:after {
        display: none;
    }
}
/* Titre centré */
.section-title.centered-title h2:before {
    content: "";
    flex: 1 1;
    border-bottom: 2px solid black;
    margin-right: 20px;
}





/************************* 
    Page Le Tam 
*************************/
.tam-team {
    background-color: #fff;
}
.et_pb_team_member.tam-team {
    display: flex;
    align-items: center;
}
.tam-team .et_pb_team_member_image {
    margin: 0;
}
@media only screen and (max-width: 767px){
    .tam-team .et_pb_team_member_image {
        display: none;
    }
    .tam-team .et_pb_team_member_description {
        flex: 1;
    }
}
.tam-team .et_pb_team_member_description {
    padding: 20px;
    word-break: break-word;
}
.tam-team .et_pb_team_member_description a {
    color: #046caf;
}
.tam-team .et_pb_team_member_image img {
    min-width: 172px;
}




/********************************************** 
    Page Category : liste articles Presse
***********************************************/
.presse-list {}
.presse-list .et_pb_post {
    background-color: #fff;
    text-align: center;
    padding: 0 0 20px;
    margin-bottom: 2rem;
}
.journal-name {
    background-color: #046caf;
    text-transform: uppercase;
    color: #fff;
    padding: 10px;
    font-weight: 900;
    font-family: 'Montserrat Alternates', sans-serif;
    margin-bottom: 10px;
    font-size: 20px;
}
.presse-list .entry-title {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 28px;
    padding: 10px 10px 3px 10px;
}
.presse-list .entry-title a {
    transition: all ease 0.5s;
}
.presse-list .entry-title a:hover,
.presse-list .entry-title a:focus {
    color: #046caf;
}
.presse-list h2.entry-title a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.presse-list .post-meta {
    font-size: 18px;
    margin: 0px 0 10px;
}
.presse-list .post-content-inner p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}
.presse-list .post-content {
    padding: 0 10px;
}







/********************************************** 
    Page article de category Presse
***********************************************/
.presse-page {}

.basic-text .has-drop-cap:not(:focus):first-letter {
    float: left;
    font-size: 8.4em;
    line-height: .68;
    font-weight: 400;
    margin: -0.015em .1em 0 -0.095em;
    text-transform: uppercase;
    font-style: normal;
    font-family: 'Montserrat Alternates', sans-serif;
}







/************************* 
    Page Studio
*************************/
iframe.studio-planning {
    height: 171px;
    width: 100%;
}
@media (max-width: 767px) {
    iframe.studio-planning {
        height: 258px;
    }   
}







/************** 
    Footer
**************/

@media (max-width: 980px) {

    .et_pb_menu.footer-navigation .et_pb_menu__menu {
        display: inherit;
    }
    .et_pb_menu.footer-navigation .et_mobile_nav_menu {
        display: none;
    }
}




