/*
    Theme Name: Acx Divi Child Theme
    Theme URI: https://acxcom.com/
    Version: 3.14
    Description: Child theme made for Divi.
    Author: Acxcom
    Author URI: https://www.acxcom.com
    Template: Divi
*/

/*@import "../Divi/style.css";*/

/* GENREAL */
body {
    font-weight: 400;
}
sup {
    font-size: 50%;
}
.mt45 {
    margin-top: 45px !important;
}
.et_pb_button {
  line-height: 1.2 !important;
}
.in-page-btn-link {
    margin-top: 10px;
    margin-bottom: 20px;
    display: inline-block;
}
.pdf-dl, .ext-link {
    display: inline-block;
    padding: 10px 10px 10px 40px;
}
.pdf-dl:hover, .ext-link:hover {
    color: #000;
}
.pdf-dl:before {
    content: "";
    background: url(/wp-content/uploads/2022/06/pdf-dl-icon.png) scroll no-repeat left center;
    position: absolute;
    width: 26px;
    height: 34px;
    left: 0;
    margin-top: -3px;
}
.ext-link:before {
    content: "";
    background: url(/wp-content/uploads/2022/08/external-link-icon.png) scroll no-repeat left center;
    position: absolute;
    width: 26px;
    height: 22px;
    left: 0;
    margin-top: -3px;
}
.pdf-dl.inli:before, .ext-link.inli:before {
    left: 18px;
}
.link-desc {
    display: block;
    padding-left: 40px;
    font-style: italic;
    margin-top: -6px;
}
.no-click > a, .no-click > a:hover {
    cursor: context-menu !important;
    opacity: 1 !important;
}
button {
    cursor: pointer;
}
.hide-if-not-logged-in {
    display: none;
}
.logged-in .hide-if-not-logged-in {
    display: block;
}

/* TABLES */
.entry-content thead th {
    color: #fff;
    font-weight: 700;
    padding: 12px 24px;
    background-color: #333;
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
}
.entry-content tbody tr {
    background-color: #4AC0DF;
    border: 2px solid #fff;
}
.entry-content tbody tr:nth-child(even) {
    background-color: #ABDCED;
}
.entry-content tbody tr td.gray-table-col {
    background-color: #546670;
    color: #fff;
    text-align: right;
    border-right: 2px solid #fff;
}

/* FORMS */
input.text, input.title, input[type="email"], input[type="password"], input[type="tel"], input[type="text"], select, textarea {
    padding: 10px;
    border-radius: 6px;
}
input[type="button"], .gform_button.button {
    background: #2F3082;
    border: 2px solid #2F3082;
    color: #fff;
    padding: 10px 30px;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: none;
    font-size: 20px;
    text-transform: uppercase;
}
input[type="button"]:hover, .gform_button.button:hover {
color: #4ac0df !important;
background-color: rgba(47,48,130,0.9);
}

/* HEADER */
header {
    -webkit-box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
    position: relative;
    z-index: 99;
}
header #logo-quebec {
  position: absolute;
  left: -60px;
}
.et_pb_menu .et_pb_menu__search-input {
    color: #fff;
}
#drmg-main-menu {
    position: absolute;
    width: 100%;
}
#drmg-main-menu .et_pb_menu__icon.et_pb_menu__search-button {
    position: absolute;
    right: 0;
    top: 28px;
}
#drmg-main-menu .et_pb_menu .et_pb_menu__wrap {
    padding-right: 40px;
}
#drmg-main-menu .et-menu .menu-item-has-children > a:first-child {
    padding-right: 0;
}
#drmg-main-menu .et-menu .menu-item-has-children > a:first-child::after {
    content: none;
}
#drmg-main-menu .et_pb_menu--without-logo .et_pb_menu__menu > nav > ul > li {
    margin-top: 0;
    border-right: 1px solid #8283b4;
}
#drmg-main-menu .et_pb_menu--without-logo .et_pb_menu__menu > nav > ul > li > a {
    padding-bottom: 32px;
    padding-top: 32px;
}
.drmg-menu-population {
    background: url(/wp-content/uploads/2022/05/icone-famille.png) scroll no-repeat 20px center;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.drmg-menu-professionnels {
    background: url(/wp-content/uploads/2022/05/icone-professionnel.png) scroll no-repeat 20px center;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.drmg-menu-population a {
    padding-left: 60px;
    padding-right: 25px !important;
}
.drmg-menu-professionnels a {
    padding-left: 55px;
    padding-right: 25px !important;
}
.drmg-menu-drmg a, .drmg-menu-communication a {
    padding-left: 15px;
    padding-right: 15px !important;
}
/* Submenu */
#drmg-main-menu .sub-menu {
    margin-left: -19px;
}
#drmg-main-menu .sub-menu .sub-menu {
    margin-left: 0;
}
#drmg-main-menu .sub-menu .sub-menu li {
    width: 33% !important;
    line-height: 1.2;
}
#drmg-main-menu .menu-title-1.menu-item.menu-item-has-children,
#drmg-main-menu .menu-title-1.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-has-children,
#drmg-main-menu .et-menu-nav li.mega-menu.mega-menu-parent-3 > ul > li {
  width: 100%;
}
#drmg-main-menu .menu-title-1 > a {
    display: block;
    margin-left: 20px;
    margin-bottom: 20px;
    padding: 0 0 0 0;
    color: #2F3082 !important;
    font-weight: 500;
    width: 100% !important;
}
#drmg-main-menu .menu-title-1 li a {
    color: #49C0E0 !important;
    font-weight: 500;
    text-transform: none;
    font-size: 15px;
    padding-bottom: 20px;
    width: 100% !important;
}
#drmg-main-menu .sub-menu {
    width: 100% !important;
}
.menu-item-description {
    color: #414042 !important;
    font-size: 14px;
    font-weight: 400;
    display: block;
    margin-top: 6px;
    text-transform: none;
}
.drmg-menu-drmg li:not(.menu-title-1) .menu-item-description {
    min-height: 72px;
}
.drmg-menu-drmg li.mh92:not(.menu-title-1) .menu-item-description {
    min-height: 82px;
}
.drmg-menu-communication li:not(.menu-title-1) .menu-item-description {
    min-height: 50px;
}
.drmg-menu-professionnels li:not(.menu-title-1) .menu-item-description, .drmg-menu-population li:not(.menu-title-1) .menu-item-description {
    min-height: 92px;
}

.et-menu-nav li.mega-menu.drmg-menu-drmg li > a {
    width: 100% !important;
}
.et-menu-nav li.mega-menu.drmg-menu-drmg > ul > li a {
    color: #49C0E0 !important;
    width: 33%;
}
.menu-italique {
    font-style: italic;
}
#new-header-link {
    position: absolute;
    top: 75px;
    right: calc(50% - 560px);
    width: 1120px;
}

/* FOOTER */
#main-footer {
    border-top: 6px solid #CDD2D5;
}
#footer-bottom {
    border-top: 1px solid #8283b4;
}
#footer-widgets .footer-widget li {
    padding-left: 0;
}
#footer-widgets .footer-widget li::before {
    content: none;
}
#media_image-3 {
    margin-top: 116px;
    text-align: right;
    width: 100%;
}

/* HOME PAGE */
#drmg-hp-header .header-content {
    background-color: rgba(0,0,0,0.65);
    padding: 30px;
}

/* EQUIPE */
/* Archive */
.equipe-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}
.equipe-list-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 32%;
    margin-bottom: 60px;
}
/* Single */
.drmg-post-subtitle {
    padding-bottom: 30px;
}
.drmg-post-image {
    width: 40%;
    text-align: center;
    float: left;
    margin-right: 3%;
}
.drmg-post-body {
    width: 57%;
    float: left;
}
.credit-photo {
  transform: rotate(270deg);
  position: absolute;
  bottom: -560px;
  left: -120px;
  font-size: 12px;
}
.credit-photo-chef {
    transform: rotate(270deg);
    position: absolute;
    bottom: 110px;
    left: -110px;
}
.credit-photo-posts {
    transform: rotate(270deg);
    transform-origin: 0 0;
    position: absolute;
    bottom: 20px;
    left: -30px;
    font-size: 12px;
}
.drmg-caption {
    font-size: 14px;
    margin-top: -10px;
    line-height: 1.4;
}

/* BULLETIN (BLOG) */
.cat-bulletin-item {
    width: 32%;
    float: left;
    margin-right: 2%;
    border: 1px solid #b8b8b8;
    text-align: center;
    padding-bottom: 15px;
    font-weight: bold;
}
.cat-bulletin-item:hnt-child(3n) {
    margin-right: 0;
}

/* POSTES A COMBLER */
#filtre-postes-a-combler {
    background-color: #ABDCED;
    padding: 30px;
    margin-bottom: 60px;
}
#filtre-postes-a-combler form {
    display: flex;
    justify-content: space-between;
}
#filtre-postes-a-combler .form-group {
    margin-right: 20px;
}
#filtre-postes-a-combler select {
    margin-left: 0;
    max-width: 250px;
}
#liste-de-postes-a-combler .et_pb_post {
    padding-bottom: 30px;
	padding-left: 30px;
	padding-right: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    color: #414042;
}
#liste-de-postes-a-combler .post-meta {
    font-size: 14px;
    color: #004b67;
}
#filtre-postes-a-combler .wpv-reset-trigger.js-wpv-reset-trigger.btn {
    margin-top: 14px !important;
}
.drmg-job-title {
	font-size: 36px;
}
#liste-de-postes-a-combler h4 {
	border-bottom: 1px solid #ddd;
	margin-bottom: 30px;
}
#wpv-view-layout-1595 {
	display: flex;
	flex-direction: column;
}
.bris-de-service {
	background: #ddd;
	padding: 30px;
	order: -1;
}
.bris-de-service h2 {
	padding-left: 45px;
}
.bris-de-service h2:before {
	position: absolute;
	content: "";
	width: 36px;
	height: 36px;
	background: url(/wp-content/uploads/2023/03/etoile.png) scroll no-repeat center;
	background-size: contain;
	margin-left: -45px;
}
.drmg-etoile {
  max-width: 36px;
  margin-bottom: -4px;
}

/* PAGES */
.et_pb_button.btn-nav-page, .et_pb_button.btn-nav-page:hover {
    font-size: 32px;
    border-radius: 0 !important;
    font-weight: 600;
    width: 100%;
    text-align: center;
}

/* TEMP */
.acx-temp-hide a {
    display: none !important;
}
