/* HTML5 DECLARATIONS */
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,dialog{display:block}
audio[controls],canvas,video{display:inline-block;*display:inline;zoom:1}

/* BASE */
html{height:100%;overflow-y:scroll;-webkit-text-size-adjust:100%}
body{font:1.5em sans-serif;color:#222222;margin:0;min-height:100%;-webkit-font-smoothing:antialiased;word-wrap:break-word}

/* DEFAULT FONT SETTINGS */
button,input,select,textarea{font:100%/1.5 sans-serif;color:#222222}
p,blockquote,q,pre,address,hr,code,samp,dl,ol,ul,form,table,fieldset,menu,img{margin:0 0 1em;padding:0}

/* TYPOGRAPHY */
h1,h2,h3,h4,h5,h6{color:#1282de;font-weight:normal;margin:0 0 0.5em}
h1{font-size:2.3em;line-height:1.2em}
h2{font-size:2em;line-height:1.2em}
h3{font-size:1.6em;line-height:1.1em}
h4{font-size:1.4em;line-height:1em}
h5{font-size:1.2em;line-height:1em;margin-bottom:0.6em}
h6{font-size:1.1em;line-height:1em}
p,ul,blockquote,pre,td,th{margin:0;line-height:1.5em;margin-bottom:1em}
td{padding:0.2em}

/* CODE */
pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}
pre,code,kbd,samp{font-size:1em;line-height:1.5em;margin-bottom:1.5em;font-family:Menlo,Consolas,'DejaVu Sans Mono',Monaco,monospace}

/* TABLES */
table{border-collapse:collapse;border-spacing:0}
th{text-align:left}

/* FORMS */
form{margin:0}
fieldset{border:0;padding:0}
textarea{overflow:auto;vertical-align:top;height:15em;resize:none}
legend{*margin-left:-.75em}
button,input,select,textarea{vertical-align:baseline;*vertical-align:middle;font-size:0.8em}
button,input,select{cursor:pointer}
button,input{line-height:normal;display:block;*overflow:visible}
input[type="text"],input[type="password"],select,textarea{width:100%;display:block;box-sizing:border-box}
input[type="submit"],input[type="button"],input[type="reset"],button{cursor:pointer;-webkit-appearance:button}
input[type="submit"],input[type="button"],button,a.ea_button{font-size:0.9em;text-align:center;cursor:pointer;color:#ffffff;display:inline-block;border-radius:5px 5px 5px 5px;border:0 none;background:#d97418;padding:0.3em 1.2em;margin:1em 1em 0 0}
input[type="submit"].ea_alt,input[type="button"].ea_alt,button.ea_alt,a.ea_button.ea_alt{background:#aaaaaa}
input[type="submit"]:hover,input[type="button"]:hover,button:hover,a.ea_button:hover{text-decoration:none;box-shadow:0 0 1px #000000;background:#ff993c;color:#ffffff}
input[type="submit"].ea_alt:hover,input[type="button"].ea_alt:hover,button.ea_alt:hover,a.ea_button.ea_alt:hover{background:#cccccc;box-shadow:none;color:#ffffff}
input[type="checkbox"],input[type="radio"]{box-sizing:border-box;display:inline-block;margin:0 0.5em 0 0}
input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;	box-sizing:content-box}
input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}
button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}
label{margin:0.5em 0 0 0;display:block;cursor:pointer;font-size:0.8em}

/* QUOTES */
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}
blockquote,q,cite{font-style:italic}
blockquote{padding-left:1.5em;border-left:3px solid #ccc}
blockquote > p{padding:0}

/* LISTS */
ul,ol{list-style:none;padding:0;margin:0}
dl dd{margin-left:1.5em}

/* HYPERLINKS */
a{text-decoration:none;color:#d97418;display:inline-block;line-height:0}
a:hover{color:#ff993c}
a:focus,a:hover,a:active{outline:none}

/* MEDIA */
figure{margin:0}
img,object,embed,video{max-width:100%;_width:100%}
img{margin:0;border:0;-ms-interpolation-mode:bicubic}
svg:not(:root){overflow:hidden}

/* ABBREVIATION */
abbr[title],dfn[title]{border-bottom:1px dotted #222222;cursor:help}

/* MARKED/INSERTED/DELETED AND SELECTED TEXT */
ins,mark{text-decoration:none}
mark{background:#d97418}
ins{background:#d49855}
del{text-decoration:line-through}
::-moz-selection{background:#d97418;color:#fff;text-shadow:none}
::selection{background:#d97418;color:#fff;text-shadow:none}

/* OTHERS */
strong,b,dt{font-weight:bold}
small{font-size:0.8em}
dfn{font-style:italic}
var,address{font-style:normal}
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
sup{top:-0.5em}
sub{bottom:-0.25em}

/* MICRO CLEARFIX HACK */
.ea_cf:before,.ea_cf:after{content:"";display:table}
.ea_cf:after{clear:both}
.ea_cf{zoom:1}

/* DEFAULT MOBILE STYLE */

/* Header */
header{background:#1282de}
header a{padding:1em;color:#ffffff}
header a:hover{color:#96d0ff}
header a.ea_logo img{background:#ffffff;border-radius:10px}

/* Footer */
footer{background:#253c50;font-size:0.9em}
footer a{color:#ffffff}
footer a:hover{color:#96d0ff}
footer .ea_content{padding:1em 0}

/* Misc */
.ea_content{max-width:960px;margin:0 auto;padding:2em 0.5em}
.ea_content.ea_main{min-height:25em}
.ea_content.ea_main .ea_banner{margin-bottom:1em}

/* SMALL TABLET */
@media only screen and (max-width:599px){
  /* Table rows will be boxes */
  thead tr{position:absolute;top:-9999px;left:-9999px}
  table,thead,tbody,th,td,tr{display:block;margin:0}
  tr{border-radius:5px;margin-bottom:1em;background:url('../img/content/box_background.png') repeat scroll 0 0 transparent;padding:1em 0}
  table tr td{text-align:center !important}
  th,td{padding:0 0.5em}
  /* Header alignment */
  header{text-align:center}
  /* Footer alignment */
  footer{text-align:center}
}

@media only screen and (min-width:600px){
  /* Header */
  header nav .ea_left{float:left}
  header nav .ea_right{float:right}
  /* table cell paddings */
  th,td{padding-right:1.5em}
  /* cols */
  .ea_25 .ea_wrapper,.ea_30 .ea_wrapper,.ea_33 .ea_wrapper,.ea_50 .ea_wrapper,.ea_60 .ea_wrapper,.ea_70 .ea_wrapper,.ea_100 .ea_wrapper{padding-right:1em}
  .ea_25.ea_alt,.ea_30.ea_alt,.ea_33.ea_alt,.ea_50.ea_alt,.ea_60.ea_alt,.ea_70.ea_alt,.ea_100.ea_alt{float:right}
  /* 25% column */
  .ea_25{width:25%;float:left}
  /* 30% column */
  .ea_30{width:30%;float:left}
  /* 33% column */
  .ea_33{width:33.3%;float:left}
  /* 50% column */
  .ea_50{width:50%;float:left}
  /* 60% column */
  .ea_60{width:60%;float:left}
  /* 70% column */
  .ea_70{width:70%;float:left}
  /* 100% column */
  .ea_100{width:100%;float:left}
  /* 60% center column */
  .ea_60_center{width:60%;margin:0 auto}
}

/* 960 PX */
@media only screen and (min-width:960px){
  /* Header */
  /* nav bar */
  header .ea_content nav{max-width:80%}
}

/* PRINT */
@media print{
  *{background:transparent !important;color:black !important;text-shadow:none !important;filter:none !important;-ms-filter:none !important}
  a,a:visited{color:#444 !important;text-decoration:underline}
  a[href]:after{content:" (" attr(href) ")"}
  abbr[title]:after{content:" (" attr(title) ")"}
  .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}
  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}
}