/*
Theme Name: IDVDN - Thème de l'Inspection des Vosges du Nord
Theme URI: http://circ.ien.vosges_nord.ac-strasbourg.fr
Author: Eddy Techno
Description: Thème de l'Inspection des Vosges du Nord - 2014
Version: v1
License: GPL
License URI: http://codex.wordpress.org/License
*/

@font-face {
    font-family: 'bubblegum_sansregular';
    src: url('fonts/bubblegumsans-regular-webfont.eot');
    src: url('fonts/bubblegumsans-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/bubblegumsans-regular-webfont.woff2') format('woff2'),
         url('fonts/bubblegumsans-regular-webfont.woff') format('woff'),
         url('fonts/bubblegumsans-regular-webfont.ttf') format('truetype'),
         url('fonts/bubblegumsans-regular-webfont.svg#bubblegum_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* ----------------------------- */
/* ==reset                       */
/* ----------------------------- */

/* base font-size corresponds to 10px and is adapted to rem unit */
html {
	font-size: 62.5%;
}
body {
	background: #fff url(images/fond.jpg) no-repeat center fixed;
    -webkit-background-size: cover; /* pour Chrome et Safari */
    -moz-background-size: cover; /* pour Firefox */
    -o-background-size: cover; /* pour Opera */
    background-size: cover; /* version standardisée */
	color: #000;
	font-family: helvetica, arial, sans-serif;
	font-size: 1.4em; /* equiv 14px */
	line-height: 1.5; /* adapt to your design */
}

/* font-sizing for content */
/* preserves vertical-rythm, thanks to http://soqr.fr/vertical-rhythm/ */
p,
ul,
ol,
dl,
blockquote,
pre,
td,
th,
label,
textarea,
caption,
details,
figure {
	margin: 0;
	line-height: 1.5;
}
h1, .h1-like {
	margin: 0.6563em 0 0 0;
	font-size: 2.2857em; /* equiv 32px */
	line-height: 1.3126;
}
h2, .h2-like {
	margin: 0.75em 0 0 0;
	font-size: 2em; /* equiv 28px */
	line-height: 1.5;
}
h3, .h3-like {
	margin: 0.875em 0 0 0;
	font-size: 1.7143em; /* equiv 24px */
	line-height: 1.75;
}
h4, .h4-like {
	margin: 1.05em 0 0.1em 0;
	font-size: 1.4286em; /* equiv 20px */
	line-height: 1.05;
}
h5, .h5-like {
	margin: 1.1667em 0 0 0;
	font-size: 1.2857em; /* equiv 18px */
	line-height: 1.1667;
}
h6, .h6-like {
	margin: 1.3125em 0 0 0;
	font-size: 1.1429em; /* equiv 16px */
	line-height: 1.3125;
}

h1, h2, h3, h4, input[type=submit] {
    font-family: bubblegum_sansregular, serif;
}

/* alternate font-sizing */
.smaller {
	font-size: .7143em; /* equiv 10px */
}
.small {
	font-size: .8571em; /* equiv 12px */
}
.big {
	font-size: 1.1429em; /* equiv 16px */
}
.bigger {
	font-size: 1.2857em; /* equiv 18px */
}
.biggest {
	font-size: 1.4286em; /* equiv 20px */
}

/* soft reset */
html,
body {
	margin: 0;
	padding: 0;
}
ul,
ol {
	padding-left: 2em;
}
 .unstyled {
	list-style-type: none;
}
code, 
pre,
samp,
kbd {
	white-space: pre-wrap;
	font-family: consolas, 'DejaVu Sans Mono', courier, monospace;
	line-height: 1em;
}
code, kbd, mark {
	border-radius: 2px;
}
em {
	font-style: italic;
}
strong {
	font-weight: bold;
}
kbd {
	padding: 0 2px;
	border: 1px solid #999;
}
code {
	padding: 2px 4px;
	background: rgba(0,0,0,.04);
	color: #b11; 
}
mark {
	padding:2px 4px;
	background: #ff0;
}
sup,
sub {
	vertical-align: 0;
	position: relative;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
table { margin-bottom: 1.5em; }

/* avoid top margins on first content element */
p:first-child,
ul:first-child,
ol:first-child,
dl:first-child,
blockquote:first-child,
pre:first-child,
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
	margin-top: 0;
}

/* avoid margins on nested elements */
li p,
li ul,
li ol {
	margin-top: 0;
	margin-bottom: 0;
}

/* max values */
img, table, td, blockquote, code, pre, textarea, input, video {
	max-width: 100%;
}
/* pictures */
img {
	vertical-align: middle;
}
/* Google Gmap3 bug fix on images */
:not(.gm-style) img {
	height: auto !important;
}
.ie678 .gm-style img {
	height: 100%;  /* IE678 hack */
}
.gm-style img,
.gmnoscreen img,
.gmnoprint img {
	max-width: none !important;
}

a img { border: 0; }

/* scripts */
body > script {display: none !important;}

/* skip-links */
.skip-links {
	position: absolute;
}
.skip-links a {
	position: absolute;
	left: -7000px;
	padding: 0.5em;
	background: #000;
	color:#fff;
	text-decoration: none;
}
.skip-links a:focus {
	position: static;
}

/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */

a,a:active,a:visited {
	color: rgb(76, 37, 49);
}

a:hover {
	color: rgb(0, 100, 0);
}

a:link {
	-webkit-tap-highlight-color: rgb(76, 37, 49);
}

a img {
	border: 0;
}

/* ----------------------------- */
/* == Header */
/* ----------------------------- */

#site-header {
    background: rgb(76, 37, 49);
    background: rgba(76, 37, 49, .8);
    margin: 0;
    padding: 0;
}

.header-search {
    float: left;
    padding: 10px;
	text-align: center;
}

.header-icon {
    float: right;
    opacity: 0.6;
}

.header-icon:hover {
    opacity: 1;
}

.dashicons,.dashicons-before:before {
    width: 30px;
    height: 30px;
    font-size: 30px;
    margin: 0 5px;
    text-shadow: 1px 1px 1px #000;
    vertical-align: middle;
}

a.dashicons, a:active.dashicons, a:visited.dashicons, a:hover.dashicons {
    color: #FFF;
    text-decoration: none;
}

.header-search input {
    margin:  0 3px 5px 0;
    padding: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: none;
    background: #FFF;
    vertical-align: middle;
}

.header-search input[type=submit] {
    padding: 2px;
}

.header-search input[type=submit]:hover {
    cursor: pointer;
    background: rgb(32, 49, 18);
    color: #FFF;
}

.header-search label {
    display: none;
}
    
.site-title {
	padding: 6px 100px 6px 0;
	margin: 0;
	font-weight: bold;
	font-size: 4em;
    text-align: right;
    text-shadow: -1px -1px 1px #fff, 1px 1px 1px #000;
}

.site-title a, .site-title a:visited, .site-title a:hover, .site-title a:active {
    color: #FFF;
    text-decoration: none;

}
    

.site-description {
	margin: 0 0 1em;
	font-weight: normal;
}


/* ----------------------------- */
/* == Menu */
/* ----------------------------- */

.main-menu {
	width: 100%;
	height: 30px;
	margin: 0 auto 1em;
	background: rgb(229, 165, 186);
	background: rgba(229, 165, 186, .9);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
    clear: both;
}

.main-menu ul {
    padding: 0;
    margin: 0;
}

.main-menu li {
    float: left;
    position: relative;
    width: 200px;
    height: 100%;
    list-style: none;
    text-align: center;
}

.main-menu a {
    display:inline-block;
    width: 100%;
    line-height: 30px;
    height: 100%;
    text-decoration: none;
    font-size: 1.1em;
}

.main-menu a:hover, .menu > .current-menu-item > a {
	color: #fff;
	background: rgb(76, 37, 49);
}

.main-menu ul ul a {
    /*color: rgb(76, 37, 49);*/
   background: rgb(229, 165, 186);
	background: rgba(229, 165, 186, .9);
}

.main-menu ul ul {
    position: absolute;
    left: 0;
    top: 100%;
    display: none;
    -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
}

.main-menu ul ul ul {
    left: 100%;
    top: 0;
}

.main-menu li:hover > ul, .main-menu li:focus > ul {
    display: block;
}

/* Styling the toggle menu link and hiding it */
.navtoggle,
.toggle-link {
	display: none;
}
    
/* ----------------------------- */
/* == Content */
/* ----------------------------- */

.page-header {
    
    text-align: center;
    
}

.page-title {
    margin: 0;
    padding: 20px 20px 0 20px;
    line-height: auto;
    color: rgb(76, 37, 49);
    text-shadow: -1px -1px 1px #fff, 1px 1px 1px #000;
    font-size: 3em;
    text-align: center;
}

.preambule, #idvdn_events_list {
    max-width: 940px;
    margin: 20px auto 0 auto;
    font-size: 1.2em;
}

#idvdn_events_list {
    text-align: center;
}

#categories-list {
    max-width: 940px;
    margin: 20px auto 0 auto;
    font-size: 1.2em;
    background: rgb(76, 37, 49);
    background: rgba(76, 37, 49, .8);
    text-align: center;
    color: rgb(229, 165, 186);
     -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
} 

#categories-list a, #categories-list a:visited, #categories-list a:hover, #categories-list a:active {
    color: #FFF;
    }

#categories-list li {
    list-style-type: square;
}
    
#categories-list > ul > li {
    list-style-type: none;
    display: inline-block;
    vertical-align: top;
    margin: 15px;
    padding: 5px;
    width: 170px;
    text-align: left;
}

#loop, #agenda-loop {
    max-width: 960px;
    margin: 20px auto;
    padding: 0;
    text-align: center;
}

#loop article, #agenda-loop article {
    display: inline-block;
    text-align: left;
    vertical-align: top;
    width: 31%;
    min-width: 300px;
    margin: 1%;
    background: rgb(229, 165, 186);
	background: rgba(229, 165, 186, .9);
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.ie67 #loop article, .ie67 #agenda-loop article {
	display: inline;
	zoom: 1;
}

#full-page {
    max-width: 960px;
    margin: 20px auto;
    padding: 10px;
    background: rgb(229, 165, 186);
	background: rgba(229, 165, 186, .9);
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.inside-margin {
   margin: 10px;
}

.entry-thumbnail {
    display: block;
    text-align: center;
}

.entry-title {
    font-size: 1.8em;
    font-weight: normal;
    }
    
.entry-title a {
    text-decoration: none;
}

.entry-meta {
    text-align: right;
	font-size: 0.9em;
	font-style: italic;
}

footer.entry-meta {
    clear: both;
}

.entry-footer {
    font-size: 0.9em;
	font-style: italic;
}   
    
#agenda-loop .entry-meta, .entry-meta-calendar {
    background: rgb(76, 37, 49);
    background: rgba(76, 37, 49, .8);
    color: #FFF;
    padding: 5px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
    
.entry-content {
    margin: 5px 0;
    padding: 5px;
    background: #FFF;
    background: rgba(255,255,255, .7);
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.entry-content ul {
    padding-bottom: 1em;
}

.entry-content p {
    padding: 1em;
}

.entry-content hr {
    display: block;
    border: none;
    height: 10px;
    background: rgb(229, 165, 186);
    background: rgba(229, 165, 186, 0.9);
    border-radius: 3px;
}
    
.readmore {
    text-align: right;
    margin: -16px 0 5px 0;
}

.lteie8 .container {
	width: 1024px;
}

.ie8 img {
	width: auto; /* @bugfix for IE8 */
}

.edit-post {
    float: right;
    text-align: right;
}

.edit-post a {
    color: #FFF;
    text-decoration: none;
}

/* nav */
.content nav, .nav-single {
	display: block;
	overflow: hidden;
	text-align: center;
	font-size: 1.5em;
}

nav .nav-previous, nav .nav-next {
    display: inline-block;
}


#nav-below h1 {
    display: none;
}

#nav-below {
    text-align: center;
	margin: 0;
	padding: 0.2em;
	background: rgb(229, 165, 186);
	background: rgba(229, 165, 186, .9); 
}

#nav-below a {
    color: #FFF;
    text-decoration: none;
}

.page-link {
	margin: 0 0 1em;
}

nav.image-navigation {
    font-size: 1.5em;
    text-align: center;
    }

/* table styling */

table,
td,
th {
    border-collapse: collapse;
	border: 1px solid rgb(191, 191, 190);
	padding: 5px;
}

th {
    background: rgb(105, 105, 105);
    background: rgba(105, 105, 105, .5);
    color: #FFF;
}

tbody tr:nth-child(odd) {
	background: #eee;
	background: rgba(238, 238, 238, .7);
}



/* ----------------------------- */
/* == Sidebar */
/* ----------------------------- */

#secondary {
    background: rgb(76, 37, 49);
    background: rgba(76, 37, 49, .8);
    text-align: center;
    padding: 20px;
    color: rgb(229, 165, 186);
    }
    
#secondary aside {
    display: inline-block;
    vertical-align: top;
    width: 30%;
    min-width: 230px;
    margin: .5em;
}

#secondary aside h4 {
    padding-left: 0.5em;
    text-align: left;
    color: #FFF;
}

#secondary aside ul {
    list-style-type: square;
    text-align: left;
}

#secondary aside ul.unstyled {
    list-style: none;
    }

#secondary a, #secondary a:visited, #secondary a:hover, #secondary a:active {
    color: #FFF;
    }
    
/* ----------------------------- */
/* == Footer */
/* ----------------------------- */

#main-footer {
    background: rgb(76, 37, 49);
    background: rgba(76, 37, 49, .8);
    text-align: center;
    color: rgb(229, 165, 186);
    }

#main-footer a, #main-footer a:visited, #main-footer a:hover, #main-footer a:active {
    color: #FFF;
    }

/* ----------------------------- */
/* == WordPress Images */
/* ----------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/

img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

img.alignleft {
	margin-right: 1em;
}

img.alignright {
	margin-left: 1em;
}

.wp-caption {
	padding: .5em;
	text-align: center;
}

.wp-caption img {
	margin: .25em;
}

.wp-caption .wp-caption-text {
	margin: .5em;
}

.gallery-caption {
}

.gallery-item {
	float: left;
	width: 33%;
	margin-top: 10px;
	text-align: center;
}

/* bicubic resizing for non-native sized IMG: 
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */

.ie7 img {
	-ms-interpolation-mode: bicubic;
}



/* ----------------------------- */
/* == WordPress alignement */
/* ----------------------------- */


/* Alignment */
.alignleft {
	display: inline;
	float: left;
}

.alignright {
	display: inline;
	float: right;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* ----------------------------- */
/* == Hidding / unhidding content */
/* ----------------------------- */

/* for image replacement */

.ir {
	display: block;
	text-indent: -999em;
	overflow: hidden;
	background-repeat: no-repeat;
	text-align: left;
	direction: ltr;
}


/* Hide for both screenreaders and browsers 
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden {
	display: none;
	visibility: hidden;
} 

/* Hide visually and from screenreaders, but maintain layout */
.invisible {
	visibility: hidden;
}

/* Hide only visually, but have it available for screenreaders 
   www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden  */
.assistive-text, 
.visually-hidden {
	position: absolute !important;
	left: -7000px;
	overflow: hidden;
	clip: rect(1px 1px 1px 1px);
	clip: rect(1px, 1px, 1px, 1px);
}

[dir=rtl] .visually-hidden {
	left: auto;
	right: -7000px;
}

a.assistive-text:active,
a.assistive-text:focus {
	background: #eee;
	border-bottom: 1px solid #ddd;
	color: #1982d1;
	clip: auto !important;
	font-size: 12px;
	position: absolute;
	text-decoration: underline;
	top: 0;
	left: 7.6%;
}

/* skip-links */
.skip-links {
	position: absolute;
}

.skip-links a {
	position: absolute;
	left: -9999px;
	padding: 0.5em;
	background: #000;
	color: #fff;
	text-decoration: none;
}

.skip-links a:focus {
	position: static;
}

/* ----------------------------- */
/* ==desktop medias */
/* ----------------------------- */

 /* Responsive Menu */

@media screen and (max-width: 1024px) {
	
    .main-menu li:hover > ul {
        display: none;
    }
    
    .main-menu {
	    height: auto;
    }
    
    .main-menu ul {
        padding: 5px;
        text-align: center;
    }
    
    .main-menu li {
        float: none;
        display: inline;
    }
    
    .main-menu a {
        display: inline;
        padding: 3px 5px;
        line-height: auto;
        background: #FFF;
        background: rgba(255,255,255, .7);
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        border-radius: 3px;
        font-size: 1.1em;
    }
    
    .current-menu-item a {
	    background: rgb(32, 49, 18);
    }
	
	/* Header */
	.header-search {
	    float: none;
    }
    
    .header-icon {
        float: none;
        position: absolute;
        top: 0;
        right: 0;
        max-width: 10%;
    }
    
    .site-title {
	    font-size: 3em;
        padding: 0.2em;
        text-align: center;
    }
}