/* -------------------------------------------------------------
- Site Name: Food Allergy Control
- Version: 1.0 (Oct. 2013)
- Site URI: http://allergy-diet.com/newsite
- Based on: http://sylvainlafitte.com/designa/
- Template Author: Sylvain Lafitte
- Template Author URI: http://sylvainlafitte.com
- Modified by: Alexandru Tudor Constantinescu, 2013-10-23 
- Last modified by: Alexandru Tudor Constantinescu, 2015-02-18 

- Resources:
	HTML5 Boilerplate (http://html5boilerplate.com/),
	Normalise.css (http://necolas.github.com/normalize.css/), 
	Proportional grids by Boon (http://builtbyboon.com),
	CSS Tricks (css-tricks.com).
------------------------------------------------------------- */


/* -------------------------------------------------------------


     #####     #    #     # #######    ### 
    #     #   # #   #     # #          ### 
    #        #   #  #     # #          ### 
    #       #     # #     # #####       #  
    #       #######  #   #  #              
    #     # #     #   # #   #          ### 
     #####  #     #    #    #######    ### 
    
VERY IMPORTANT: THIS FILE IS NOT COMPLETE

In order to keep it lean, I removed all code not currently needed
Please refer to the Designa template and the style_original.css file
for the whole pletora of styles actually available
Alexandru Tudor Constantinescu, 2015-02-18 
------------------------------------------------------------- */

/* -------------------------------------------------------------
======	RESET
------------------------------------------------------------- */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {display: block}
/* Increase a bit the EM-size*/
html { font-size: 110%; -webkit-text-size-adjust: 120%; -ms-text-size-adjust: 120%; }
:hover, :focus, :active { outline: none; }


html, button, input, select, textarea {
	font-family: "Exo 2", "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
	font-weight: 400; /* normal */
	color: #444; 
	/* non-standard, removed from standard track:
	font-smooth:always;
	*/
	-webkit-font-smoothing: antialiased;
	/* non-standard, removed from standard track:
	font-smoothing: antialiased;
	*/
	text-shadow: 1px 1px 1px rgba(0,0,0,0.004);}

body { margin: 0; font-size: 1em; line-height: 1.6; 
   background-color:#EEE;
   /*
   background-image:url('../img/bg.png');
   */
   }

a { color: #209800; font-weight: normal;
	cursor: pointer;  text-decoration: none;
	transition:color 0.2s ease; -moz-transition:color 0.2s ease; -webkit-transition:color 0.2s ease; -o-transition:color 0.2s ease;}

a:hover { color: #156300; background: rgba(115, 203, 92, .35);} 
a:focus { outline: 3px solid #209800;}

::-moz-selection { background: #209800; color: #fff; text-shadow: none; }
::selection { background: #209800; color: #fff; text-shadow: none; }	

p{margin: 0 0 1em;}
p:last-child {margin-bottom: 0;}
span.displaynone { display:none; } /* for obfuscating e-mail address */

a:visited{opacity:0.9;}
a:active, a:focus{position:relative;top:1px;}
hr{display:block; height:1px; border:0; border-top:1px solid #ddd; margin:1em 0; padding:0}
b, strong{font-weight:600} /* don't forget to add the weight in the html!! */
ul, ol{list-style:none; list-style-image:none; margin:0; padding:0;}
img{border:0; -ms-interpolation-mode:bicubic; vertical-align:middle}
svg:not(:root){overflow:hidden}
figure{margin:0}
button, input, select, textarea{font-size:100%; margin:0; vertical-align:baseline; *vertical-align:middle}
button, input{line-height:normal; *overflow:visible}
button, input[type="button"], input[type="reset"], input[type="submit"]{cursor:pointer; -webkit-appearance:button}
button::-moz-focus-inner, input::-moz-focus-inner{border:0; padding:0}
textarea{overflow:auto; vertical-align:top; resize:vertical}
td{vertical-align:top}



/* -------------------------------------------------------------
======	STYLES
------------------------------------------------------------- */


/* -- Language selector
------------------------------------------------------------- */
.langselect  {
   height: 1.1em;
   width: 1.1em;
   padding-bottom: 1px;
}

/* -- 404
------------------------------------------------------------- */
.title_404 {
   font-size: 3em;
   color: #444;
   text-align:center;
   padding-bottom: 1em;
}

.text_404 {
   font-size: 1em;
   color: #666;
}

.text_404 > a {
   font-size: 2em; 
   text-decoration: underline; background: rgba(115, 203, 92, .15);
} 

.figure_404 {
   max-width: 100%;
   max-height: 100%;
   display: block;
   margin-left: auto;
   margin-right: auto
}

/* -- OBSOLETE BROWSER WARNING
------------------------------------------------------------- */
#warning {
   position:relative; top:0px; 
   min-height:2em; 
   background-color:#F5E873; 
   margin-top:0px; 
   padding:4px; 
   border-bottom:solid 4px #000066;
}

#warning > h3 {
   margin:0;
   padding: 0;
   padding-left: 10%;
   text-align:center;
}

#warning > p {
   margin:0;
   padding: 0;
   padding-left: 10%;
}

.red {
   color:red;
}


/* -- FORMS 
------------------------------------------------------------- */
/* removed to make the css file leaner. See style_original.css for more */


/* -- BUTTONS 
------------------------------------------------------------- */
/* removed to make the css file leaner. See style_original.css for more */


/* -- TYPO
------------------------------------------------------------- */
h1,h2,h3,h4,h5,h6{margin:1em 0 0.5em; font-weight: normal; font-family: "Exo 2", "Maven Pro", "Noto Sans", "Open sans", Helvetica, Arial, sans-serif;}

h1 {font-size: 2.0em; 
	letter-spacing: -0.075em; 
	/* text-transform: uppercase; */
	line-height: 0.9; 
	color: #156300;
	margin: 0 0 0.5em; 
	text-shadow: 1px 1px 2px #CCC;
	font-weight: 300; }
h2 { font-size: 1.5em; font-weight: 300; letter-spacing: -0.05em; color: #156300; line-height: 1; }
h3 { font-size: 1.5em; font-weight: 300; }
h4 { font-size: 1.25em; margin: 0.5em 0 0.25em; }
/* h5 is used as caption for the images; keep it small! */
h5 { font-size: 0.75em; text-transform: uppercase; margin: 0; color: #555; }
h6 { font-size: 1em; margin-bottom: 2px; color: #156300; } /*if: font-weight: 600;  don't forget to add the weight in the html!! */

h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:#2E721C; text-decoration: none;}
h1 a:hover,h2 a:hover,h3 a:hover,h4 a:hover,h5 a:hover,h6 a:hover{color:#2E721C;text-decoration: underline;}



/* -- GRID  https://github.com/mattberridge/Proportional-Grids/
------------------------------------------------------------- */
body{width:100%; }
.container {width: 90%; margin: 3em auto; max-width: 1100px; min-width: 300px;}
 
.grid-wrap {
  margin-left: -3em; /* the same as your gutter */
  overflow: hidden;
  *zoom:1;}
  .grid-wrap:before, .grid-wrap:after{content:""; display:table}
  .grid-wrap:after{clear:both}
  
.grid {
  float: left;
  padding-left: 3em; /* this is your gutter between columns */
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  /* for IE6, IE7: */
  *behavior: url(/js/boxsizing.htc); }
  
.col-full {width: 100%; }
.col-one-half {width: 50%; }
.col-one-third {width: 33.333%; }
.col-two-thirds {width: 66.666%; }
.col-one-quarter {width: 25%; }
.col-three-quarters {width: 75%; }

.divide-top{border-top: 1px solid #ccc;padding-top: 2em;margin-top: 1.5em; }

.mright{ margin-right: 3em;}
.mleft{ margin-left: 3em;}
.mtop{ margin-top: 3em;}
.mbottom{ margin-bottom: 3em;}
.halfmright{ margin-right: 1.5em;}
.halfmleft{ margin-left: 1.5em;}
.halfmtop{ margin-top: 1.5em;}
.halfmbottom{ margin-bottom: 1.5em;}

.fright, .fleft{display:block; overflow:hidden}
.fright{float:right}
.fleft{float:left}

.alignleft{float: left;clear: left;margin: 0.38em 1.62em 0.38em 0;}
.alignright {float: right;clear: right;margin: 0.38em 0 0.38em 1.62em;}
.aligncenter {margin: 0 auto 1.62em;display: block;}



/* -- MISC
------------------------------------------------------------- */
figure { max-height: 100%; overflow: hidden;}
figure figcaption { }
img { max-width: 100%; height: auto; width: auto; }
img.centered { max-width: 50%; height: auto; width: auto; 
   display:block; margin-left:auto; margin-right:auto}
a img {
    -webkit-transition: opacity 1s ease;
    -moz-transition: opacity 1s ease;
    -o-transition: opacity 1s ease;
    -ms-transition: opacity 1s ease;
    transition: opacity 1s ease; }
a img:hover {
	*zoom: 1;
	opacity: 0.9;
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity = 90);
	filter: alpha(opacity = 90);}
    
    
    
/* -------------------------------------------------------------
======	PAGES
------------------------------------------------------------- */
    
/* -- HEADER
------------------------------------------------------------- */
header#navtop { margin-bottom: 0em; clear: both; overflow: hidden; }
    header nav ul { float: left; overflow: hidden; padding: 0 1em 0 1em; border-left: 1px solid #ddd; line-height: 2em; }
    .utils { border-left: 1px solid #ddd; }
nav a, menu a { text-decoration: none; color: #555; }
.navactive {  border-bottom-color: #209800;border-bottom-style: solid;border-bottom-width: 4px;font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
.navINactive { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
.logo {margin-bottom: 3em; 
	  max-width: 51%;
	  transition: all 1s ease 0s; 
	  -webkit-transition: all 1s ease 0s; /* Safari */
	  -moz-transition: all 1s; /* FF, don't use ease 0 */
	  }
.logo:hover {
	  background: none;
	  transform:scale(0.97,0.97);
	  -ms-transform:scale(0.97, 0.97); /* IE 9*/
	  -webkit-transform:scale(.97, .97); /* Safari, Chrome */
	  }	
		
/* -- GENERAL 
------------------------------------------------------------- */
.main > section { margin-bottom: 2em; }
.main header{ color: #156300; margin-bottom: 0em; }
.main header hr{border-top-color:#999;}
.arrow:after {content:" \27F6"; /* html unicode: &#10230; long arrow right*/ } 
header .arrow {color: #999; font-style: italic;}
.arrow:hover {color: #209800; }
.list ul {list-style-position:outside;
   }

.list > ul li {
   background: url('../img/check.png') no-repeat left 0.4em;
   /*
   This fails to show up in SVG-unaware browsers and the list is 
   not visible as a list anymore. Until we find a solution, we revert to the
   good old PNG
   background: url('../img/check.svg') no-repeat left 0.4em;
   */
   padding-left: 1.3em;
   background-size: 1em;
   background-repeat: no-repeat;
}
/*
This solution works only with "inside" and upon font size change
everything breaks
.list > ul li:before {
    content: "\2714 ";
    color: #209800;
	font-size: 1em;
    display: inline-block;
	
	}
*/
.print-image { 
   /* this is a hack for printfriendly.com */
   visibility: hidden;
   position: inherit; }

/* -- FOOTER
------------------------------------------------------------- */
footer  { color: #555; margin-bottom: 7em; }
footer nav ul { float: right; overflow: hidden; }
footer a {color: #333;}
footer li { float: left; margin-right: 1em; padding-right: 1em; border-right: 1px solid #DDD; font-size: 0.8em; }
footer li:last-child { margin-right: 0; padding-right: 0; border-right: none; }
.footer-right { float: right; margin-left: 1em; padding-right: 1em; border-right: 1px solid #DDD; font-size: 0.8em; }
.footer-right:last-child { margin-left: 1em; padding-right: 0; border-right: none; }
.up a { display: block; text-align: center; margin: 0 auto; }


/* -- HOME-PAGE
------------------------------------------------------------- */
/* Services */

/* Slider */
	/* Browser Resets */
.flex-container a:active,.flexslider a:active,.flex-container a:focus,.flexslider a:focus  {outline: none;}
.slides,.flex-control-nav,.flex-direction-nav {margin: 0; padding: 0; list-style: none;} 
	/* FlexSlider Necessary Styles */ 
.flexslider {margin: 0; padding: 0; position: relative;}
.flexslider .slides > .slide {display: none; -webkit-backface-visibility: hidden;}
.flexslider .slides img {width: 100%; display: block;}
.flexslider a:focus { outline: 3px solid #209800;}
.flex-pauseplay span {text-transform: capitalize;}
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* Original
.slide figcaption {
	position: absolute;
	background: white; 
	height: auto; min-height: 0.5em; width: 70%; padding: 1em; 
	bottom: 10px; right: 0; }
*/
.slide figcaption {
	position: absolute;
	background: white; 
	height: auto; min-height: 0.5em; width: 70%; padding: 0.25em 1em 0.25em; 
	bottom:5px; right:5px;
	box-shadow: 2px 2px 5px 2px #AAA;
	}
.slide figcaption div { text-align: left; display: block; border-right: 1px solid #888; padding: 0 1em 0 0; margin: auto 2em auto 0; }
.slide figcaption div p { margin: 0 }

.flex-direction-nav{ position: absolute; bottom: 0.5em; right: 0.5em; z-index: 10;}
.flex-direction-nav li {display: inline;}
.flex-prev, .flex-next{ text-decoration: none; color: #999;	margin-left: 0.5em;}
.flex-prev:hover, .flex-next:hover{ color: #156300;}



/* -- WORKS / Home-page and Works-page
------------------------------------------------------------- */
.works figure > a{ 
	display: block; 
	height: 100%; width: 100%; 
	overflow: hidden; 
	position: relative;
	border-top: 1px solid #DDD; padding-top: 1em; }
 	
.works figure .zoom{ 
	display: block; 
	position: absolute; top: 10px; left: 0; 
	background: url(../img/zoom.png) no-repeat center; 
	width: 100%; height: 100%; 
	*zoom: 1;
	opacity: 0;
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity = 0);
	filter: alpha(opacity = 0); }

.works figure figcaption{ margin-top: 1em; padding: 0 0.5em; white-space: nowrap; }
.works figure figcaption a{line-height:2em; color: #555; font-weight: 600; } /* don't forget to add the weight in the html!! */
.works figure figcaption p{ margin: 0; }

.works-page .works figure { margin-bottom: 3em;}

.main aside{margin-bottom: 3em}
.main aside menu{padding: 0 0 0 1em; line-height: 2em;}
.main aside menu a{color: #999;}
.main aside menu .buttonactive {color: #209800}


/* -- SUBPAGES 
------------------------------------------------------------- */
/*Separations*/
.main:not(.home-page) > section article h2 { margin-top: 1em; padding-top: 1em; border-top: 1px solid #DDD; }
.main:not(.home-page) > section article:first-child h2 { margin-top: 0;}

/* Work-page (single) */
.work-page figure {margin-bottom: 3em;}
.work-page figcaption {text-align: center; margin-top: 1em;}

/* Services-page */
/* removed to make the css file leaner. See style_original.css for more */

	/* - Toggles */  
/* removed to make the css file leaner. See style_original.css for more */
            
	/* - Tabs */
/* removed to make the css file leaner. See style_original.css for more */


/* -------------------------------------------------------------
======	BLOG
------------------------------------------------------------- */
/* removed to make the css file leaner. See style_original.css for more */



/* -------------------------------------------------------------
======	MISC
------------------------------------------------------------- */

.ir{display:block; border:0; text-indent:-999em; overflow:hidden; background-color:transparent; background-repeat:no-repeat; text-align:left; direction:ltr; *line-height: 0;}
.ir br{display:none}
.hidden{display:none !important; visibility:hidden}
   .partner_logo {min-height: 100px} /* highest logo, to keep the grid*/


/* -------------------------------------------------------------
======	IE Fix
------------------------------------------------------------- */
.lt-ie9 .works figure a, .lt-ie9 .works figure a img { filter:inherit} 
/* jquery filter opacity issue IE8 */

.lt-ie9 .container {min-width: 780px;}
.lt-ie8 .container {width: 960px;}
.lt-ie8 .grid-wrap {margin-left: 0; }
.lt-ie8 .grid {padding: 0;margin-left: 5%; }
  .lt-ie8 .grid:first-child {margin-left: 0; }

.lt-ie8 .col-full {width: 99.95%; }
.lt-ie8 .col-full + .grid {margin-left: 0; }
.lt-ie8 .col-one-half {width: 47.45%; }
.lt-ie8 .col-one-third {width: 29.55%; }
.lt-ie8 .col-two-thirds {width: 64.95%; }
.lt-ie8 .col-one-quarter {width: 19.95%; }
.lt-ie8 .col-three-quarters {width: 74.95%; }



/* -------------------------------------------------------------
======	MEDIA QUERIES
------------------------------------------------------------- */

/* -- Media query 1 (mq1)  768px
------------------------------------------------------------- */
/* Font 13px * 60em = 780px, Font 14px * 55em = 770px 
Tablet browsers: HTC, LG, Samsung, Motorola, Nokia - 480 x 800, iPad, iPad mini - 768 x 1024, Samsung Galaxy Note - 800 x 1280
@media only screen and (max-width: 60em) { 13 / 780 
*/
@media only screen and (max-width: 768px) { 
	.mq1-col-full {width: 100%; }
	.mq1-col-one-half {width: 50%; }
	.mq1-col-one-third {width: 33.333%; }
	.mq1-col-two-thirds {width: 66.666%; }
	.mq1-col-one-quarter {width: 25%; }
	.mq1-col-three-quarters {width: 75%; }
	/**/
	body {font-size: 0.8em}
	/* get rid of the large top space */
    .container {width: 90%; margin: 1em auto;}
	/* hide the caption and the image navigation arrows */
	.slide figcaption{ display:none;}
	.flex-direction-nav {display: none}
	header nav { width: 100%; }
	header nav ul {  padding: 0 ; border-left:none; line-height: 2em; }
	header nav ul li { float: left;  padding: 0 1em ; border-left:1px solid #ddd; }
	footer li { float: left; margin-right: 0.5em; padding-right: 0.5em; border-right: 1px solid #DDD;} 
	.logo {max-width: 98%;}
    .partner_logo {min-height: 3em; padding-top: 3em} /* highest logo, to keep the grid*/

    .title_404 {
	  font-size: 1.5em;
    }

    .text_404 {
	  font-size: 1.1em;
    }

    .text_404 > a {
	  font-size: 1.2em; 
    } 

    .figure_404 {
	  max-width: 80%;
    }
}
    
/* -- Media query 2 (mq2) 480px
------------------------------------------------------------- */
/* Font 13px * 48em =  624 px; Font 14px * 44em = 616px */
/*
@media only screen and (max-width: 48em) { 
*/
@media only screen and (max-width: 480px) { 
	.mq2-col-full {width: 100%;}
	.mq2-col-one-half {width: 50%; }
	.mq2-col-one-third { width: 33.333%; }
	.mq2-col-two-thirds {width: 66.666%; }
	.mq2-col-one-quarter {width: 25%; }
	.mq2-col-three-quarters {width: 75%; }
	.mq2-none {display: none;}
	/**/
	header nav { width: 100%; }
	header nav ul {  padding: 0 ; border-left:none; line-height: 2em; }
	header nav ul li { float: left;  padding: 0 1em ; border-left:1px solid #ddd; }
	h1 {text-shadow: 0 0 0;}
	/* here we have the utils on a second row, so simple border */
    .utils { border-left: 1px none #ddd; }
	.main article {	margin-top: 3em;} .main article:first-of-type {	margin-top: 0;}	
	.slider { margin-top: 3em; }
	/* hide the caption and the image navigation arrows */
	.nonessential {display: none}
	.flex-direction-nav {display: none}
   /* no horizontal grid; space from the text above*/
   .partner_logo {min-height: 0px; padding-top: 4em } 
   /* except first logo, which does not need to be so far down*/
   .partner_logo:first-of-type {padding-top: 0em}
   .title_404 {
	  font-size: 1.5em;
	  text-align: left;
   }

   .text_404 {
	  font-size: 1.0em;
   }

   .text_404 > a {
	  font-size: 1.0em; 
   } 
}
    
/* -- Media query 3 (mq3)
------------------------------------------------------------- */
/*
480px: HTC - 540 x 960, HTC, Motorola, Samsung - 720 x 1280
320px: iPhone - 320 x 480, HTC, LG, Samsung, Motorola - 320 x 480, 
	   HTC, LG, Samsung, Motorola, Nokia Lumia - 480 x 800
13px * 30em =  390px 

@media only screen and (max-width: 480px) { 
*/
@media only screen and (max-width: 320px) { 
	.mq3-col-full { width: 100%; }
	.mq3-col-one-half { width: 50%; }
	.mq3-col-one-third { width: 33.333%; }
	.mq3-col-two-thirds { width: 66.666%; }
	.mq3-col-one-quarter { width: 25%; }
	.mq3-col-three-quarters { width: 75%; } 
	.mq3-none {display: none;}
	/**/
   body {font-size: 0.9em}
   /*
   h1 {font-size: 2.4em; }
   h2 { font-size: 2.00em; margin: 0 0 20px; letter-spacing: -0.05em; color: #156300; line-height: 1; }
   h3 { font-size: 1.75em; }
   h4 { font-size: 1.5em; }
   h5 { font-size: 0.9em; text-transform: uppercase; margin: 0; color: #555; }
   h6 { font-size: 1em; margin-bottom: 2px; font-weight: 600; } /* don't forget to add the weight in the html!! */
   */
	header nav ul li { padding: 0 0.5em ; }
	footer li { float: none; margin-right: 0em; padding-right: 0em; border-right: none; line-height: 2em;}
	.services article {	margin-top: 3em;} .services article:first-of-type {	margin-top: 0;}	
	/* hide the caption and the image navigation arrows */
	.nonessential {display: none}
	.flex-direction-nav {display: none}
   /* no horizontal grid; space from the text above*/
   .partner_logo {min-height: 0px; padding-top: 4em}
   /* except first logo, which does not need to be so far down*/
   .partner_logo:first-of-type {padding-top: 0em}
   .title_404 {
	  font-size: 1.5em;
	  text-align: left;
   }
}

/* -- PRINT STYLES 
------------------------------------------------------------- */
@media print{ 
    .print-col-full { width: 100%; }
	*{background:transparent !important;  text-shadow:none !important; filter:none !important; -ms-filter:none !important}
    .main > section { margin-bottom: 1em; }
	.logo {max-width: 60%; }
	abbr[title]:after{content:"("attr(title) ")"}
	pre, blockquote{page-break-inside:avoid}
	thead{display:table-header-group}
	tr, img{page-break-inside:avoid}
	img{max-width:100% !important}
	p, h2, h3{orphans:3; widows:3}
	h1, h2, h3{page-break-after:avoid} 
	/*
	h1 {font-size: 2.0em}
	h2 {font-size: 1.7em}
	h5 {font-size: 1.0em}
	*/
	.slide figcaption{ display:none;}
	.up, .flex-direction-nav {display: none}
	/*
	.flexslider {display:none}
	*/
}
 
 
 
/* -------------------------------------------------------------
======	END
------------------------------------------------------------- */
