/* Reset CSS (by Yahoo.com) */

html{color:#555555;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,select,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,button,caption,cite,code,dfn,em,input,optgroup,option,select,strong,textarea,th,var{font:inherit}del,ins{text-decoration:none}li{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:baseline}sub{vertical-align:baseline}legend{color:#000}

/*
** Pharmax (written by rbenoit)
*/

@font-face {
	font-family: "Ubuntu";
	src: url('../fonts/Ubuntu-L.ttf');
}

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

::-moz-selection	{ background: #66A732; color: white; }
::selection 		{ background: #66A732; color: white; }

html {
	height: 100%;
	width: 100%;
	margin: 0;
	font-size: 13px;
}

body {
	font-family: "Ubuntu", "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
	letter-spacing: 0.4px;
	min-height: 100%;
	height: 100%;
	width: 100%;
}

p {
	margin: auto;
	letter-spacing: 0.2px;
	text-align: left;
	font-family: "Trebuchet MS", "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
}

a {
	color: #5F9631;
}

h1, h6 {
	font-size: 16px;
	margin-top: 10px;
	margin-bottom: 10px;
	display: inline-block;
	padding: 5px;
	text-transform: uppercase;
	font-weight: bold;
	width: 100%;
	text-align: center;
}

h2 {
	text-transform: uppercase;
	font-weight: bold;
	margin-bottom: 10px;
	margin-top: 5px;
	display: block;
	font-family: inherit;
	font-size: inherit;
	text-decoration: inherit;
	letter-spacing: inherit;
	text-align: center;
}

h3 {
	text-align: center;
	width: 100%;
	display: block;
	font-size: 13px;
}

h4 {
	font-size: 16px;
	font-style: italic;
	display: inline-block;
	margin-top: 5px;
}

h5 {
	text-transform: uppercase;
	font-weight: bold;
	margin-bottom: 10px;
	margin-top: 5px;
	display: block;
	font-family: inherit;
	font-size: 15px;
	text-decoration: inherit;
	letter-spacing: inherit;
	text-align: center;
}

td {
	vertical-align: top;
}

td.tab-left {
	width: 400px;
}

td.tab-right {
	border-left: 15px solid #FFFFFF;
	background: rgba(200, 200, 200, 0.5);
	width: 370px;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
	padding: 15px 10px 15px 10px;
	text-align: center;
}

address {
	background: #E6E6E6;
	padding: 10px;
	border: 1px solid #D6D6D6;
	font-size: 14px;
	line-height: 19px;
}

input, textarea {
	-moz-box-shadow: 	inset 0px 0px 2px 0px #999999;
	-webkit-box-shadow:	inset 0px 0px 2px 0px #999999;
	-o-box-shadow:		inset 0px 0px 2px 0px #999999;
	box-shadow:			inset 0px 0px 2px 0px #999999;
	filter:progid:DXImageTransform.Microsoft.Shadow(color=#999999, Direction=NaN, Strength=2);
	-moz-border-radius:		5px;
	-webkit-border-radius:	5px;
	border-radius:			5px;
	border: 1px solid #777777;
	padding: 3px;
	font-style: italic;
}

input:focus, textarea:focus {
	-moz-box-shadow: 	inset 0px 0px 2px 0px #66A730;
	-webkit-box-shadow:	inset 0px 0px 2px 0px #66A730;
	-o-box-shadow:		inset 0px 0px 2px 0px #66A730;
	box-shadow:			inset 0px 0px 2px 0px #66A730;
	filter:progid:DXImageTransform.Microsoft.Shadow(color=#66A730, Direction=NaN, Strength=2);
	border: 1px solid #66A730;
}

input[type=submit], a.button {
	font-weight:normal;
	position: absolute;
	font-size: 16px;
	cursor: pointer;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
	border-radius:8px;
	border:1px solid #dcdcdc;
	padding:9px 18px;
	text-decoration:none;
	background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
	background:-ms-linear-gradient( top, #ededed 5%, #dfdfdf 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #ededed), color-stop(100%, #dfdfdf) );
	background-color:#ededed;
	color:#444444;
	display:inline-block;
	text-shadow:1px 1px 0px #ffffff;
 	-webkit-box-shadow:inset 1px 1px 0px 0px #ffffff;
 	-moz-box-shadow:inset 1px 1px 0px 0px #ffffff;
 	box-shadow:inset 1px 1px 0px 0px #ffffff;
 	margin-left: -50px;
 	margin-top: -10px;
}

input[type=submit]:hover, a.button:hover {
	background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
	background:-ms-linear-gradient( top, #dfdfdf 5%, #ededed 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
	background:-webkit-gradient( linear, left top, left bottom, color-stop(5%, #dfdfdf), color-stop(100%, #ededed) );
	background-color:#dfdfdf;
}

input[type=submit]:active, a.button:active {
	margin-top:-9px;
}

input[type=text] {
        height: 19px;
        padding: 3px 0 6px 10px;
        font-size: 14px;
}

/*
** MISE EN PAGE
*/

div.ok {
	background: #66A730;
	color: #FFFFFF;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 16px;
	text-align: center;
	width: 300px;
	margin-left: 220px;
	padding: 10px;
	margin-top: 20px;
	border: 5px solid #77BF39;
}

div#warning {
	background: #B42C29;
	color: white;
	font-weight: bold;
	text-transform: uppercase;
	margin-top: -10px;
	position: absolute;
	width: 400px;
	display: none;
}

form#write-us {
	text-align: center;
	line-height: 30px;
	width: 400px;
	margin: auto;
}

form#write-us input {
	float: right;
}

form#write-us span {
	color: #FF2B2B;
	font-size: 11px;
	margin-left: 3px;
	margin-right: 5px;
}

form#write-us img#captcha {
	position: absolute;
	margin-top: -5px;
	margin-left: 25px;
}

form#write-us img#reload {
	position: absolute;
	margin-top: 10px;
	margin-left: 5px;
	cursor: pointer;
}

div#background1 {
	background-image: url('../images/background1.jpg');
	background-repeat: no-repeat;
	position: absolute;
	height: 380px;
	width: 387px;
	bottom: 0px;
	z-index: 0;
	left: 0px;
}

div#background2 {
	background-image: url('../images/background2.jpg');
	background-repeat: no-repeat;
	position: absolute;
	height: 248px;
	width: 504px;
	right: 0px;
	z-index: 0;
	top: 0px;
}

div#footer {
	background: #3C3C3C;
	border-top: 1px solid #202020;
	z-index: 1;
	height: 200px;
	width: 100%;
	margin-top: 50px;
	color: #E5E5E5;
}

div#header {
	background: rgba(0, 0, 0, 0.7);
	z-index: 100;
	height: 22px;
	width: 100%;
}

div#dpage {
	border-top: 1px solid #AAA;
	z-index: 1;
	height: 500px;
	width: 1000px;
	margin-top: 585px;
	margin-left: -230px;
}

div#page {
	height: 100%;
	position: relative;
	overflow: auto;
	overflow-y: auto;
	overflow-y: scroll;
	overflow: -moz-scrollbars-vertical;
	width: 100%;
}

div#container {
	width: 1000px;
	min-height: 100%;
	height: auto;
	margin: auto;
	position: relative;
}

div#content {
	width: 750px;
	margin-left: 225px;
	padding-top: 150px;
	padding-bottom: 10px;
}

div#slogan {
	background: #3C3C3C;
	height: 100px;
	width: 500px;
	word-spacing: 10px;
	color: white;
	margin-top: 50px;
	font-size: 16px;
	line-height: 90px;
	padding-top: 5px;
	padding-left: 110px;
	-webkit-border-top-left-radius: 20px;
	-webkit-border-top-right-radius: 20px;
	-moz-border-radius-topleft: 20px;
	-moz-border-radius-topright: 20px;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	position: absolute;
	font-family: 'OrbitronLight';
	letter-spacing: 1px;
}

div#slogan span {
	word-spacing: 5px;
}

div#slogan div#sloganEffect {
	width: 510px;
	height: 20px;
	background: white;
	padding-left: 100px;
	position: absolute;
	bottom: 0px;
	left: 0px;
	-webkit-border-top-left-radius: 50px;
	-webkit-border-top-right-radius: 50px;
	-moz-border-radius-topleft: 50px;
	-moz-border-radius-topright: 50px;
	border-top-left-radius: 50px;
	border-top-right-radius: 50px;
}

div#slogan span#logo {
	background-image: url('../images/pharmax_logo.png');
	background-repeat: no-repeat;
	position: absolute;
	display: block;
	left: 20px;
	top: -45px;
	width: 250px;
	height: 71px;
}

div#slogan div#social {
	background-image: url('../images/facebook.png');
	background-repeat: no-repeat;
	position: absolute;
	right: 10px;
	top: 10px;
	width: 34px;
	height: 34px;
}

div.line {
	width: 90%;
	height: 0px;
	border: 0;
	border-top: 1px solid #AAA;
	margin-left: 5%;
	margin-top: 20px;
	margin-bottom: 20px;
}

img.big-image {
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

ul.list { 
	margin-top: 10px;
	margin-bottom: 15px;
}

ul.list li {
	list-style-type: circle;
	margin-left: 25px;
	margin-bottom: 5px;
}

div#telephone, div.telephone {
	background: #66A730;
	display: inline-block;
	font-size: 18px;
	padding: 5px;
	color: #FFF;
}

table.tab {
	text-align: center;
	margin-top: 20px;
	width: 400px;
}

table.tab a {
	text-decoration: none;
	font-weight: bold;
	font-size: 16px;
}

ul.index-list {
	width: 800px;
	margin: auto;
	background: rgba(255, 255, 255, 0.2);
	padding: 10px;
}

ul.index-list li {
	font-size: 16px;
	margin-bottom: 25px;

}

/*
** MENUS
*/

div#menu_container {
	position: absolute;
	width: 200px;
	height: auto;
	top: 150px;
}

div.menu { 
	padding-right: 10px;
	background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0)));
	background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
	background: -o-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
	background: -ms-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
	background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=1 );
}

div.menu a {
	color: inherit;
	text-decoration: none;
	display: block;
}

div.menu span.menuh1 {
	background: #3C3C3C;
	height: auto;
	margin: 5px 0 5px 0;
	padding: 3px 0 3px 20px;
	-webkit-border-top-right-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-moz-border-radius-topright: 10px;
	-moz-border-radius-bottomright: 10px;
	border-top-right-radius: 10px;
	border-bottom-right-radius: 10px;
	color: #FFFFFF;
	font-weight: bold;
	position: relative;
	-webkit-transition: background .3s ease-in;
	-moz-transition: background .3s ease-in;
	-o-transition: background .3s ease-in;
	transition: background .3s ease-in;
	display: block;
}

div.menu span.selected { background: #66A730; }

div.menu span.menuh1:hover {
	background: #66A730;
	cursor: pointer;
}

div.sous-menu {
	margin-top: -5px;
}

div.sous-menu a {
	color: inherit;
	text-decoration: none;
}

div.sous-menu span {
	background: transparent;
	width: auto;
	color: inherit;
	border-left: 1px solid #66A730;
	margin: 0;
	padding: 3px;
	margin-left: 15px;
	height: 20px;
	font-weight: normal;
	-webkit-transition: color .2s ease-in;
	-moz-transition: color .2s ease-in;
	-o-transition: color .2s ease-in;
	transition: color .2s ease-in;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	display: block;
	position: relative;
}

div.sous-menu span:hover {
	color: #66A730;
}

div.sous-menu span.selected {
	background: transparent;
	color: #66A730;
	text-decoration: none;
}

div.sous-menu div:hover {
	background: transparent;
	color: #66A730;
}

ul.under-menu {
	margin-left: 15px;
	border-left: 1px solid #66A730;
}

ul.under-menu a {
    display: inline;
}

ul.under-menu li {
	font-size: 12px;
	height: 22px;
	line-height: 22px;
}

ul.under-menu li.selected {
	color: #444;
	text-decoration: underline;
	font-weight: normal;
}

ul.under-menu li img {
	margin-left: 10px;
	margin-right: 10px;
	display: inline;
}

/*
** FOOTER
*/

div.langueList {
	color: #F5F5F5;
	font-size: 15px;
	padding-left: 30px;
	margin: 5px;
	font-style: italic;
	text-decoration: none;
}

div.langueList a:hover {
	text-decoration: underline;
	color: #FFFFFF;
}

div.langueList img {
	margin-right: 10px;
}

div.langueList a {
	text-decoration: none;
	color: #F5F5F5;
}

table.footerTab {
	width: 100%;
	border-collapse: collapse;
	text-align: center;
	line-height: 27px;
}

table.footerTab a {
	font-size: 12px;
	margin: 0;
	font-weight: normal;
	text-transform: uppercase;
}

table.footerTab th {
	text-transform: uppercase;
	font-weight: bold;
	font-family: inherit;
	text-align: center;
	font-size: 12px;
}

table.footerTab th:first-child,
table.footerTab td:first-child {
	border-right: 1px solid #2F2F2F;
}

table.footerTab th:last-child,
table.footerTab td:last-child {
	border-left: 1px solid #2F2F2F;
}

table.footerTab a {
	color: inherit;
	text-decoration: none;
}

table.footerTab a:hover { text-decoration: underline; }

/*
** DIAPORAMA
*/

div#diaporama {
	width: 500px;
	height: 320px;
	margin: auto;
	margin-bottom: 20px;
	overflow: hidden;
	white-space: nowrap;
}

div#diaporama img {
	position: absolute;
	display: none;
}

div#diaporama span {
	position: absolute;
	display: none;
	background: rgba(255, 255, 255, 0.8);
	padding: 4px 10px;
	left: 350px;
	top: 492px;
	width: 500px;
	height: 25px;
	text-align: center;
	color: #222;
	font-style: italic;
}

/*
** SOCIAL
*/

a.social {
    background-image: url('../images/social.png');
    background-repeat: no-repeat;
    font-size: 0px;
    display: inline-block;
    width: 44px;
    height: 45px;
    margin: 2px;
    line-height: 50px;
    text-decoration: none;
}

a#blog		{	background-position: 0 0;		}
a#email		{	background-position: -44px 0;	}
a#facebook	{	background-position: -88px 0;	}
a#flickr	{	background-position: -132px 0;	}
a#google	{	background-position: -176px 0;	}
a#twitter	{	background-position: -220px 0;	}
a#vimeo		{	background-position: -264px 0;	}
a#youtube	{	background-position: -308px 0;	}

/*
** FIREFLY
*/

div#firefly {
	width: 750px;
	height: 600px;
	background: none;
	background-image: url('../images/background_animate.png');
	background-repeat: no-repeat;
	background-position: 100px center;
	margin-top: -15px;
	position: absolute;
	z-index: 1000;
}

div#sloganIndexEffect {
	background: #3C3C3C;
	height: 80px;
	width: 300px;
	word-spacing: 10px;
	color: white;
	margin-top: 50px;
	font-size: 16px;
	line-height: 90px;
	padding-top: 5px;
	padding-left: 110px;
	-webkit-border-top-right-radius: 20px;
	-moz-border-radius-topright: 20px;
	border-top-right-radius: 20px;
	position: absolute;
	letter-spacing: 1px;
	left: 580px;
	top: 0px;
}

div#photo {
	width: 260px;
	height: 115px;
	border: 1px solid #F5F5F5;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	position: absolute;
	left: 240px;
	top: 200px;
	background: #A19DA3;
	background: rgba(255, 255, 255, 0.3);
	text-align: center;
	padding-top: 40px;
	z-index: 10;
}

div#photo:hover {
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
}

div.diapo {
	background: rgba(155, 155, 155, 0.2);
	border: 1px solid #F5F5F5;
	position: absolute;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

div.diapo img {
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;	
}

div#diapo1 {
	width: 260px;
	height: 173px;
	left: 430px;
	top: 400px;
}

div#diapo2 {
	width: 260px;
	height: 173px;
	left: 400px;
	top: 40px;
}

div#diapo3 {
	width: 260px;
	height: 173px;
	left: 40px;
	top: 60px;
}

div#diapo4 {
	width: 260px;
	height: 173px;
	left: 70px;
	top: 370px;
}

div#diapo5 {
	width: 180px;
	height: 120px;
	left: 530px;
	top: 250px;
}

div#diapo6 {
	width: 180px;
	height: 120px;
	left: 50px;
	top: 220px;
}

/*
** PAGE D'ACCUEIL
*/

div#indexContainer {
	width: 750px;
	height: 600px;
	background: none;
	background-image: url('../images/background_homme.png');
	background-repeat: no-repeat;
	background-position: 100px center;
	margin-top: -65px;
	position: absolute;
	z-index: 1000;
}

div#logoTrait {
	width: 190px;
	height: 50px;
	border: 1px solid #F5F5F5;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	position: absolute;
	left: 250px;
	top: 80px;
	text-align: center;
	padding: 10px;
	z-index: 10;
}

div#indexDown {
	border-top: 1px solid #999999;
	z-index: 1;
	height: auto;
	width: 1000px;
	margin-top: 485px;
	margin-left: -230px;
}

div#carousel {
	width: 800px;
	height: 300px;
	display: relative;
	position: absolute;
	top: 100px;
	left: -10px;	
}

div#carousel img {
	cursor: pointer;
	background: rgba(155, 155, 155, 0.2);
	border: 1px solid #F5F5F5;
	position: absolute;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

span#responsive_menu {
    display: none;
}

/*
** RESPONSIVE
*/

@media screen and (max-width:600px) {
    td.tab-right {
	display: none;
    }

    div#slogan {
	padding: 5px 0 20px 0;
	-webkit-border-top-left-radius: 0px;
	-webkit-border-top-right-radius: 0px;
        -moz-border-radius-topleft: 0px;
        -moz-border-radius-topright: 0px;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
	word-spacing: inherit;
	font-size: 13px;
	text-align: center;
	line-height: inherit;
	width: 100%;
	height: 80px;
	margin: 0;
    }

    div#slogan span { word-spacing: inherit; }

    span#responsive_menu {
	display: inline-block;
	width: 30px;
	height: 33px;
	float: right;
	background-image: url('../images/mobileMenuIcon.png');
        background-repeat: no-repeat;
	position: absolute;
	top: 45px;
	right: 25px;
    }

    div#background1 { display: none; }

    div#slogan span#logo {
	position: absolute;
	display: inline-block;
	left: 10px;
	top: 25px;
    }

    div#sloganEffect { display: none; }

    div#container {
	padding-right: 10px;
	width: 100%
    }

    div#content {
	width: 100%;
	margin: 0;
	padding: 120px 0 20px 0;
    }

    div#menu_container {
	-webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.75);
	display: none;
	background: #333;
	position: absolute;
	width: 100%;
	top: 105px;
	left: 0px;
    }

    div.menu {
	background: -moz-linear-gradient(left, rgba(85,85,85,1) 0%, rgba(51,51,51,0) 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(85,85,85,1)), color-stop(100%,rgba(51,51,51,0)));
	background: -webkit-linear-gradient(left, rgba(85,85,85,1) 0%,rgba(51,51,51,0) 100%);
	background: -o-linear-gradient(left, rgba(85,85,85,1) 0%,rgba(51,51,51,0) 100%);
	background: -ms-linear-gradient(left, rgba(85,85,85,1) 0%,rgba(51,51,51,0) 100%);
	background: linear-gradient(to right, rgba(85,85,85,1) 0%,rgba(51,51,51,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#555555', endColorstr='#00333333',GradientType=1 );
	text-align: center;
	font-size: 14px;
    }

    div.menu span.menuh1 {
        background: #3C3C3C;
	height: auto;
        margin: 0;
        padding: 10px 10px 10px 0;
        -webkit-border-top-right-radius: 0px;
	-webkit-border-bottom-right-radius: 0px;
        -moz-border-radius-topright: 0px;
        -moz-border-radius-bottomright: 0px;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
	color: #FFFFFF;
        font-weight: bold;
        position: relative;
        display: block;
    }


    div.sous-menu span {
	border: 0;
	color: #FFF;
	padding: 10px 10px 6px 0;
    }

    div#footer { display: none; }

    td.tab-left { width: 100%; padding: 0 5px; }

    td.tab-left img { width: 100%;}
}

@media screen and (max-width:310px) {
    div#slogan span#logo { display: none; }
}
