body{ margin:0;font:100%/1.4 Verdana, Arial, Helvetica, sans-serif;}
.header {
  overflow:visible;
  position: fixed;
  background-color: #FFF;
  top: 0;
  height: 90px;
  width: 100%;
  z-index:10;
  background-color:#FFF;background-position:right top;background-size:contain;
}
.form-group {
  margin-bottom: 15px;
}
.form-control {
  display: block;
  width: 95%;
  max-width: 350px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.4;
  text-align:left;
  color: #555;
  background-color: #fff;
  border: 1px solid #ccc;
}
.form-group label {
  font-weight:bold;
}
.form-group .help-block {
  color: red;
}
.has-error .form-control {
  border-color: red;
}
nav {
  margin-left: 5px;
  margin-right: 5px;
  background-color: #333;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.95);
  -moz-border-radius: 8px; -webkit-border-radius: 8px;
}
nav ul {
  list-style: none;
  position: relative;
  padding: 0;
  margin: 0;

  }
nav ul li {
  display:inline-block;
  }
nav a {
  font-size:20px;
  color:#FFF;
  line-height: 60px;
  text-decoration:none;
  display:block;
  padding:0 10px;
}
nav ul li ul li a {
  font-size:14px;
  line-height: 40px;
}

nav a:hover, nav a:active {
  background-color: red;
}
nav ul ul {
  top: 60px;
  position: absolute;
  display: none;
}
nav ul li:hover > ul, nav ul li:active > ul {
  display:inherit;
}
nav ul ul li {
  background-color: #333;
  width:230px;
  display:list-item;
  float:none;
  position: relative;
}
nav ul ul ul li {
  background-color: #333;
  left:230px;
  position: relative;
  top:-60px;
}
nav ul ul li {
  border: 1px solid white;
}

nav > ul > li:last-child {
  display: none;
}

li > a:after { content:  ' ▼'; }
li > a:only-child:after { content: ''; }

img.screenshot {
 width:100%;
 height:100%;
}

@media screen and (max-width: 600px) {
  nav > ul > li:not(:first-child) {
    display: none;
  }
  nav > ul > li:last-child {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  nav.responsive {position: relative;}
  nav.responsive > ul > li:last-child {
    position: absolute;
    right: 0;
    top: 0;
  }
  nav.responsive a {
    font-size:14px;
    line-height: 30px;
  }
  nav.responsive ul li {
    float: none;
    display: block;
    text-align: left;
  }
  nav.responsive ul ul {
   top: unset;
  }
  nav.responsive ul ul ul {
   top: 60px;
  }
  nav.responsive ul li ul {float: none;}
  nav.responsive ul li ul {position: relative;}
  nav.responsive ul li ul li {
    display: block;
    width: 100%;
    text-align: left;
  }
  nav ul ul ul li {
    left:0%;
  }
  nav ul ul ul li a {
    padding-left:5%;
  }
  nav.responsive ul li ul li a {
    font-size: smaller;
    line-height: 30px;
  }
}

.main {
  background-color: #FFFFFF;
  background: url("../images/bg-main.jpg") no-repeat fixed center top;
  padding-bottom: 120px;
  z-index:0;
  padding-left: 8px;
  padding-right: 8px;
}

.maintext {
font-family: "Times New Roman", Times, serif;
    max-width:800px;
    margin-left:auto;
    margin-right:auto;
    padding:15px;
    background-color:#FFFFFF;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.95);
}
.maintext h1,.maintext h2 {
    text-align:center;
}
.maintext ul.lr {
  list-style-type: lower-roman;
}

.maintext figure {
 width: 80%;
 margin-left:auto;
 margin-right:auto;
}

.maintext table {
 margin-left:auto;
 margin-right:auto;
}
.maintext table, .maintext th, .maintext td {
  padding: 8px;
  border: 1px solid gray;
  border-collapse: collapse;
}

.footer {
  overflow: visible;
  position: fixed;
  background-color: #FFF;
  bottom: 0;
  height: 60px;
  width: 100%;
  padding-left:10px;
  z-index:5;
  border-top:thin solid #CCC;
  box-shadow: 0px -8px 16px 0px rgba(0,0,0,0.2);
}
.header + * {
    padding-top: 130px;
}
img.overlay {
	display: block;
	left: 20px;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 150px;
	width: auto;
	z-index: 1;
}
.multiple-borders {
  -webkit-box-shadow:
     0px 0px 0px 2px rgba(0,0,0,0.6),
                0px 0px 0px 14px #fff,
                0px 0px 0px 18px rgba(0,0,0,0.2),
                6px 6px 8px 17px #555;

     -moz-box-shadow:
     0px 0px 0px 2px rgba(0,0,0,0.6),
                0px 0px 0px 14px #fff,
                0px 0px 0px 18px rgba(0,0,0,0.2),
                6px 6px 8px 17px #555;

          box-shadow:
     0px 0px 0px 2px rgba(0,0,0,0.6),
                0px 0px 0px 14px #fff,
                0px 0px 0px 18px rgba(0,0,0,0.2),
                6px 6px 8px 17px #555;
}
@media screen and (max-width: 918px) {
.multiple-borders {
	-webkit-box-shadow: 0px 0px 0px rgba(0,0,0,0.95);
	-moz-box-shadow: 0px 0px 0px rgba(0,0,0,0.95);
	 box-shadow: 0px 0px 0px rgba(0,0,0,0.95);
}
}
