/*
Theme Name: Centre Dentaire Portland - 2019
Version: 1.0
Author: sept24
Text Domain: cdp
*/


.top-message-wrap {padding-left:0;padding-right: 0;position: relative}
#top-message {width:100%;background:rgba(0,0,0,.75);text-align: center;position: absolute;top:0;display: flex;align-items: center;justify-content: center;flex-direction: column;padding:15px;}
#top-message p {color:#fff;margin:0;padding:0;font-weight: 700}
#top-message a{display: block;font-weight: 700}
.header-sticky #top-message {display: none}
img.erreur404 {margin:0 auto;opacity: .8}
.btn-black {border: 1px solid #000;background-color: #000;color: #fff;}
.btn-black:after {background-color: #3b3e43;}
.btn-black:hover {border-color: #3b3e43;}
.btn-orange-v2 {border: 1px solid #000;background-color: #000;color: #fff;}
.btn-orange-v2:after {background-color: #000;}
.btn-orange-v2:hover {  border: 1px solid #000;  background-color: #000;color: #fff;}
.btn-darkgray {border: 1px solid #000;background-color: #000;color: #fff;}
.btn-darkgray:after {background-color: #000;}
.btn-darkgray:hover {border: 1px solid #000;background-color: #000;color: #fff;}
.bg-pale .btn {border: 1px solid #202325;background-color: #202325;color: #fff;}
.bg-pale .btn:after {background-color: #6f6f6f;}
.bg-pale .btn:hover {border-color: #6f6f6f;}
.bg-fonce .btn {border: 1px solid #bf934c;background-color: #bf934c;color: #fff;}
.bg-fonce .btn:after {background-color: #747474;}
.bg-fonce .btn:hover {border-color: #747474;}
.biglink {font-size:120%}
footer .btn-default:after {background:#fff}
footer .btn-default:hover {border: 1px solid #fff;background-color: #fff;color: #fff;}
.servicesbg {background:#f3f3f3;padding-top:90px;padding-bottom: 45px;}
select, textarea {width:100%}
.menu li h5 a {font-size:13px;font-weight:700}
.d-flex {display:flex;}
.align-items-center {align-items:center}
.justify-content-center {justify-content:center}
.iTeamMember__img img {transform:scale(1.3);top:20px;}
.blankspacer {background:transparent;border:0;}
a:hover {text-decoration:none}
.no-margin-bottom {margin-bottom: 0!important}
.logged-in#fullscreen header {margin-top:32px;}
.megamenu-container hr {background:transparent;border:0;height: 48px;margin:0;padding: 0}
.portfolio-item-description h5 a {color: #cc9000}
.portfolio-item-description h5 a:hover {color: #fff}
.portfolio-item-description h5 span {display: block}
.portfolio-item-hover .portfolio-item-description h3 span {color: #fff}
.carte-membre .portfolio-item-thumbnail {container-type: inline-size}
.carte-membre .portfolio-item-hover .portfolio-item-description {padding: 0 10px;overflow-wrap: break-word}
/* Survol : marge fixe de 15px au repos comme au survol (le thème l'anime à 10px, ou 20px sur grand écran) pour que le texte ne change pas de ligne pendant la transition, le rétrécissement passe par un scale */
.carte-membre .portfolio-item-hover {margin: 15px;transform: scale(1.08)}
.portfolio-item.carte-membre:hover .portfolio-item-hover {margin: 15px;transform: none}
/* Carte sans lien (champ ACF 'lien_actif' désactivé) : flèche normale, pas de curseur texte sur le nom */
.carte-membre.sans-lien .portfolio-item-hover {cursor: default}
/* Texte au survol plus petit quand la carte est étroite (5-6 colonnes) */
@container (max-width: 240px) {
.carte-membre .portfolio-item-description h3 {font-size: 14px;line-height: 21px;letter-spacing: 2px}
.carte-membre .portfolio-item-description h5 {font-size: 11px;letter-spacing: 1.5px}
}
@container (max-width: 180px) {
.carte-membre .portfolio-item-hover .portfolio-item-description {padding: 0 8px}
.carte-membre .portfolio-item-description h3 {font-size: 12px;line-height: 18px;letter-spacing: 1px}
.carte-membre .portfolio-item-description h5 {font-size: 9px;line-height: 14px;letter-spacing: .5px}
}
.flickity-button {top:40%;height: 50px;line-height: 50px;width:50px;background:rgba(189,125,0,.85)}
.flickity-button.next {right:0;}
.flickity-button svg {width:10px;}
.flickity-button svg path {fill:#fff}
.flickity-button:hover svg path {fill:rgba(189,125,0,1)}
.bio ul {padding:2em;padding-top:0;margin:0;}
.bg-light-gray {background:#f4f4f4;}
.big-btn {font-size: 16px;
    font-weight: 700;
    padding: 20px;
	}
.headline h4 {font-weight:300;margin-bottom: 0}
#logo img {max-width:180px;}
.btn-orange {background:#BF934C;color:#fff;border: 1px solid #BF934C;}
.btn-orange:hover {border-color: #c28817;background-color: #BF934C;color: #fff;}
.topbar {display:flex;justify-content: flex-end}
.topbar .topButtons {max-height: 40px;}
.topbar .topButtons li {margin-right: 5px;width:100%;}
.topbar .topButtons .btn i {display: none;line-height: normal;text-align: left;border-left:0;padding-left: 0;margin: 0;font-size:1.4em;margin-right:5px;}
.topbar .topButtons .urgences-menutop i {display: block}
.topbar .topButtons .btn-red {background:#c30e00;border: 1px solid #8C1C13;font-weight: 700}
.topbar .topButtons .btn-red:hover {border-color: #3b3e43;}
.dentiste-urgence-divide:last-of-type {display: none}
.navtop li:last-of-type {margin-right: 0;}
.navtop .lang-item a {border: 1px solid #BF934C;display: inline-block;height:40px;border: 1px solid #BF934C;background-color: #BF934C;color: #fff;padding: 0 13px;position: relative;z-index: 2;border-radius: 0;text-transform: uppercase;font-size: 12px;line-height: 40px;overflow: hidden; transition: all 0.2s;}
.navtop .lang-item a:after {background-color: #3b3e43;position: absolute;z-index: -1;top: 0;left: 50%;width: 0;height: 100%;opacity: 0;content: "";
-webkit-transform: translateX(-50%);-ms-transform: translateX(-50%);transform: translateX(-50%);-webkit-transition: all 0.2s;transition: all 0.2s;}
.navtop .lang-item a:hover {border-color: #3b3e43;background-color: #BF934C;color: #fff;}
.navtop .lang-item a:hover:after {width: 101%;opacity: 1;}
.urgences-menutop a {display: flex;align-items: center}
.heures-ouverture h3 {margin-top:1.5em;margin-bottom: 1.5em}
.heures-ouverture p {font-size:.9em}
.contact-video {max-height: 400px;}
.page-content h2 {font-size: 2.25em;font-weight:700;line-height: 120%;margin-bottom: 1.75em;padding-right:6em}
.page-content p, .services-boxes-content p, .intro p {font-size: 1.15em;letter-spacing:normal;line-height: 200%;color:#666666}
.page-content p {letter-spacing:normal;}
.page-content li {font-size: 1.15em;letter-spacing:normal;line-height: 200%;color:#666666}
.page-content p.telurg {font-size:2rem;color:#BF934C;}
.liste-services li {list-style: none}
.liste-services .liste-services-item a { text-transform: uppercase; font-size:1em;font-weight:600;display:block; margin:1.25em 0;border-bottom: solid 1px rgba(204, 144, 0, .3); }
.liste-services .liste-services-item a:after {display:block;content: '';border-bottom: solid 1px rgba(204, 144, 0, .7);  transform: scaleX(0);  transition: transform 150ms ease-in-out;}
.liste-services .liste-services-item a:hover:after { transform: scaleX(1); }
.liste-services .liste-services-item a:after{transform-origin:  0% 50%;}
.intro-section {height:380px;padding:0;display: flex;align-items: center}
.intro-section .headline.style-1 h4 {color: #fff;font-weight: 400}
.intro-section h2 {margin-bottom: 0}
.intro-section .headline.style-1 {margin-bottom: 0}
.single .intro-section .headline.style-1 {margin-bottom: 40px}
.single .intro-section {height:auto;}
.single-cliniques #page-header {margin-bottom: 0}
.single-dentistes .intro-section {margin-bottom: 0}
.full-section {margin-bottom: 0;}
.full-section.single-section, .clinique-intro {background-color:#f4f4f6;}
.full-section .bgsection {padding-top:60px;padding-bottom: 60px;background-repeat:no-repeat;background-size:40%;background-position: right center;}
.full-section .bgsection.cliniquebg {background-size:60%;}
.full-section.single-section h2,
.full-section.single-section p,
.full-section.single-section h5,
.clinique-intro h2,
.clinique-intro h4
{color:#3b3e43}
.full-section.single-section .headline.style-1 h4 {color:#3b3e43}
.full-section.single-section p, .clinique-intro p {margin:0}
.headline.style-2 i {font-size: 25px;line-height: 25px;margin-bottom: 5px;color: #cc9000;}
.headline.style-2 h2 span {border-top: solid 1px rgba(204, 144, 0, .3);display: inline-block;padding-top:5px;}
.wpcf7-form label {display: block}
#contact-form input[type="text"], #contact-form textarea {border: 1px solid #d7d7d7;}
.liste-services {padding-bottom: 80px;}
.disposlist .wpcf7-list-item {width:15%}
.accueil-mob {display: none}
.widget-categories {max-height: 300px;overflow: auto}
.widget-categories ul li {border-bottom: 1px solid #d7d7d7;padding: 0;margin:0;}
.widget-categories ul li a {font-weight: 600;text-transform: uppercase;color: #3b3e43; font-size:.8em;line-height: 100%;padding:1em 0;margin:0;display: block;line-height: 150%;}
.widget-categories ul li.current_page_item a, .widget-categories ul li a:hover {;padding-left: 1em; background:#3b3e43;color:#fff}
.widget-title {line-height: 24px;}
.portfolio-item-thumbnail {padding:3px;}
#page-header.general h1 {font-weight: 400;margin-bottom: 0}
#page-header.general h1:before {content: "";border-bottom: 1px solid #cc9000;display: block;width: 45px;}
.page-template-page-noscliniques .portfolio-item {margin-bottom: 30px}
/* 5 colonnes (Bootstrap 3 n'a pas de col-md-2.4), pour les groupes d'équipe des cliniques */
.col-md-5ths {position: relative;min-height: 1px;padding-left: 15px;padding-right: 15px;}
@media (min-width: 992px) {
.col-md-5ths {float: left;width: 20%;}
/* Groupe d'équipe centré (champ ACF 'centrer') : une rangée incomplète est centrée */
.equipe-centree {display: flex;flex-wrap: wrap;justify-content: center;}
.equipe-centree:before, .equipe-centree:after {display: none;}
}
.parent_infos {background:#bf934c;text-align: center;position:relative;height:200px;width:250px;padding-top:2.5em;margin-bottom: 6em}
.parent_infos h4 {font-size:1.35em;font-weight: 700}
.services_infos h5 {font-size:1.3em;line-height: 130%;font-weight: 700;padding-right:1em}
.parent_infos img {position: absolute;bottom:-17%;right:-17%;width:140px;height: auto}
.page-content .headline h2 {padding-right:0}
.page-template-page-contact .headline.style-3 {margin-bottom:15px;}
.page-template-page-contact .headline.style-3 h2 {margin-bottom:15px;}
.alternate-title span {color:#BF934C}
.intro h5 {font-size: 16px;line-height: 18px;letter-spacing: 2.5px;margin-bottom: 8px;}
.intro h2 {font-size: 28px;line-height: 36px;letter-spacing: 4px;margin-bottom: 30px; }
/* FORMS */
.wpcf7-form .wpcf7-submit {margin-top:15px;}
input[type="radio"], input[type="checkbox"] {width:15px;height:15px;float:left;margin-right:5px;-webkit-appearance: checkbox;
}

.wpcf7-form label {padding:15px 0 3px 0;font-size:1.2em;}
.wpcf7-form .wpcf7-list-item {margin-left:0;margin-right:15px;}
.wpcf7-radio {height: 35px;display: flex;align-items: center;}
.wpcf7-form p {font-size:1em}
.wpcf7-form hr {margin:30px 0}

.contenu_generique .gform_wrapper.gravity-theme .description, .contenu_generique .gform_wrapper.gravity-theme .gfield_description, .contenu_generique .gform_wrapper.gravity-theme .gsection_description, .contenu_generique .gform_wrapper.gravity-theme .instruction {display: none}
.contenu_generique .gform_wrapper.gravity-theme .gfield.gf_list_inline .gfield_checkbox .gchoice, .contenu_generique .gform_wrapper.gravity-theme .gfield.gf_list_inline .gfield_radio .gchoice {display: inline-flex;align-items: center}
.gform_wrapper.gravity-theme .gsection {    padding: 0 16px 2px 0;
    margin-top: 30px;margin-bottom: 15px;
}
.gform_wrapper.gravity-theme fieldset.red-important {background: #c30e00;border-radius: 5px;text-align: center}
.gform_wrapper.gravity-theme fieldset.red-important * {color:#fff}
.gform_wrapper.gravity-theme fieldset.red-important .gfield_label {    border-bottom: 2px solid white;padding:10px;border-radius: 5px;border-bottom-left-radius: 0;border-bottom-right-radius: 0; background:#3b3e43;}
.gform_wrapper.gravity-theme fieldset.red-important .ginput_container_radio {padding:10px;}


h3.gsection_title {
    font-size: 16px;
    line-height: 27px;
    letter-spacing: 3.5px;
    margin-bottom: 0;
}
/* Nouveau call to action */
.bottom-sections .section {padding:80px;height:360px;}
.bottom-sections .section h4 {color:#202325;font-weight:700;font-size: 2.25em;line-height: 120%;margin-bottom: 1em}
.bg-fonce {background:#2b2e31}
.bg-pale {background:#bf934c}
.bottom-sections .bg-fonce h4, .bottom-sections .bg-fonce p {color:#fff}
.bg-pale h4 {color:#202325}
.bg-pale h2 {color:#202325}
.bg-fonce h2 {color:#fff}
.list-pages {margin-left:-15px;}
.list-pages li {list-style: none;width:33.33%;float:left;padding-right:15px;padding-left: 15px;}
.list-pages li a {text-transform: uppercase;line-height: 150%;font-size:1em;font-weight:600;display:block; margin:1.25em 0;border-bottom: solid 1px rgba(204, 144, 0, .3); }
.list-pages li a:after {display:block;content: '';border-bottom: solid 1px rgba(204, 144, 0, .7);  transform: scaleX(0);  transition: transform 150ms ease-in-out;}
.list-pages li a:hover:after { transform: scaleX(1); }
.list-pages li a:after{transform-origin:  0% 50%;}
.list-pages li.page_item_has_children > a {font-size:1.2em}
.list-pages ul.children {margin:0;padding:0;}
.list-pages li li {width:100%;padding-left:0;}
.list-pages li li a {font-size:.85em}

/* TABS RV */
.nav-tabs {margin-top:30px;border:0}
.tabnavitem {padding:80px;}
.tabnavitem:first-of-type {border-right:5px solid #fff;}
.tabnavitem:last-of-type {border-left:5px solid #fff;}

.contenu_generique ul { padding:15px 45px }
.contenu_generique ul ul {padding:15px}
.contenu_generique ul ul li { font-size: 100%}

.gform_wrapper {padding:15px;}
.gform_wrapper.gravity-theme #field_submit input, .gform_wrapper.gravity-theme .gform_footer input {    
    border: 1px solid #bf934c;
    background-color: #bf934c;
    color: #fff;
    font-size:16px;font-weight: 700;    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    border-radius: 0;
    text-transform: uppercase;
    line-height: 12px;
    padding: 15px 20px;
    overflow: hidden;
    transition: all 0.2s;}
.gform_wrapper.gravity-theme legend {border:0;}
.gform_wrapper.gravity-theme hr {border:0;}
.gform_wrapper.gravity-theme #field_submit input:hover, .gform_wrapper.gravity-theme .gform_footer input:hover {
    border-color: #3b3e43;
    background-color: #3b3e43;
    color: #fff;
}
.page-content .gform_wrapper.gravity-theme .description, .gform_wrapper.gravity-theme .gfield_description, .gform_wrapper.gravity-theme .gsection_description, .gform_wrapper.gravity-theme .instruction {display: none}
.page-content .gform_wrapper.gravity-theme .gfield.gf_list_inline .gfield_checkbox .gchoice, .gform_wrapper.gravity-theme .gfield.gf_list_inline .gfield_radio .gchoice {
    display: inline-flex!important;
    padding-right: 16px;
    align-items: center;
}
@media (max-width: 1279px) {
.menu > li > a {padding: 10px 5px 30px 5px;margin-right: 5px;}
.logged-in#fullscreen header {padding-bottom: 5px;}
.topbar {margin-bottom: 45px;margin-top:15px;}
#mobile-menu-button {margin-top:0}
.menu {margin-top:0}
#logo {margin-top:-85px;}
#logo img {max-width:180px;}
.full-section.single-section, .clinique-intro {background-size:55%;display: block}
}
@media (max-width: 1024px) {
  .bottom-sections .section h4 {font-size: 1.75em;}
    .bottom-sections .section {height:auto}
    #page-header.general h1 {font-size:2.4em}
    #top-message {top:6px}
}

.wpcf7-response-output {border:0!important;padding:0!important;border-top: 1px solid #eee!important;font-weight: 700}

@media (max-width: 991px) {
#logo {margin-top:0}
.topbar {margin-bottom: 5px;margin-top:5px;}
.full-section.single-section, .clinique-intro {background-size:65%;background-position: right bottom;}
header .container {margin-bottom: 15px;}
}

@media (max-width: 768px) {
  #top-message {top:20px}
.topbar .btn {font-size: 11px;}
.topButtons {align-items: center;display: flex;}
.topbar .topButtons .btn {
height: auto;line-height:normal;background:transparent;color:black;border:0;padding:7px 0;margin:0 5px 0 0;border-bottom:1px solid #f4f4f4;display: flex;justify-content: flex-end}
.topbar .topButtons .btn i {display: inline-block;color:#BF934C;}
.topbar .topButtons li {margin-right: 0;float: left;width:auto}
#video-section video {display:none}
#video-section img {display:block}
.single .intro-section {background-size:60%;background-position: right bottom;}
.single .intro-section .headline.style-1 {margin-bottom: 15px;}
.single .intro-section .colinfos {margin-bottom: 50px;padding-left:30px;max-width: 50%}
#mobile-menu .megamenu-container .section ul a {padding-left: 40px;}
.full-section.single-section, .clinique-intro {background-size: 40%;}
#mobile-menu-button{top:15px;}
.tabnavitem:first-of-type {border-right:0}
.tabnavitem:last-of-type {border-left:0; }
.tabnavitem {padding:30px;}
.tabnavitem div {display:flex;align-items: center;width:100%;justify-content: space-between;}
.tabnavitem h2 {margin-bottom: 0;font-size: 1.2em;line-height: 140%}
#page-header.general h1 {font-size:1.7em;line-height: 140%}
.services_infos h5 {padding-right:.25em}
.list-pages li {width:50%}
.page-content h2 {padding-right: 2em;}
}

@media (max-width: 599px) {
.topbar .topButtons {max-height:none}
.topButtons {display:block;margin-bottom: 15px;}
.logged-in#fullscreen header {margin-top:0;}
#page-header.general h1 {font-size:1.6em;line-height: 140%;}
#page-header.general h1:before {position: relative;bottom:10px}
}

@media (max-width: 480px) {
  .tabnavitem div {display:block;}
  .tabnavitem .btn {font-size:11px;margin-bottom: 0}
  .tabnavitem h2 {margin-bottom: 15px;}
  .bottom-sections .section {padding:40px;}
.list-pages li {width:100%}
}
