/*
Theme Name: Divi Enfant par WP Marmite
Description: Theme enfant du theme Divi. Vous pouvez desormais le personnaliser sans risquer de perdre vos modifications
Author: WPMarmite
Author URI: https://wpmarmite.com
Template: Divi
Version: 1.0
*/


/* Suppression du sidebar: https://www.elegantthemes.com/blog/divi-resources/how-to-remove-sidebars-from-divi 
   J'ai utilisé la méthode: copie du fichier sidebar.php et vidé du contenu. Ajouté css en ligne 79	
*/



/*Couleurs*/
/*
	#45aaf2 = bleu Bouton
	#61BDFF = bleu Liens
	#c52e58 = rouge usap
*/

@import url('https://fonts.googleapis.com/css?family=Oswald:400,500,700&display=swap');

/* TYPO */
h1 {
	font-weight: 200!important;
    font-size: 36px!important;
    line-height: 1.2em!important;
    text-align: center;
}
h1.entry-title {
	padding: 10px 0 30px 0;
}
.et_pb_text_inner h1 {
	padding: 40px 0;
}
.presentation-title h1, 
.titre_membre h1 {
    padding: 0 0 5px 0;
}

h2 {
    font-size: 32px;
    font-weight: 200!important;
    line-height: 1.2em;
}
h2.entry-title,
.et_pb_text_inner h3 {
    font-size: 19px;
    font-weight: 700!important;
    line-height: 1.3em;
}
h3 {
	font-weight: 600!important;
    line-height: 1.2em;
}
h4.et_pb_module_header {
    padding-top:10px;
}
.agenda-date {
	font-family: 'Oswald', sans-serif;
	font-size: 90px!important;
	font-weight: 500;
	text-align: left;
    padding: 30px 0;
    display: block;
}

/*MENU*/
@media (max-width: 1148px) {
	#et_mobile_nav_menu {
	display: block;
	}
 	#top-menu {
	display: none;
 	}
 }


/* HOME */
.et_pb_column.et_pb_column_1_3.et_pb_column_1.et_pb_css_mix_blend_mode_passthrough {
    margin: 10px 0 20px 0px;
}

header#main-header {
    background: #556372;
}

/*logo sur la gauche du slider*/

@media (max-width: 700px) {
	.et_pb_fullwidth_post_slider_0 .et_pb_slide .et_pb_slide_overlay_container {
	    background: url(https://dev2.usap.ch/wp-content/uploads/images/logo_usap-vertical-154.png) no-repeat;
	    background-position-y: center;
	    background-position-x:15px;
	}
}	
@media (min-width: 701px) and (max-width: 1199px) {
	.et_pb_fullwidth_post_slider_0 .et_pb_slide .et_pb_slide_overlay_container {
	    background: url(https://dev2.usap.ch/wp-content/uploads/images/logo_usap-vertical-260.png) no-repeat;
	    background-position-y: center;
	    background-position-x:20px;
	}
}
@media (min-width: 1200px){
	.et_pb_fullwidth_post_slider_0 .et_pb_slide .et_pb_slide_overlay_container {
	    background: url(https://dev2.usap.ch/wp-content/uploads/images/logo_usap-vertical-434.png) no-repeat;
	    background-position-y: center;
	    background-position-x: 83px;
	}
}


/*masquage du logo et texte de remplacement*/
/*
img#logo {
	display: none;
}
.logo_container:after {
	 content: "UNION SUISSE DES ATTACHÉS DE PRESSE";
	 color:#fefefe;
	 font-size: 18px;
}
@media (max-width: 529px){
	.logo_container:after {
		 font-size: 11px;
	}
}
@media (min-width: 530px) and (max-width: 619px){
	.logo_container:after {
		 font-size: 16px;
	}
}
@media (min-width: 620px) and (max-width: 1149px){
	.logo_container:after {
		 font-size: 18px;
	}
}
@media (min-width: 1150px) and (max-width: 1219px) {
	.logo_container:after {
		 font-size: 11px;
	}
}
@media (min-width: 1220px) and (max-width: 1319px) {
	.logo_container:after {
		 font-size: 14px;
	}
}
@media (min-width: 1320px){
	.logo_container:after {
		 font-size: 18px;
	}
}
*/


/* SUPPRESSION DU SIDEBAR */
#main-content .container:before {background: none;}
/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
#left-area {
    width: 100% !important;
    padding: 23px 0px 0px !important;
    float: none !important;}
}

/*MARGE BAS DU SITE*/
#main-content .container {
    padding-bottom: 30px;
}


/*AGENDA*/
article.category-agenda {
    background-color: #6e999f!important;
    padding: 20px;
}
article.category-agenda h2,
article.category-agenda p,
article.category-agenda p.post-meta,
article.category-agenda span.author a,
article.category-agenda p.post-meta a {
	color: #fff!important;
}

article.category-agenda h2 {
	font-size: 19px;
	line-height: 1.5em;
}

/* Button */
span.btn-big {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    background-color: #45aaf2;
    line-height: 20px;
    padding: 14px 20px;
    margin: 25px auto;
    display: block;
    width: 50%
}
span.btn-big a{
	font-size: 18px;
	line-height: 25px;
    color: #fff;
}
span.btn-big a:hover{
    color: #333;
}

/*Suppression image à la une des Carrefour Media articles*/
/*image*/
.category-cm-paper img {
    display: none;
}
/*date et category*/
.category-cm-paper .et_post_meta_wrapper p.post-meta {
	display: none;
}
/*Rétabli l'affichage de l'image pour les articles*/
.et_pb_salvattore_content img {
	display: block;
}

/*formulaire d'adhésion*/
.et-pb-contact-message {
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #27ae60;
}

/* Galerie -  suppression des commentaires */
article .category-galerie-photo p {
	display: none;
}

/*CARREFOUR MEDIA - ARTICLES*/
#carrefourMedia h1 {
    padding: 25px 0 35px 0;
}
#carrefourMedia h3 {
    padding: 20px 0;
}
img.alignleft {
	margin-right: 30px;
	margin-bottom: 20px;
}
