#nav {

  width: 952px;

  float: left;

  margin: 13px 0 16px 0;

  padding: 0;

  list-style: none;

  background-color: #666666;

  border-bottom: 1px solid #666666;

  border-top: 1px solid #666666;
  
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
  max-width: 100%;
    
}

#nav li {

  float: left; }

#nav li a {

  display: block;

  padding: 8px 19px;

  text-decoration: none;

  font-weight: bold;

  font-size:12px;

  color: #ffffff;

  border-right: 1px solid #666666; }

#nav li a:hover {

  color: #ffffff;

  background-color: #333333; }

/* End primary navigation bar styling. */



  #nav1 {

  width: 952px;

  float: left;

  margin: 0 0 3em 0;

  padding: 0;

  list-style: none;

  background-color: #f2f2f2;

  border-bottom: 1px solid #ffffff;

  border-top: 1px solid #ffffff; margin-bottom: 0 !important;
      max-width: 100%;
  }

#nav1 li {

  float: left; }

#nav1 li a {

  display: block;

  padding: 8px 15px;

  text-decoration: none;

  font-weight: bold;

  font-size:11.2px;

  color: #000000;

  border-right: 1px solid #ffffff; }

#nav1 li a:hover {

  color: #c00;

  background-color: #ffffff; }

h2, h3 {
	color: red;
}
a:link {
	color: blue;
}
/* unvisited link */
a:visited {
	color: blue;
}
/* visited link */
a:hover {
	color: red;
}
/* mouse over link */
a:active {
	color: red;
}
/* selected link */
.myBoxesGrayBackground {
	width: 952px;
	height: auto;
	margin-top: 50px;
	padding: 20px 60px 20px 60px;
	background: #f8f8f8;
	-webkit-box-shadow: 0px 1px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow: 0px 1px 0px rgba(50, 50, 50, 0.5);
	box-shadow: 0px 1px 0px rgba(50, 50, 50, 0.5);
	border: 1px #CDCDCD solid;
	border-radius: 10px;
	max-width: 100%;
}
.contents #top-of-page  img{
    height: auto;
    display: block;
}
.contents #top-of-page .logodiv{
    height: auto !important;
}
.myBoxesWhiteBackground {
	width: 952px;
	height: auto;
	margin-top: 50px;
	padding: 20px 60px 20px 60px;
	background: rgb(255, 255, 255);
	-webkit-box-shadow: 0px 1px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow: 0px 1px 0px rgba(50, 50, 50, 0.5);
	box-shadow: 0px 1px 0px rgba(50, 50, 50, 0.5);
	border: 1px #CDCDCD solid;
	border-radius: 10px;
	max-width: 100%;
}
.myBoxesVideoBackground {
	width: 952px;
	height: auto;
	margin-top: 30px;
	padding: 20px 20px 20px 20px;
	background: #d3d3d3;
	-webkit-box-shadow: 0px 1px 0px rgba(50, 50, 50, 0.5);
	-moz-box-shadow: 0px 1px 0px rgba(50, 50, 50, 0.5);
	box-shadow: 0px 1px 0px rgba(50, 50, 50, 0.5);
	border: 1px #CDCDCD solid;
	border-radius: 10px;
	max-width: 100%;
}
a.button3 {
	display: inline-block;
	padding: 0.1em 1.2em;
	margin: 0 0.3em 0.3em 0;
	border-radius: 2em;
	box-sizing: border-box;
	text-decoration: none;
	font-weight: 300;
	color: #FFFFFF;
	background-color: #ff0000;
	text-align: center;
	transition: all 0.2s;
}
@media all and (max-width:30em) {
	a.button3 {
		display: block;
		margin: 0.2em auto;
	}
}
a.button3 {
	background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
	background-size: 500% 500%;
	animation: gradient 4s ease infinite;
	height: 4vh;
}
@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}
* {
	box-sizing: border-box;
}
body {
	/*width: 100vw;*/
	/*height: 100vh;*/
	overflow: auto;
	background-color: #f2f2f2;
}

body {
	padding: 2em 2em 2em 17em;
	font-size: 16px;
	line-height: 1.6;
	font-family: 'Arial';
}

.toc {
	position: fixed;
	left: 3em;
	top: 0em;
	padding: 1em;
	width: 30em;
	background: #555555;
	line-height: 2;
}

.toc ul {
	list-style: none;
	margin: 0;
}

.toc ul ul {
	padding-left: 2em;
}

.toc li a {
	display: inline-block;
	color: white;
	text-decoration: none;
	-webkit-transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.toc li.tan a {
	display: inline-block;
	color: tan;
	text-decoration: none;
	-webkit-transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
	transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.toc li.visible>a {
	color: red;
	-webkit-transform: translate(5px);
	-ms-transform: translate(5px);
	transform: translate(5px);
}

.toc-marker {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

.toc-marker path {
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}



.contents {
	padding: 1em 0;
	margin-left: 250px;
	max-width: 952px;
	font-size: 1.2em;
}
@media screen and (min-width: 1201px){
    .contents{
        margin-left: 350px;
    }
}
	.contents img {
		max-width: 100%;
		height: auto !important;
	}
	.contents .code-block {
		white-space: pre;
		overflow: auto;
		max-width: 100%;
	}
	.contents .code-block code {
		display: block;
		background-color: #f9f9f9;
		padding: 10px;
	}
	.contents .code-inline {
		background-color: #f9f9f9;
		padding: 4px;
	}
	.contents h2 h3 {
		padding-top: 1em;
	}
	.contents h2 {
		margin-top: 1.2em;
	}
	@media screen and (max-width: 1200px) {
		body {
			font-size: 14px;
		}
	}
	#nav1 {
    border-bottom: 1px solid #f2f2f2;
    border-top: 1px solid #f2f2f2;
    margin-left: 40px;
}
	#nav1 li a {
    border-right: 1px solid #f2f2f2;
}


@media screen and (max-width: 1024px){
    body{
        padding-top: 0;
        margin-top: 0;
        padding: 0;
        margin: 0;
    }
    .toc{
        width: 40vw;
        left: 0;
        top: 0;
        height: 100vh;
        overflow: auto;
    }
    .contents{
        padding-top: 0 !important;
        margin-left: 0vw;
        padding-left: 0;
        width: 60vw;
        margin-left: 40vw;
    }
    .contents .myBoxesWhiteBackground, .contents #nav, .contents #nav1, .contents .myBoxesVideoBackground, .contents .myBoxesGrayBackground{
        width: 100%;
    }
    .contents img {
        max-width: 100%;
        height: auto !important;
    }
    .logodiv{
        height: auto !important;
    }
    .logodiv img{
        display: block;
    }
}
@media screen and (max-width: 539px){
    body{
        padding-top: 0;
        margin-top: 0;
        padding: 0 4vw;
        margin: 0;
    }
    .toc{
        display: none;
    }
    .contents{
        padding-top: 0 !important;
        margin-left: 0vw;
        padding-left: 0;
        width: 92vw;
        margin-left: 0vw;
    }
    .contents .myBoxesWhiteBackground, .contents #nav, .contents #nav1, .contents .myBoxesVideoBackground, .contents .myBoxesGrayBackground{
        width: 100%;
    }
    .contents .myBoxesWhiteBackground, .contents .myBoxesVideoBackground, .contents .myBoxesGrayBackground{
        padding: 10px 15px 15px;
    }
    .contents img {
        max-width: 100%;
        height: auto !important;
    }
    .logodiv{
        height: auto !important;
    }
    .logodiv img{
        display: block;
    }
    #nav li, #nav1 li{
        width: 100%;
        display: block;
        text-align: center;
        font-size: 14px;
        margin-bottom: 5px;
    }
    #nav li a, #nav1 li a{
        font-size: 14px !important;
    }
    #nav1{
        margin-left: 0;
    }
}

.ml14 {
  font-weight: 600;
  font-size: 2.2em;
}

.ml14 .text-wrapper {
  position: relative;
  display: inline-block;
  padding-top: 0.1em;
  padding-right: 0.05em;
  padding-bottom: 0.15em;
}

.ml14 .line {
  opacity: 0;
  position: absolute;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: blue;
  transform-origin: 100% 100%;
  bottom: 0;
}

.ml14 .letter {
  display: inline-block;
  line-height: 1em;
  color: blue;
}
}

.ml2 {
  font-weight: 600;
  font-size: 2em;
}

.ml2 .letter {
  display: inline-block;
  line-height: .5em;
  color: blue;
}
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
    h1 { margin: 0 auto; text-align: center; width: 800px; }
}


@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
    h1 { margin: 0 auto; text-align: center; width: 550px; }
}


@media only screen 
and (min-width : 1224px) {
    h1 { margin: 0 auto; text-align: center; width: 800px; }
}


@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5){
    h1 { margin: 0 auto; text-align: center; width: 300px; }
}
}

/* The Modal (background) */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  padding-top: 100px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0, 0, 0); 
  background-color: rgba(0, 0, 0, 0.9); 
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 50%;
  max-width: 700px;
  height: auto;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption { 
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform: scale(0)} 
  to {transform: scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

