/*
*************************************************

Reset Styles

*************************************************
*/

/*------------------------------------*\
    #BOX-SIZING
	* Apply a natural box layout model to all elements e.g. instead of .this { width:90%; padding:5%; } 
	* it's now .this { width:100%; padding:0; }
\*------------------------------------*/
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

/*------------------------------------*\
    #RESET
\*------------------------------------*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent;cursor:pointer}
a:focus,a:hover,a:active {outline: none}
ins{background-color:#ff9;color:#000;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
input,select{vertical-align:middle}

/*------------------------------------*\
    #BROWSERS
\*------------------------------------*/
/* remove FF dotted outlines on links, objects and other things */ 
a { text-decoration:none; }
a, a:visited, a:hover, a:focus, a:active, object, embed, a img { outline: none !important;}
img { border:0; }
button::-moz-focus-inner { border: 0;}

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

/* make sure that everything we do starts from scratch
e.g. so footer ( font-size:90%} is 90% of this initial 100% */
html {font-size: 100%;}

/* responsive images */
img { max-width: 100%;  vertical-align: middle;  border: 0;  -ms-interpolation-mode: bicubic; height:auto; }

/* accessibility */
#skip-to-main { display:none; }

/* wrap */
.wrap 			{float:left; width:100%;}
%wrap			{float:left; width:100%;}
/* auto remove styles on ul and ol lists */
.reset--list 	{margin:0; padding:0; list-style-type:none;}
/* clears */
.clear--left 	{clear:left;}
.clear--right 	{clear:right;}
.clear--both 	{clear:both;}
/* floats */
.float--left 	{float:left;}
.float--right 	{float:right;}
/* Required * on forms */
.required--text {  font-style:normal; color:#f00;}


/* style for text with higher/lower symbols e.g. H2O (sub), 1st (sup)
sub,
sup {  position: relative;  font-size: 75%;  line-height: 0;  vertical-align: baseline;}
sup {  top: -0.5em;}
sub {  bottom: -0.25em;}

/*------------------------------------*\
    #EXTERNAL
	* fix external widgets e.g. gmap, twitter iframes, etc
\*------------------------------------*/

/*fix twitter scrollbar*/
iframe[name="twttrHubFrame"] {
display: none !important;
}
#fb-root > div { left:0 }

/*------------------------------------*\
    THE RESPONSIVE GRID SYSTEM
	* Taken from http://www.responsivegridsystem.com/
\*------------------------------------*/

/*  SECTIONS  */
.section {clear: both;padding: 0px;margin: 0px;}

/*  COLUMN SETUP  */
.col { display: block;	float:left;	margin: 1% 0 1% 5%;}
.col:first-child { margin-left: 0; }

/*  GROUPING  */
.group:before,
.group:after { content:""; display:table;}
.group:after { clear:both;}

.span_1_of_2 { width:47.5%; }
.span_2_of_3 { width:65%; }
	.span_1_of_3 { width:30%; }
		
.span_3_of_4 { width:73.75%; }
	.span_2_of_4 { width:47.5%; }
		.span_1_of_4 { width:21.25%; }
			
.span_4_of_5 { width:79%; }
	.span_3_of_5 { width:58%; }
		.span_2_of_5 { width:37%; }
			.span_1_of_5 { width:16%; }
            
.span_5_of_6 { width:82.5%; }
	.span_4_of_6 { width:65%; }
		.span_3_of_6 { width:47.5%; }
			.span_2_of_6 { width:30%; }
				.span_1_of_6 { width:12.5%; }

.span_6_of_7 { width:85%; }
	.span_5_of_7 {	width:70%; }
		.span_4_of_7 { width:55%; }
			.span_3_of_7 { width:40%; }
				.span_2_of_7 { width:25%; }
					.span_1_of_7 { width:10%; }
						
.span_7_of_8 { width:86.875%; }
	.span_6_of_8 { width:73.75%; }
		.span_5_of_8 {	width:60.625%; }
			.span_4_of_8 { width:47.5%; }
				.span_3_of_8 { width:34.375%; }
					.span_2_of_8 { width:21.25%; }
						.span_1_of_8 { width:8.125%; }

.span_8_of_9 { width:88.333333333333%; }
    .span_7_of_9 { width:76.666666666667%; }
        .span_6_of_9 { width:65%; }
            .span_5_of_9 {	width:53.333333333333%; }
                .span_4_of_9 { width:41.666666666667%; }
                    .span_3_of_9 { width:30%; }
                        .span_2_of_9 { width:18.333333333333%; }
                            .span_1_of_9 { width:6.6666666666667%; }

.span_9_of_10 { width:89.5%; }
    .span_8_of_10 { width:79%; }
        .span_7_of_10 { width:68.5%; }
            .span_6_of_10 { width:58%; }
                .span_5_of_10 {	width:47.5%; }
                    .span_4_of_10 { width:37%; }
                        .span_3_of_10 { width:26.5%; }
                            .span_2_of_10 { width:16%; }
                                .span_1_of_10 { width:5.5%; } 

									
/* quarters */
.span_2_of_8:nth-child(4n+1),
.span_3_of_12:nth-child(4n+1) { clear:both; margin-left:0; }
/* thirds */
.span_2_of_6:nth-child(3n+1),
.span_3_of_9:nth-child(3n+1),
.span_4_of_12:nth-child(3n+1) { clear:both; margin-left:0; }
/* halves */
.span_2_of_4:nth-child(odd),
.span_3_of_6:nth-child(odd),
.span_4_of_8:nth-child(odd),
.span_6_of_12:nth-child(odd) { clear:both; margin-left:0; }

@media screen and (max-width: 800px)
{
	/* turns sixths into thirds */
	.span_1_of_6 { width:31%; }
	.span_1_of_6:nth-child(3n+1) { clear:both; margin-left:0; }
	/* turns quarters into halves */
	.span_2_of_8 { width: 48.75%; }
	.span_2_of_8:nth-child(odd) { clear:both; margin-left:0; }

}

/*------------------------------------*\
    #FORMS
	* Styles modified from Bootstrap
\*------------------------------------*/
html { 
-webkit-overflow-scrolling : touch; 
-webkit-tap-highlight-color : rgb(52,158,219); 
-webkit-text-size-adjust : 100%; 
-ms-text-size-adjust : 100%; }

.clearfix { zoom : 1; }

::-webkit-selection { background : #000; color : #fff; text-shadow : 1px 1px 1px #000; }
::-moz-selection { background : #000; color : #fff; text-shadow : 1px 1px 1px #000; }
::selection { background : #000; color : #fff; text-shadow : 1px 1px 1px #000; }

button, 
input[type="button"], 
input[type="reset"], 
input[type="submit"] { -webkit-appearance : button; border:0; outline:none; }

::-webkit-input-placeholder {font-size : .875em; line-height : 1.4; }
input:-moz-placeholder { font-size : .875em; line-height : 1.4; }

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

input[type="checkbox"], 
input[type="radio"] { box-sizing : border-box; }
input[type="search"] { -webkit-box-sizing : content-box;-moz-box-sizing : content-box; }

button::-moz-focus-inner, 
input::-moz-focus-inner { padding : 0;border : 0; }

button,
input,
select,
textarea {  margin: 0;  font-size: 100%;  vertical-align: middle;}

button,
input {  *overflow: visible;  line-height: normal;}

button::-moz-focus-inner,
input::-moz-focus-inner { padding: 0;  border: 0;}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] { cursor: pointer;  -webkit-appearance: button;}
input[type="search"] {  -webkit-box-sizing: content-box; -moz-box-sizing: content-box;  box-sizing: content-box;  -webkit-appearance: textfield;
}
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
textarea { overflow: auto; vertical-align: top;}
.clearfix { *zoom: 1;}

.clearfix:before,
.clearfix:after { display: table; line-height: 0; content: "";}

.clearfix:after { clear: both; }

select { cursor:pointer; }

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  display: inline-block;
  padding: .5em;
  font-size: 1em;
  color: #555555; }

textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
     -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
       -o-transition: border linear 0.2s, box-shadow linear 0.2s;
          transition: border linear 0.2s, box-shadow linear 0.2s;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
  border-color: rgba(82, 168, 236, 0.8);
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */

  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}

input[type="radio"],
input[type="checkbox"] {
  margin: 4px 0 0;
  margin-top: 1px \9;
  *margin-top: 0;
  line-height: normal;
  cursor: pointer;
}

input[type="file"],
input[type="image"],
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"] {
  width: auto;
}


select {
  width: 80%;
  background-color: #ffffff;
  border: 1px solid #cccccc;
}

select[multiple],
select[size] {
  height: auto;
}

select:focus,
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}


input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #999999;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #999999;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #999999;
}

.radio,
.checkbox {
  min-height: 18px;
  padding-left: 18px;
}

.radio input[type="radio"],
.checkbox input[type="checkbox"] {
  float: left;
  margin-left: -18px;
}

.controls > .radio:first-child,
.controls > .checkbox:first-child {
  padding-top: 5px;
}

.radio.inline,
.checkbox.inline {
  display: inline-block;
  padding-top: 5px;
  margin-bottom: 0;
  vertical-align: middle;
}

.radio.inline + .radio.inline,
.checkbox.inline + .checkbox.inline {
  margin-left: 10px;
}

input:focus:required:invalid,
textarea:focus:required:invalid,
select:focus:required:invalid {
  color: #b94a48;
  border-color: #ee5f5b;
}

input:focus:required:invalid:focus,
textarea:focus:required:invalid:focus,
select:focus:required:invalid:focus {
  
}