/* 
Theme Name: Dr Guillaume Grosjean
Theme URI: http://www.prothesedugenou.com/
Description: Thème crée pour le site http://www.prothesedugenou.com/
Version: 1.0
Author: Aline Héau
Author URI: http://www.aheo.fr
Dr Guillaume Grosjean par Aline Héau || http://www.aheo.fr
*/

/*Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/


/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
	background: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}
a img {
	border: 0;
}


/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}


/* =Content
----------------------------------------------- */

.sticky {
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}


/* =Media
----------------------------------------------- */

.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
    font-size: 1.5rem;
}
.site-content .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-content .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-content .gallery dd {
	margin: 0;
}


/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}



/* =Comments
----------------------------------------------- */

.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}

/* styles généraux */
/* apply a natural box layout model to all elements, but allowing components to change */
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
*, *:before, *:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}
body {
    
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #222;
    line-height: 1.5;
}
a {
    text-decoration: none;
    border-bottom: .15rem solid #bfddf6;
    -webkit-box-shadow: inset 0 -0.7rem 0 #bfddf6;
    box-shadow: inset 0 -0.7rem 0 #bfddf6;
    word-wrap: break-word;
    color: #1a1a1a;
}
a:hover {
    -webkit-box-shadow: inset 0 -0.5rem 0 #bfddf6;
    box-shadow: inset 0 -0.5rem 0 #bfddf6;
    background-color: #bfddf6;
}
.noborder,
.noborder a,
#wpadminbar a {
   -webkit-box-shadow: 0 0 0 0 rgba(0,0,0,0);
   box-shadow: 0 0 0 0 rgba(0,0,0,0);
   border-bottom: 0;
}
.noborder:hover,
.noborder a:hover,
#wpadminbar a:hover {
    -webkit-box-shadow: inset 0 0 0 #fff;
    box-shadow: inset 0 0 0 #fff;
    background-color: transparent;
}
em {
    font-style: italic;
}
strong {
    font-weight: 700;
}
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
}

sup {
  top: -0.5em;
}
figure {
    margin: 0;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.wrapper {
    max-width: 120em;
    width: 100%;
    margin: 0 auto;
}
.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */

/* header */
.site-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;

}
.site-infos {
    padding: 2em;
}
.site-titre {
    font-family: 'Roboto Slab', serif;
    font-size: 3.2em;
    text-align: center;
    margin-bottom: 0;
}
.site-sous-titre {
    font-weight: 300;
    font-size: 1.8em;
    text-align: center;
}
.surbandeau {
    padding: 1em;
    background: #f0f0f0;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,.25);
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.25);
    text-align: center;
    line-height: 1.5;
}
.surbandeau .adresse {
    font-size: 1.6em;
    font-weight: 300;
}
.surbandeau .clinique {
    font-weight: 700;
    display: block;
}
.surbandeau .rv {
    font-weight: 300;
    font-size: 1.8em;
    margin-top: 1rem;
}
.surbandeau .rv .telephone {
    font-size: 2rem;
    font-family: 'Roboto Slab', serif;
    color: #1a1a1a;
    letter-spacing: 0.1rem;
}
/* navigation principale */
.site-nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: wrap;
    margin-top: 2em;
}
.site-nav ul li {
    font-size: 2em;
    text-transform: uppercase;
    width: 50%;
    border: 1px solid #eee;
    text-align: center;
    padding: 0.5em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.site-nav ul li:hover {
    background: #bfddf6;
}
.site-nav ul li:last-child {
    width: 100%;
    background: #bfddf6;
}
.site-nav ul li a {
    display: block;
}
.site-nav .current_page_item,
.site-nav .current-page-ancestor {
    background: #bfddf6;
}
/* main */
.main {
    margin-top: 2em;
    padding: 1em;
    background: #f0f0f0;
}
.home .main {
    background-image: url(img/bkg-home-mobile.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}
.home .main .wrapper {
    display: block;
}
.main .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.sidebar {
    width: 100%;
}
/* focus home */
.home-focus {
    width: 75vw;
    float: right;
}
.focus {
    background: #f0f0f0;
    padding: 1.5em;
    margin-bottom: 2em;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,.25);
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.25);
}
.focus-titre {
    font-size: 3em;
    font-family: 'Roboto Slab', serif;
    text-align: center;
}
.focus-definition {
    font-size: 1.8em;
}
.focus .read-more {
    font-size: 1.8em;
    font-weight: 300;
    float: right;
}
/* footer */
.site-footer {
    padding: 1em;
}
.copyright {
    font-size: 1.4em;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}
.footer-nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.footer-nav ul li {
    padding: 0 1em;
    font-size: 1.4em;
}
/* article */
article {
    padding: 1em;
    width: 100%;
    max-width: 75em;
    margin: 0 auto;
    background: rgba(255,255,255,1);
}
.article-titre {
    font-size: 4em;
    font-family: 'Roboto Slab', serif;
    margin-bottom: 1em;
    text-align: center;
}
.entry h2 {
    font-weight: 700;
    font-size: 2.4em;
    -webkit-box-shadow: inset 0 -1.3rem 0 #e0dfdc;
    box-shadow: inset 0 -1.3rem 0 #e0dfdc;
    line-height: 1.3;
    margin: 1em 0;
    display: inline;
    word-wrap: break-word;
}
.entry h2 + p {
    margin-top: 1em;
}
.entry h3 {
    font-size: 2rem;
    text-transform: uppercase;
    line-height: 1.3;
    margin: 1em 0;
}
.entry p {
    font-size: 1.9em;
    margin-bottom: 1em;
}
.entry ul,
.entry ol {
    font-size: 1.8rem;
    list-style-position: inside;
    margin-bottom: 1em;
}
.entry ul {
    list-style-type: disc;
}
.entry ol {
    list-style: decimal;
}
.entry .maj {
    text-align: right;
    font-size: 1.4rem;
}
/* sidebar */
.menu-sidebar {
    margin-top: 3rem;
    border-top: 1px solid #1a1a1a;
    padding-top: 1rem;
}
.menu-sidebar li {
    text-transform: uppercase;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.menu-sidebar .sub-menu {
    padding-left: 2rem;
}
.menu-sidebar li li {
    font-size: 1.4rem;
}
.menu-sidebar a {
    padding: 0.5rem;
}
.menu-sidebar a:hover {
    -webkit-box-shadow: inset 0 -0.5rem 0 #bfddf6;
    box-shadow: inset 0 -0.5rem 0 #bfddf6;
    background-color: #bfddf6;
}
.menu-sidebar .current_page_item a,
.menu-sidebar .current-page-ancestor > a {
    -webkit-box-shadow: inset 0 -0.5rem 0 #bfddf6;
    box-shadow: inset 0 -0.5rem 0 #bfddf6;
    background-color: #bfddf6;
}
.bloc-cv {
    
}
.cv-titre {
    text-align: center;
    font-size: 2.4em;
    font-family: 'Roboto Slab', serif;
    margin: 1rem 0;
}
.cv-domaine {
    font-size: 1.4rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 1em;
}
.bloc-cv img {
    display: block;
    margin: 0 auto 1em;
}
.bloc-cv p {
    font-size: 1.4em;
    margin-bottom: 0.5em;
}
.bloc-cv ul {
    list-style-type: disc;
    list-style-position: inside;
    font-size: 1.4em;
}
/* portail */
.portail-liste {
    padding: 1em;
    width: 100%;
    max-width: 75em;
    margin: 0 auto;
}
.portail-titre {
    font-size: 3em;
    font-family: 'Roboto Slab', serif;
    text-align: center;
    margin-bottom: 1em;
}
.portail-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.portail-flex figure {
    margin: 0 2% 2% 0;
    position: relative;
    float: left;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,.25);
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.25);
}
.portail-flex figure img {
    width: 100%;
}
.portail-flex figure figcaption {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: rgba(0,0,0,.65);
    -webkit-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
}
.portail-flex figure figcaption:hover {
    background: rgba(0,0,0,0);
}
.portail-flex figure figcaption a {
    color: #fff;
    font-size: 1.5em;
    text-transform: uppercase;
    margin: 1rem;
    text-align: center;
    border: 1px solid #fff;
    border-radius: 3px;
    padding: 1rem;
    background: rgba(0,0,0,0);
}
.portail-flex figure figcaption:hover a {
    background: rgba(0,0,0,.65);
}
.separateur-genou {
    width: 100%;
    margin: 2rem 0;
    text-align: center;
    font-size: 2rem;
    display: inline-block;
}

@media only screen and (min-width:50em) { 
    .surbandeau {
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        line-height: 1;
        -webkit-box-align: baseline;
        -ms-flex-align: baseline;
        align-items: baseline;
    }
    .surbandeau .clinique {
        display: inline;
    }
    .surbandeau .rv {
        margin-top: 0;
        margin-left: 0;
    }
    .surbandeau .rv,
    .surbandeau .telephone {
        font-size: 1.6rem;
    }
    .site-nav ul {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }
    .site-nav ul li {
        border: 0;
        padding: 0;
        margin: 0 0.5rem;
    }
    .site-nav ul li:last-child {
        width: 30rem;
        background: transparent;
        min-width: 30rem;
        padding: 1rem;
        border: 1px solid #1a1a1a;
        border-radius: 3px;
        margin-left: 1rem;
    }
    .site-nav ul li:last-child:hover {
    background: #bfddf6;
    }
    .home .main {
        background-image: url(img/bkg-home.jpg);
    }
    .home-focus {
        max-width: 30em;
    }
    /*layout*/
    .main .wrapper {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
    .site-sidebar {
        width: 30rem;
        margin-left: 1rem;
    }
    /* portail */
    .portail-flex {
        display: block;
    }
    .portail-flex figure {
        max-width: 31%;
    }
}