
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, main {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, main {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

strong {
  font-weight: bold;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
/***********************************************************/
/***********************************************************/
/***********************************************************/

.alignCenter { text-align: center; }
.alignLeft { text-align: left; }
.alignRight { text-align: right; }

.floatLeft { float: left; }
.floatRight { float: right; }

.hidden { display: none; }


/***********************************************************/
/***********************************************************/
/***********************************************************/
html /*, body */ {
  background: white;
}


body {
  font-family: 'Roboto', Tahoma, serif;
  font-size: 16px;
  -tmp-width: 1024px;
  -tmp-margin: 0px auto;
}


body > footer {
  margin-top: 50px;
  background: linear-gradient(180deg, #99DFFF, white);
  overflow: hidden;
  padding: 10px 0;
  border-top: 2px solid #006999;
  /* 004666 */
}

body > footer p {
  white-space: pre-line;
  max-width: 800px;
  margin: 10px auto;
  text-align: left;
  font-size: 13px;
  line-height: 1.2em;
  margin-bottom: 10px;
  position: relative;  
}

body > footer p img {
  position: absolute;
  right: 0;
  top: -10px;
}

a {
  color: #006999;
}

body > header {
  max-width: 800px;
  margin: 0px auto;
  overflow: hidden;
  position: relative;
  height: 460px;
  -tmp-border: 1px solid black;
  -tmp-box-shadow: 0px 5px 3px 0px silver;
  margin-bottom: 20px;
  background:  url(/design/img/header_shadow.png) left 450px no-repeat;
}

body > header h1 {
  font-family: 'Tangerine', serif;
  font-size: 110px;  
  letter-spacing: 20px;  
  margin-top: 20px;
  z-index: 1;
  margin-left: 300px;
  text-shadow: .02em .02em 0 #fff, .04em .04em 0 #FFCF99;
  color: #006999;  
}

body > header > a {
  position: absolute;
  top: 130px;
  left: 0;
  z-index: 2;
}

body > header > a img:nth-of-type(2) {
  display: none;
}

#slider {
  margin-top: 20px;
  margin-left: 340px;
  border: 15px solid #FFCF99;
  outline: 3px solid #FFA640;
  -tmp-box-shadow: 0px 0px 10px 10px #FFBE73; 
  width: 384px;
  position: relative;
  height: 250px;
}

#slider img {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

#slider img:last-of-type {
  display: block;
}



body > hr {
  border: 0px none;
  border-top: 1px solid #006999;
  font-size: 0px;
  background: transparent;
  
}

body > main {
  max-width: 800px;
  margin: 0px auto;  
  margin-top: 00px;
  overflow: hidden;
}

article h2 {
  font-family: 'Tangerine', serif;
  font-size: 30px;  
  letter-spacing: 2px;  
  -tmp-text-shadow: .02em .02em 0 #fff, .04em .04em 0 #FFCF99;
  color: #006999;  
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4em;
}

main > article {
  width: 47%;
  float: left;
  text-align: justify;
  line-height: 1.35em;
}

main > article:last-of-type {
  float: right;
}

main > article p {
  margin-bottom: 10px;
}


@media (max-width: 800px) {
  
  body > header > a {
    top: 20px;
  }
  
  body > header > a img:nth-of-type(2) {
    display: block;
  }  
  body > header > a img:nth-of-type(1) {
    display: none;
  }  
  
  body > footer p {
    max-width: 600px;  
  }
  body > header {
    max-width: 600px;  
    background:  url(/design/img/header_shadow600.png) left 450px no-repeat;
  }
  body > main {
    max-width: 600px;
  }  
  
  body > header h1 {
    margin-left: 120px;
    font-size: 100px;
  }
  
  #slider {
    margin: 20px auto;
  }
  
  
}

@media (max-width: 600px) {
  
  body > header h1 {
    margin-left: 130px;
    font-size: 70px;
    letter-spacing: 10px;
  }  
  
  body > header > a img:nth-of-type(2) {
    width: 80px;
  }
  
  body > header > a {
    left: 20px;
  }
  
  body > header { 
    background: none;
    border-bottom: 1px solid silver;
    height: 430px;
  }
  
  main > article {
    display: block;
    float: none !important;
    width: 90%;
    margin: 0px auto;
  }
  
  body > footer p img {
    top: -20px;
    width: 40px;
  }
  
}

@media (max-width: 450px) {
  body > header h1 {
    font-size: 12vw;
    margin-top: 12px;
    margin-left: 20vw;
  }
  
  body > header > a img:nth-of-type(2) {
    width: 15vw;
  }

  body > header > a {
    top: 5px;
    left: 3vw;
  }  
  
  body > header {
    height: 90vw;
  }
  
  
  #slider {
    border: 0px none;
    outline: 0px none;
    width: 95%;
    margin: 0px auto;
    margin-top: 20px;
  }
  
  #slider img {
    width: 100%;
  }
  
  body > footer p img {
    display: none;
  }
}
