/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

a, a img, a:focus, a:visited {
	outline: none;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Fiducia styles
   ========================================================================== */

body {
	background: url(../images/bg.gif) repeat;
	font-family: 'cyntho_proregular';
	color: #747477;
}

h1, h2, h3, h4 {
	font-weight: normal;
}

h1 {
	font-size: 28px;
	color: #63672f;
}

h2 {
	font-size: 18px;
}

a {
	transition: All 0.3s ease;
	-webkit-transition: All 0.3s ease;
	-moz-transition: All 0.3s ease;
	-o-transition: All 0.3s ease;
}

.button {
	padding: 2px 10px 2px 25px;
	background: #A7A99E url('../images/download.png') no-repeat 5px center;
	text-decoration: none;
	color: #DBDDD3 !important;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-o-border-radius: 2px;
	transition: All 0.3s ease;
	-webkit-transition: All 0.3s ease;
	-moz-transition: All 0.3s ease;
	-o-transition: All 0.3s ease;
}

.button:hover {
	color: #fff !important;
}

#page {
	background: url(../images/numbers.png) no-repeat center fixed;
}

header {
	display: block;
	position: absolute;
	top: 0;
	width: 100%;
	background: #fff url(../images/geneva.jpg) no-repeat center top;
}
header h1#logo {
	padding: 0;
	margin: 0;
	width: 100%;
	height: 145px;
	background: url(../images/fiducia-logo.png) no-repeat center;
	text-indent: -9999px;
}

header #picto-menu {
	position: fixed;
	top: 0px;
	left: -45px;
	width: 45px;
	height: 45px;
	background: url(../images/picto-menu.png) no-repeat center;
	z-index: 9999;
	transition: All 0.3s ease;
	-webkit-transition: All 0.3s ease;
	-moz-transition: All 0.3s ease;
	-o-transition: All 0.3s ease;
}

header #picto-menu a {
	display: block;
	width: 45px;
	height: 45px;
	text-indent: -9999px;
}

header #picto-menu.picto-fixed {
	left: 25px;
}

header nav {
	width: 100%;
	height: 45px;
	background: #a7a99e;
}

header nav .wrapper {
	width: 860px;
	margin: 0 auto;
}

header nav .wrapper:after {
	display: block;
	content: '';
	clear: both;
}

header nav ul#main-navigation {
	width: auto;
	margin: 0 auto;
	padding: 0;
	float: left;
}

header nav ul#lang-navigation {
	width: auto;
	float: right;
}

header nav ul li {
	margin-right: 25px;
	float: left;
	line-height: 45px;
}

header nav ul#lang-navigation {
	margin: 0;
	padding: 0;
}

header nav ul#lang-navigation li {
	margin-right: 0;
	float: left;
	margin: 0 15px 0 0;
}

header nav ul#lang-navigation li:last-child {
	margin: 0 !important;
}

header nav ul#lang-navigation li a {
	font-size: 13px;
}

header nav ul li a {
	text-transform: uppercase;
	color: #dbddd3;
	text-decoration: none;
	letter-spacing: 0.1em;
	transition: All 0.3s ease;
	-webkit-transition: All 0.3s ease;
	-moz-transition: All 0.3s ease;
	-o-transition: All 0.3s ease;
}

header nav ul#lang-navigation li a {
	text-transform: none;
}

header nav ul li a:hover,
header nav ul li.active a,
header nav ul li.current a {
	color: #fff;
}

.nav-fixed {
	position: fixed;
	top: 0px;
}

section article {
	margin: 0 auto;
	width: 860px;
	padding-top: 45px;
}

section article:after {
	content: '';
	display: block;
	clear: both;
}

section article h1 {
	margin-top: 75px;
}

section#declaration {
	background: rgba(167, 168, 156, 0.2);
}

section#services article {
	padding-top: 190px;
}

section#contact {
	background: url(../images/carouge.jpg) no-repeat bottom fixed;
}

section#contact iframe {
	opacity: 0.5;
	transition: All 0.3s ease;
	-webkit-transition: All 0.3s ease;
	-moz-transition: All 0.3s ease;
	-o-transition: All 0.3s ease;
}

section#contact iframe:hover {
	opacity: 1;
}

section article h2.accordionButton {
	padding-left: 45px;
	height: 22px;
	background: url(../images/picto.png) no-repeat 0 0;
	line-height: 22px;
	cursor: pointer;
}

section article h2.accordionButton:hover,
section article h2.accordionButton.on {
	background-position: 0 -22px;
	color: #63672f;
}

section article ul.accordionContent {
	padding-left: 60px;

}

section article a, section article a:visited {
	color: #747477;
}

section article a:hover, section article a:focus {
	color: #63672f;
}

#chapeau-declaration {
	margin: 50px 0;
	padding: 20px;
	background: url(../images/declaration.jpg) no-repeat;
	color: #fff;	
}

#chapeau-declaration p {
	font-size: 18px;
}

#chapeau-declaration h1 {
	margin: 0 0 20px 0;
	padding: 0;
	color: #fff;
}

.col-gauche {
	width: 410px;
	float: left;
}

.col-droite {
	width: 410px;
	margin-left: 40px;
	float: left;
}

.col-droite img {
	padding: 9px;
	border: 1px solid #e7e7e7;
	max-width: 390px;
}

.col-droite img#image-fadein {
	opacity: 0;
	transition: All 1s ease;
	-webkit-transition: All 1s ease;
	-moz-transition: All 1s ease;
	-o-transition: All 1s ease;
}

.col-droite img#image-fadein.active {
	opacity: 1;
}

.col-gauche-contact {
	width: 410px;
	float: left;
}

.col-droite-contact {
	margin-left: 40px;
	padding-top: 118px;
	width: 410px;
	float: left;
}

.boxshadow .col-droite img,
.boxshadow iframe {
	padding: 10px;
	border: none;
	-moz-box-shadow:inset 0px 0px 5px #e7e7e7;
	-webkit-box-shadow:inset 0px 0px 5px #e7e7e7;
	box-shadow:inset 0px 0px 5px #e7e7e7;
}

a.map-link {
	padding-left: 22px;
	background: url(../images/pin.png) no-repeat 0 center;
}

a#image-nyon {
	display: block;
	width: 355px;
	height: 127px;
	background: url(../images/nyon.jpg) no-repeat 0 0;
}

a#image-nyon:hover {
	background-position: 0 -127px;
}












/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
