/*
 Theme Name:   Laboratoire Huber
 Theme URI:    https://www.labo-huber.fr/
 Description:  Thème du site du Laboratoire Dentaire Huber
 Author:       Agence B
 Author URI:   https://www.agenceb.alsace
 Template:     kawi
 Version:      1.0.0
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Media
# Header
# Content
# Blocks
# Pagination
# Comments
# Footer
# Widgets
# Helpers
--------------------------------------------------------------*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
    border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
    display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
    display: none;
}

/**
 *--------------------------------------------------------------
 *--------------------------------------------------------------
 */

/**
 * CUSTOM STYLES
 */

@font-face {
    font-family:"OpenSans_Regular";
    src:url(../kawi-child/assets/fonts/Regular/OpenSans-Regular.woff2?v=1.101) format("woff2"),url(../kawi-child/assets/fonts/Regular/OpenSans-Regular.woff?v=1.101) format("woff");
    font-weight:400;
    font-style:normal
}
@font-face {
    font-family:"OpenSans_Regular_Italic";
    src:url(../kawi-child/assets/fonts/Italic/OpenSans-Italic.woff2?v=1.101) format("woff2"),url(../kawi-child/assets/fonts/Italic/OpenSans-Italic.woff?v=1.101) format("woff");
    font-weight:400;
    font-style:italic
}
@font-face {
    font-family:"OpenSans_Bold";
    src:url(../kawi-child/assets/fonts/Bold/OpenSans-Bold.woff2?v=1.101) format("woff2"),url(../kawi-child/assets/fonts/Bold/OpenSans-Bold.woff?v=1.101) format("woff");
    font-weight:700;
    font-style:normal
}
@font-face {
    font-family:"OpenSans_Bold_Italic";
    src:url(../kawi-child/assets/fonts/BoldItalic/OpenSans-BoldItalic.woff2?v=1.101) format("woff2"),url(../kawi-child/assets/fonts/BoldItalic/OpenSans-BoldItalic.woff?v=1.101) format("woff");
    font-weight:700;
    font-style:italic
}
@font-face {
    font-family:"OpenSans_Extrabold";
    src:url(../kawi-child/assets/fonts/ExtraBold/OpenSans-ExtraBold.woff2?v=1.101) format("woff2"),url(../kawi-child/assets/fonts/ExtraBold/OpenSans-ExtraBold.woff?v=1.101) format("woff");
    font-weight:900;
    font-style:normal
}
@font-face {
    font-family:"OpenSans_Extrabold_Italic";
    src:url(../kawi-child/assets/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff2?v=1.101) format("woff2"),url(../kawi-child/assets/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.woff?v=1.101) format("woff");
    font-weight:900;
    font-style:italic
}

body {
    font-family: "OpenSans_Regular";
    font-size: 0.95em;
    line-height: 1.3em;
}
p, blockquote, address, pre {
    margin-bottom: 0.5rem;
    margin-top: 0;
}
.hentry, .no-results, .error-404 {
    background-color: #fff;
    border-top: none;
    padding: 0;
    margin-bottom: 0;
}
.edit-link {display: none;}
.align_center {
    text-align: center;
}
.rounded_img {
    border-radius: 10px;
}
.grid {
    display: grid;
}
input, textarea, select {
    background-color: #fff;
    border: 1px solid #B2BD18;
    border-radius: 4px;
    max-width: 100%;
    padding: 0.25rem 0.75rem;
    transition: all 0.25s ease-in-out;
}
.content-wrapper {
    max-width: 1000px;
}
.wrapper {
    padding: 0;
}
#gform_1 ::-webkit-input-placeholder {
    color: #B2BD18;
}
#gform_1 ::-moz-placeholder {
    color: #B2BD18;
}
#gform_1 :-ms-input-placeholder {
    color: #B2BD18;
}
#gform_1 :-moz-placeholder {
    color: #B2BD18;
}
.logo_header {
    display: block;
    width: 109px;
    height: 145px;
    margin: 10px auto 10px auto;
}
.page-template-homepage .site-header {
    background-color: #36377f;
    padding-bottom: 30px;
    min-height: 450px;
}
.site-header {
    background-color: #36377f;
    padding-bottom: 30px;
    min-height: 260px;
}
.page-template-homepage nav#topbar-nav {
    background-color: #36377f;
    padding: 20px;
    margin: -260px auto 130px auto;
}
nav#topbar-nav {
    background-color: #36377f;
    padding: 20px;
    margin: -60px auto 30px auto;
}
ul#topbar-menu {
    width: 1000px;
    margin: 0 auto;
    padding-top: 11px;
    text-align: center;
    border-top: 1px solid #b8e82b;
    display: block;
}
ul#topbar-menu li {
    display:inline-block;
    color:white;
    box-sizing: border-box;
}
ul#topbar-menu li a {
    text-transform: none;
    font-family: "OpenSans_Regular" ;
    font-size: 1em;
    padding: 10px 15px;
    box-sizing: border-box;
}
ul#topbar-menu li a:hover {
    color: #32327A;
    text-decoration: none;
    background-color: #fff;
    padding: 18px 15px;
    box-sizing: border-box;
    transition-duration: 0.5s;
    border-radius: 5px;
}
ul#topbar-menu li a[aria-current="page"] {
    color: #fff;
    font-weight: bold;
    border-top: 2px solid #b8e82b;
    padding: 8px 15px;
}
ul#topbar-menu li a[aria-current="page"]:hover {
    color: #32327A;
    text-decoration: none;
    background-color: #fff;
    padding: 18px 15px;
    box-sizing: border-box;
    transition-duration: 0.5s;
}
div#home_slider {
    max-width: 1000px;
    width: 100%;
    margin: -116px auto 25px auto;
}
.b_link img {
    margin-bottom: -10px;
}
a.b_link:hover {
    background-color: none;
    outline: none;
}
.green_txt {
    color: #B2BD18;
}
.col_content {
    max-width: 1000px;
    margin: 20px auto 10px auto;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 30px;
    font-family: "OpenSans_Regular";
    font-size: 0.95em;
    line-height: 1.3em;
}
.col_content p {
    margin-bottom: 0.85em;
    height: fit-content;
}
.col_full {
    width: 100%;
    max-width: 1000px;
    margin: 15px auto;
    display: block;
}
.page-template-homepage .col_full {
    margin-bottom: 70px;
}
.home_title {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto 0 auto;
    display: block;
    border-bottom: 1px solid #C4D4ED;
}
.home_title h1, .home_title h2 {
    font-family: "OpenSans_Bold";
    font-size: 1.7em;
    line-height: 1em;
    color: #B2BD18;
}
.col_content h2 {
    font-family: "OpenSans_Bold";
    font-size: 1.55em;
    line-height: 1em;
    color: #B2BD18;
    margin: 0 0 15px 0;
    padding: 0 0 15px 0;
    /*border-bottom: 1px solid #C4D4ED;*/
}

.col_content h3 {
    font-family: "OpenSans_Regular";
    font-size: 1.3em;
    line-height: 1em;
    color: #393680;
    margin: 0 0 15px 0;
    padding: 0;
}
.footer-wrapper {
    max-width: 1000px;
    display: block;
    min-height: 80px;
}
.site-info {
    float: right;
}
.b_link {
    display: inline-block;
}
div#pre_footer {
    max-width: 1000px;
    margin: 10px auto 35px auto;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 20px;
    font-family: "OpenSans_Regular";
    font-size: 0.95em;
    line-height: 1.45em
}
div#pre_footer h2 {
    font-family: "OpenSans_Bold";
    font-size: 1.45em;
    line-height: 1em;
    color: #97BD5C;
    display: inline-block;
}
div#pre_footer a:hover {
    background-color: transparent;
}
.tooltip_agate_content {
    display: block;
    visibility: hidden;
    opacity: 0;
    width: 375px;
    background-color: #A4BDE4;
    color: #36337C;
    font-family: "OpenSans_Regular";
    font-size: 0.70em;
    line-height: 1.4em;
    font-weight: 300;
    text-align: left;
    padding: 20px;
    border-radius: 6px;
    position: absolute;
    z-index: 999;
    margin-left: -36px;
    margin-top: -275px;
    transition: opacity 0.3s;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}
.tooltip_agate::after {
    content: url("../kawi-child/assets/img/info.png");
    display: inline-block;
    margin-left: 10px;
    position: relative;
    top: 6px;
}

div#pre_footer .tooltip_agate:hover {
    cursor: help;
}
.title_h2 {
    font-family: "OpenSans_Bold";
    font-size: 1.45em;
    line-height: 1em;
    color: #97BD5C;
    display: inline-block;
    min-height: 30px;
    margin-top: 20px;
}
.tooltip_agate:hover .tooltip_agate_content {
    visibility: visible;
    opacity: 1;
}
.tooltip_agate_content::before {
     content: "";
     position: absolute;
     top: 100%;
     left: 50%;
     margin-left: -11px;
     border-width: 11px;
     border-style: solid;
     border-color: #A4BDE4 transparent transparent transparent;
}
.ngg-gallery-thumbnail {
    text-align: center;
    max-width: 100% !important;
    background-color: #FFFFFF;
    border: none;
    margin-right: 0;
    margin: 0;
}
.sl-overlay {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #000;
    opacity: 0.8;
    display: none;
    z-index: 1035;
}
footer .pre_footer a.vp-a:hover {
    background-color: transparent;
}
.video img:hover {
    opacity: 0.75;
}

.sticky {
    position: fixed;
    top: 50px;
    width: 100%;
}
.sticky + .content {
    padding-top: 60px;
}

@media screen and (max-width: 414px) {
    ul#topbar-menu {
        width: 100%;
        margin: 0 auto;
        padding: 11px 20px 11px 20px;
        text-align: center;
        display: block;
    }
    ul#topbar-menu li {
        display:inline-flex;
        color:white;
        box-sizing: border-box;
    }
    ul#topbar-menu li a {
        text-transform: none;
        font-family: "OpenSans_Regular" ;
        font-size: 1em;
        padding: 15px 15px;
        box-sizing: border-box;
        border: 1px solid #fff;
        border-radius: 10px;
    }
    ul#topbar-menu li a:hover {
        color: #32327A;
        text-decoration: none;
        background-color: #fff;
        padding: 15px 15px;
        box-sizing: border-box;
        transition-duration: 0.5s;
        border-radius: 5px;
    }
    ul#topbar-menu li a[aria-current="page"] {
        color: #393981;
        font-weight: bold;
        border-top: 2px solid #fff;
        padding: 15px 15px;
        background-color: #fff;
    }
    .col_content, .col_full {
        margin: 20px auto 10px auto;
        padding: 0 20px;
        box-sizing: border-box;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-row-gap-gap: 30px;
        font-family: "OpenSans_Regular";
        font-size: 0.95em;
        line-height: 1.3em;
    }
    .home_title {
        width: 100%;
        margin: 20px auto 0 auto;
        padding: 0 20px;
        display: block;
        border-bottom: 1px solid #C4D4ED;
    }
    div#pre_footer {
        margin: 10px auto 35px auto;
        padding: 0 20px;
        box-sizing: border-box;
        display: grid;
        grid-template-columns: 1fr;
        grid-row-gap: 20px;
        font-family: "OpenSans_Regular";
        font-size: 0.95em;
        line-height: 1.45em
    }
    .footer-wrapper {
        max-width: 350px;
        display: block;
        min-height: 80px;
        margin-bottom: 15px;
    }
}

@media screen and (min-width: 1280px) {

}

@media screen and (min-width: 1600px) {

}