/*
 * Styles du contenu et customisation styles Fusion Builder
 */



/*
 * Homepage divers
 */
body.home #main {
	padding-bottom: 0;
}



/*
 * Revolution slider
 */
.rev_slider .shadow-left, .rev_slider .shadow-right {
	display: none !important;
}
#sliders-container .rev_slider_wrapper .rev_slider .tp-leftarrow.tparrows
, #sliders-container .rev_slider_wrapper .rev_slider .tp-rightarrow.tparrows {
	background-color: #2e89c0;
}
#sliders-container .tp-bullets .tp-bullet {
    box-shadow: 0 0 0 2px #2e89c0 inset;
}
#sliders-container .tp-bullets .tp-bullet:after {
	background-color: #2e89c0;
	transition: opacity;
}
#sliders-container  .hermes .tp-bullet:hover {
    background-color: #2e89c0;
}



/*
 * Homepage blocs posts
 */
.home-bloc-post {
	position: relative;
	overflow: hidden;
}
.home-bloc-post.small {
    max-width: 483px;
}
.home-bloc-post h2
, .home-bloc-post .excerpt
, .home-bloc-post .read-more
, .home-bloc-post .metas
, .home-bloc-post .overlay {
	position: absolute;
}
.home-bloc-post .wp-post-image {
	transition: all 0.5s;
}
.home-bloc-post .overlay {
	background-color: rgba(50,50,50,0.5);
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	transition: background-color 0.5s;
}
.home-bloc-post h2 {
	background-image: url(/wp-content/themes/CEPPRAAL-Avada-Child/img/home-block-title-top-bar.jpg);
	background-position: top left;
	padding-top: 20px;
	left: 40px;
	background-repeat: no-repeat;
	color: #ffffff !important;
	top: calc(100% - 110px - 86px - 30px);
	margin: 0;
	transition: top 0.5s;
}
.home-bloc-post.small h2 {
	font-size: 20px !important;
	top: calc(100% - 60px - 65px - 30px);
}
.home-bloc-post .excerpt
, .home-bloc-post .read-more {
	opacity: 0;
	transition: opacity 1s;
}
.home-bloc-post .metas {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    bottom: 0;
    font-style: italic;
    font-weight: normal;
    left: 0;
    list-style: outside none none;
    padding-left: 10px;
    width: 100%;
    margin: 0;
}
.home-bloc-post .metas li {
	display: inline-block;
	line-height: 75px;
	margin-left: 30px;
}
.home-bloc-post.small .metas li {
	display: inline-block;
	line-height: 60px;
}
.home-bloc-post:hover .wp-post-image {
	width: 105%;
	max-width: 105%;
	margin-left: -2.5%;
	margin-right: -2.5%;
	margin-top: -1.7%;
	margin-bottom: -1.7%;
}
.home-bloc-post:hover .overlay {
	background-color: rgba(46,137,192,0.6);
}
.home-bloc-post.small:hover h2 {
	 /*bottom: auto;*/
	 top: 25px;
 }
.home-bloc-post:hover h2 {
	/*bottom: auto;*/
	top: 50px;
}
.home-bloc-post.big:hover .excerpt {
	top: 40%;
	left: 40px;
	max-width: 60%;
	opacity: 1;
}
.home-bloc-post:hover .read-more {
	bottom: 105px;
	right: 40px;
	opacity: 1;
}
.home-bloc-post.small .read-more {
	font-size: 20px;
	height: 40px;
	line-height: 40px;
	padding-left: 50px;
}
.home-bloc-post.small .read-more img {
	width: 40px;
	height: 40px;
}
.home-bloc-post.small:hover .read-more {
    bottom: 65px;
    right: 30px;
}



/*
 * Homepage bloc twitter
 */
.aiwidgetscss.widget .widget-title {
	display: none;
}
.aiwidgetscss.widget .aiwidget-title {
    background-image: url("/wp-content/themes/CEPPRAAL-Avada-Child/img/social-sep.jpg");
    background-position: left top;
    background-repeat: no-repeat;
    padding-bottom: 0;
}
.aiwidgetscss.widget .imgdisplay {
	background-image: url(/wp-content/themes/CEPPRAAL-Avada-Child/img/twitter-sep-bottom.jpg);
	background-position: bottom left;
	background-repeat: no-repeat;
	margin-bottom: 35px;
}
.aiwidgetscss.widget .imgalign {
    float: left;
}
.aiwidgetscss.widget .tweettxts {
    float: right;
    width: calc(100% - 60px);
}
.aiwidgetscss.widget .aiwidget-title span {
	display: none;
}
.aiwidgetscss.widget .tweet_author_name, .aiwidgetscss.widget .tweet_author, .aiwidgetscss.widget .ai-timestamp {
    font-family: Corbel;
    font-size: 14px;
    font-weight: normal;
    display: inline-block;
    margin-bottom: 5px;
    text-transform: uppercase;
}
.aiwidgetscss.widget .tweet_author_name a {
	color: #525250;
}
.aiwidgetscss.widget .tweet_author a, .aiwidgetscss.widget .ai-timestamp {
	color: #ccd6de;
}
.aiwidgetscss.widget .ai-timestamp {
	margin-left: 25px;
}
.aiwidgetscss.widget .tweettext {
    color: #525250;
    font-size: 14px;
}
.aiwidgetscss.widget .tweetlink {
    padding: 10px 0;
}
.aiwidgetscss.widget .tweetlink a {
	color: #ccd6de;
	margin-right: 20px;
}
.aiwidgetscss.widget .thinkTwitFollow {
    bottom: 0;
    position: absolute;
    right: 0;
}



/*
 * Homepage bloc newsletter
 */
body.home .widgets_on_page ul {
    list-style: outside none none;
    padding: 0;
    background-color: #2e89c0;
    color: #ffffff;
}
body.home .widgets_on_page h2 {
	color: #ffffff;
	margin-bottom: 15px;
}
#wrapper .post-content .WP_Mailjet_Subscribe_Widget h2 {
    font-family: merriweather !important;
    font-size: 16px !important;
    font-weight: bold !important;
    margin-top: 20px;
}
.WP_Mailjet_Subscribe_Widget .subscribe-form {
	text-align: center;
}
.WP_Mailjet_Subscribe_Widget input {
    display: inline-block;
    margin: 0;
    max-width: 330px;
}
.WP_Mailjet_Subscribe_Widget input.mailjet-subscribe {
    background: rgba(0,0,0,0) none repeat scroll 0 0;
    border: 0 none;
    cursor: pointer;
    margin-left: -52px;
    color: rgba(0,0,0,0);
    background-image: url(/wp-content/themes/CEPPRAAL-Avada-Child/img/newsletter-submit-icon.jpg);
    background-repeat: no-repeat;
    background-position: center;
}



/*
 * The events calendar
 */
.tribe-bar-disabled {
	display: none;
}
.tribe-events-list-separator-month {
	height: auto;
	margin-bottom: 30px !important;
}
.tribe-events-single-section-title {
	font-size: 26px !important;
	color: #525250 !important;
	background-color: rgba(0,0,0,0) !important;
	padding: 0 !important;
	margin-top: 0 !important;
}
.event-form-display {
	margin: 30px 0;
}
.event-form {
	margin-top: 50px;
}
.event-form form {
	margin: 0;
}
.tribe-events-list-event-description .read-more {
	margin-top: 30px;
}



/*
 * Formulaires
 */
form {
	max-width: 1100px;
	margin: auto;
}
input[type="text"]
, input[type="password"]
, input[type="email"]
, textarea
, select {
	height: 29px;
	padding-bottom: 0;
	padding-top: 0;
	border: 1px solid #d2d2d2;
	box-sizing: border-box;
	color: #747474;
	font-size: 14px !important;
	margin-right: 1%;
	padding: 8px 15px;
	width: 100%;
}
select option {
	padding: 3px 15px;
}
span.wpcf7-list-item {
	margin: 0;
	display: block;
}
.wpcf7-list-item > label {
    text-align: left;
}
.wpcf7-form input[type="submit"]:disabled {
    opacity: 0.5;
}



/*
 * Bouton incrémentation compteur
 */
#bouton-incrementation-compteur-form {
	text-align: center;
	margin: 50px 0;
}
#bouton-incrementation-compteur-valeur {
	font-size: 45px;
	max-width: 200px;
	padding: 0;
	text-align: center;
	height: 55px;
	color: #333333;
}
#bouton-incrementation-compteur-form-submit {
	font-size: 30px !important;
	line-height: 25px !important;
	padding-top: 15px !important;
}



/*
 * Homepage compteur
 */
.home-compteur {
    border: 10px solid #1d587a;
    color: #1d587a;
    display: inline-block;
    font-family: Corbel-Bold;
    font-size: 110px;
    font-weight: bold;
    line-height: 110px;
    padding: 0 50px 25px;
    text-align: center;
}
.home-compteur .content-box-percentage {
	color: #1d587a;
}
.home-compteur .counter-box-container {
	border: 0 none !important;
}



/*
 * Tribe events commun
 */
.tribe-events-ical {
	display: none !important;
}
#tribe-events-pg-template .tribe-events-content h2, .tribe-events-after-html h2, .tribe-events-before-html h2 {
	font-size: 1.5em !important;
}
#tribe-events-pg-template .tribe-events-content h3, .tribe-events-after-html h3, .tribe-events-before-html h3 {
	font-size: 1.17em !important;
}


/*
 * Formations inter / intra page liste
 */
.fusion-events-before-title {
	margin-bottom: 40px;
}
.tribe-events-loop-formation-inter h2 {
	margin-bottom: 0 !important;
}
.tribe-events-category-formation-inter {
	margin-bottom: 0 !important;
}
.tribe-events-list .tribe-events-category-formation-inter {
    background-color: #f6f6f6;
}
#tribe-events .tribe-events-list .type-tribe_events.tribe-events-category-formation-inter {
	min-height: 0;
}
.tribe-events-list .tribe-events-loop-formation-inter table {
	width: 100%;
}
.tribe-events-list .tribe-events-loop-formation-inter table td {
	padding: 15px 30px;
}
.tribe-events-list .tribe-events-loop-formation-inter table td.tags {
    font-weight: bold;
    text-align: center;
    width: 10%;
    font-size: 24px;
}
.tribe-events-list .tribe-events-loop-formation-inter table td.name {
	width: 55%;
}
.tribe-events-list .tribe-events-loop-formation-inter table td.name h3 {
	margin-top: 15px;
}
.tribe-events-list .tribe-events-loop-formation-inter table td.tags_and_name_collapse {
	width: 63.5%;
}
.tribe-events-list .tribe-events-loop-formation-inter table td.tags_and_name_collapse b {
	font-family: Corbel-Bold;
}
.tribe-events-list .tribe-events-loop-formation-inter table td.duree {
    width: 15%;
    text-align: center;
}
.tribe-events-list .tribe-events-loop-formation-inter table td.date {
    width: 20%;
    text-align: center;
}
.formations-archive-texte-haut {
	margin-bottom: 30px;
}
.formations-archive-texte-bas {
	margin-top: 30px;
}



/*
 * Evenements inter page détail
 */
.tribe-events-single-event-description table {
	width: 100% !important;
	background-color: #f6f6f6;
}
.tribe-events-single-event-description table td {
    width: auto !important;
    border: 1px solid #525250;
    padding: 5px 20px;
}
#tribe-events .tribe-events-gcal.tribe-events-button {
	display: none;
}
.sidebar .tribe-events-meta-group dt {
    font-size: 16px;
}
.sidebar .tribe-events-meta-group-venue {
	margin-bottom: 0;
}
.sidebar .tribe-events-meta-group dd.tribe-venue {
    border-bottom: 0 none;
    color: #2e89c0;
    font-weight: bold;
    margin-bottom: 0;
    padding-bottom: 0;
}
.sidebar .tribe-events-gmap {
	display: none;
}
.sidebar .tribe-events-venue-map {
	margin-top: 0;
	width: 100% !important;
}



/**
 * 	Archive posts (formations intra)
 */
.fusion-image-wrapper .fusion-rollover {
	display: none !important;
}
#posts-container .fusion-meta-info {
	display: none !important;
}



/**
 * Single Posts (formations intra)
 */
.single-post #sidebar {
    display: none;
}
.single-post #content {
    float: none !important;
    margin: auto;
}
.single-post .single-navigation {
    display: none;
}
.single-post .fusion-meta-info {
    display: none;
}
