/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/** Custom login page **/

body.login {
    background-color: #1a242d;
}

#login h1 a, .login h1 a {
    background-image: url('https://hybride-conseil.fr/wp-welcome-panel/logo_hybride_blanc.svg');
    background-size: cover;
    width: 100%;
    height: 160px;
}

.login #backtoblog a, .login #nav a {
    text-decoration: none;
    color: #cfcfcf;
}



/** Styles **/

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

body {
    font-weight: 400;
}

a {
    color: inherit;
}

a, a:hover {
    text-decoration: none;
}

/** Lists **/

.hc-content-list-ul li {
    display: flex;
    align-items: center;
    list-style-type: none!important;
}

.hc-content-list-ul li:before {
    content: "";
    background: #F1A900;
    width: 9px;
    height: 9px;
    display: inline-block;
    border-radius: 20px;
    position: absolute;
    left: -1px;
}

footer {
    overflow: hidden;
}

#hc-breadcrumb p {
    padding-bottom: 0;
}
/********************** END GLOBAL **********************/



/********************** MENUS **********************/

/** Menu principal **/

#menu-menu-principal .dashicons-admin-home:before {
    content: url("/wp-content/uploads/2022/08/icon-accueil.svg");
}

#menu-menu-principal .dashicons-admin-home:hover:before {
    content: url("/wp-content/uploads/2022/08/icon-accueil-hover.svg");
}

.et_pb_menu_0_tb_header.et_pb_menu .et-menu-nav li a {
    margin-left: 0.8rem !important;
}


/********************** END MENUs **********************/



/********************** HOME **********************/

/** Slider **/

#hc-home-heading h1 {
	display: flex;
	align-items: center;
	margin-top: -5rem;
	padding-left: 0.5rem;
}

#hc-home-heading h1 span {
	font-size: 60px !important;
}

#hc-home-heading .bienvenue {
	display: flex;
    align-items: center;
}

#hc-home-heading .bienvenue:before {
	content:url('/wp-content/uploads/2022/08/icon-bages-before.svg');
	z-index: 1;
	margin-top: -2rem;
    margin-right: -2rem;
}

/** Actualités **/


.pegasus_blog_3  #home-news .et_pb_ajax_pagination_container {
    display: flex;
    justify-content: space-between;
}

.pegasus_blog_3  #home-news article {
    width: 31.333333% !important;
    margin-right: unset !important;
}

.pegasus_blog_3 #home-news article .post_info {
    margin-top: -2.8vw !important;
}

.pegasus_blog_3 #home-news article .post-meta .published {
    color: #F1A900!important;
    background: unset;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

.pegasus_blog_3 #home-news article .post-content .more-link {
    color: #F1A900 !important;
}

.pegasus_blog_3 #home-news article h2.entry-title {
    display: block !important;
    font-size: 20px !important;
    line-height: 32px !important;
}

.pegasus_blog_3 #home-news article h3.entry-title {
    display: block !important;
    font-size: 20px !important;
    line-height: 32px !important;
}


.tina_blog_rain_falling.tina_blog_this_town .et_pb_blog_0 .entry-featured-image-url img {
    height: 210px;
    object-fit: cover;
}

.tina_blog_this_town .one_col article.et_pb_post .entry-featured-image-url.small_height, .tina_blog_this_town .one_col article.et_pb_post .entry-featured-image-url.small_height img {
    min-height: 544px;
    object-fit: cover;
}

/* Blog cursos */

.tina_blog_rain_falling .nn-cursor-text {
    color: #000000 !important;
}

.tina_blog_rain_falling .nn-cursor-text:before {
    background-color: #FED631 !important;
}

/** Agenda **/

.home .et_pb_section_3.et_pb_section {
    overflow: hidden;
}

#hc-home-calendar .decm-show-image-left.col-md-12 img {
	height: 280px;
}

#hc-home-calendar .decm-show-data-display-block.ecs-categories {
	display: none;
}

#hc-home-calendar .decm-show-data-display-block.ecs-eventDate.duration.time {
	color: #F1A900;
    font-size: 20px;
    text-align: center;
    max-width: 90px;
    height: 90px;
    padding: 1rem;
    background-color: white;
    border-radius: 10px;
    line-height: 24px;
    display: flex;
    align-items: center;
}

#hc-home-calendar .ecs-event article .row div:last-child {
	display: flex;
    flex-wrap: wrap;
    padding-top: 2rem;
}

#hc-home-calendar .entry-title.summary:not(h4) {
	display: flex;
    align-items: center;
    padding-left: 1rem;
	order: 2;
}

#hc-home-calendar .decm-show-detail-center {
	order: 1;
}

#hc-home-calendar .ecs-excerpt {
	order: 3;
	margin-top: 1rem !important;
}

#hc-home-calendar .ecs-showdetail.et_pb_button_wrapper {
	order: 4;
	margin-top: 1rem;
	position: relative !important;
}

/** Publications **/

.home .hc-dflip-books .dflip-books ._df_thumb {
    max-width: 270px;
    height: 380px;
    width: 25%;
}


.hc-dflip-books .dflip-books {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.hc-dflip-books .dflip-books ._df_thumb {
    max-width: 220px;
    height: 320px;
    width: 25%;
}

.hc-dflip-books ._df_thumb ._df_book-title {
	background: #A3061B;
}

/** Co-marquage **/


#comarquage.espace-part #co-page h1, #comarquage.espace-part #co-page h2, #comarquage.espace-part #co-page h3 {
    color: #A3061B;
}

#comarquage svg .color-27 {
    fill: #A3061B;
}

#comarquage.espace-part #co-bar #co-search input[type="submit"], #comarquage.espace-part .co-btn.co-btn-primary {
    background-color: #FED631;
    color: #A3061B !important;
}

#comarquage.espace-part #co-bar #co-search input[type="submit"]:hover, #comarquage.espace-part .co-btn.co-btn-primary:hover {
    background-color: #A3061B;
    color: #FED631 !important;
}

.test {
    /* background: #FED631; */
    background-color: #FED631;
    color: #A3061B !important;
}

#comarquage #co-page .co-panel .co-panel-heading h2,
#comarquage #co-page.comarquage-home .co-home-theme h2  {
    font-weight: 600;
}

#comarquage #co-page.comarquage-home .co-home-theme .home-theme-list .home-theme-list-item {
    background-color: #FAF4F4;
}

#comarquage.espace-part #co-page .nav-tabs>li.active>span {
    background-color: #FED631;
    border-color: #FED631;
    color: #A3061B;
}

#comarquage.espace-part #co-page .bloc-asavoir .bloc-asavoir-title {
    color: #A3061B;
}

/** Gallery **/

.freddie_gallery_every_one .et_pb_gallery_item .et_pb_gallery_image .et_overlay.et_pb_inline_icon:before {
    display: none !important;
}

.freddie_gallery_every_one .et_pb_gallery_item h3.et_pb_gallery_title .icons {
    display: none !important;
}

/********************** END HOME **********************/


/********************** GRAVITY FORMS (Nouveaux Arrivés) **********************/

.gform_heading {
    font-size: 13px;
    color: #47797A;
    margin: 2rem 0;
}

.page-id-261144 .gform_wrapper.gravity-theme .left_label .gfield_label {
    width: 20%;
    color: #47797A !important;
    line-height: 22px;
    font-weight: 600;
}

.page-id-261144 .ginput_container {
    width: 80% !important;
}

#field_1_15 .ginput_container {
    width: 100% !important;
    font-size: 14px;
    color: #47797A;
}

.page-id-261144 .gfield {
    align-items: center;
}

.page-id-261144 .gform_wrapper.gravity-theme .ginput_container_date input {
    width: 100%;
}

.page-id-261144 .gform_wrapper.gravity-theme .ginput_container_date img.ui-datepicker-trigger {
    position: absolute;
    right: 1rem;
}

.gform_wrapper.gravity-theme .gform_fields.left_label legend.gfield_label {
    display: none !important;
}

#field_1_19 > label,
#field_1_20 > label,
#field_1_12 > label,
#field_1_13 > label {
    width: 41% !important;
}

#field_1_19 > div, 
#field_1_20 > div, 
#field_1_12 > div, 
#field_1_13 > div {
    width: 59% !important;
}

#gform_submit_button_1 {
    background-color: #F1A900;
    color: white;
    font-size: 16px;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    border: 2px solid #F1A900;
    font-weight: 500;
}

#gform_submit_button_1:hover {
    background-color: white;
    color: #F1A900;
}

.gform_wrapper.gravity-theme .gform_fileupload_rules {
    font-size: 11px;
}

/********************** END GRAVITY FORMS (Nouveaux Arrivés) **********************/


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

#hc-menu-footer #menu-menu-principal-1,
#hc-menu-footer #menu-menu-principal-2 {
	display: flex;
	flex-direction: column;
}

#hc-menu-footer #menu-menu-principal-1 a,
#hc-menu-footer #menu-menu-principal-2  a {
    padding-bottom: 0;
    line-height: 22px;
    font-size: 12px;
}

#hc-menu-footer #menu-menu-principal-1 li,
#hc-menu-footer #menu-menu-principal-2 li {
    margin-top: 0;
}

#hc-menu-footer .menu-item i._mi {
    display: none;
}


#hc-menu-footer .visuallyhidden {
    overflow: unset;
    clip: unset;
    position: unset;
    width: unset;
    height: unset;
    margin: unset;
    padding: unset;
    border: unset;
}

/********************** END FOOTER **********************/


/********************** 404 PAGE // SEARCH PAGE **********************/
.error404 .et_pb_row.et_pb_row_3_tb_header,
.search-results .et_pb_row.et_pb_row_3_tb_header {
    display: none;
}
/********************** END 404 PAGE **********************/


/********************** RESPONSIVE EXTRAS **********************/

@media (max-width: 980px) {
	#hc-menu-footer .et_mobile_nav_menu {
    display: none;
}
	
	#hc-menu-footer .et_pb_menu__menu {
		display: flex !important;
	}
	#hc-menu-footer .et_pb_menu__wrap {
		justify-content: unset !important;
	}
}

@media (max-width: 479px) {
	.home .et_pb_image_0_tb_header {
		display: none;
	}
}

@media (max-width: 980px) {
	#hc-home-heading h1 {
    margin-top: -3rem;
    padding-left: 1.5rem;
}
}

/********************** END RESPONSIVE EXTRAS **********************/


/********************** IFRAME 360º **********************/
#hc-vue-360 iframe, #hc-vue-360 .et_pb_code .et_pb_code_inner {

    width: 100%;
    height: 100%;

}
/********************** END IFRAME 360º **********************/



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

.single.single-post #hc-post-thumb img {
    object-fit: cover;
}

.et_pb_module.et_pb_gallery .et_pb_gallery_items.et_post_gallery {
    display: flex;
    justify-content: center;
}

.et_pb_module.et_pb_gallery .et_pb_gallery_items.et_post_gallery .et_pb_gallery_image,
.et_pb_module.et_pb_gallery .et_pb_gallery_items.et_post_gallery .et_pb_gallery_image img {
    height: 100%;
    object-fit: cover;
}

#page-services .image-box img {
    object-fit: cover;
    height: 250px;
}

#page-services .item-article {
    padding: 10px;
    background-color: #eee;
    box-shadow: 2px 0px 10px darkgray;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

/********************** END ARTICLE **********************/


