a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

body {
  color: #333;
  position: relative;
}

/*menu bar*/
#sideMenu {
  position: fixed;
  top: 0;
  right: 0;
  opacity: 0.9;
  z-index: 100;
}

label {
  background: #333;
  color: #fff;
  padding: 10px 20px;
  display: block;
  margin: 0 0 1px 0;
  letter-spacing: 0.1em;
  cursor: pointer;
  line-height: 3;
}

input[type="checkbox"].on-off {
  display: none;
}

input[type="checkbox"].on-off + ul {
  position: absolute;
  width: 200px;
  right: -210px;
  overflow: hidden;
  /* transform: rotate(-90deg); */
  transform-origin: right top;
  opacity: 0;
}

input[type="checkbox"].on-off:checked + ul {
  right: 0;
  transform: rotate(0deg);
  opacity: 1;
}

#sideMenu ul {
  transition: all .3s;
  margin: 0;
  padding: 0;
  list-style: none;
}

#sideMenu li {
  background: #333;
  color: #fff;
  padding: 10px;
  font-size: 0.8em;
  border: 1px solid #ffffff;
}

#sideMenu li::before {
  /* content: "⇒"; */
  padding-right: 0.5em;
}

#sideMenu li a {
  color: #fff;
}
/*menu bar end*/

/*buttonTop*/
#buttonTop {
  position: fixed;
  right: 0;
  bottom: 50px;
  background: #333;
  color: #fff;
  text-align: center;
  opacity: 0.9;
  line-height: 3;
  padding: 10px 10px;
  z-index: 100;
}

#buttonTop a {
  color: #fff;
  display: block;
  padding: 10px;
}
/*buttonTop END*/


/*header*/
#header {
  width: 900px;
  margin: 0 auto;
  padding: 0;
}

#header p {
  margin: 0;
}

#header table {
  width: 100%;
  border-collapse: collapse;
  background: #800000;
  text-align: center;
  font-size: 0.9em;
}

#header td {
  border: solid 1px #aaa;
}

#header td a {
  color: #fff;
  display: block;
  width: 100%;
  height: 100%;
}

#header td a:hover {
  color: #800000;
  background: #f5f5f5;
  text-decoration: none;
}
/*header end*/


.topline {
  display: flex;
  flex-flow:row wrap;
  justify-content: space-between;
  align-items: flex-end;
  margin: 10px auto;
}

.topline1 {
  position: relative;
  overflow: hidden;
  font-weight: bold;
}

.topline2 {
  position: relative;
  overflow: hidden;
  border: 1px solid #333;
  font-weight: bold;
  border-radius: 5px;
}

.topline2 p {
  display: inline-block;
  padding: 5px;
  font-size: 0.9em;
}


.to_home {
  width: 900px;
  height: 30px;
  margin: 5px auto;
  position: relative;
  text-align: center;
  font-size: 0.9em;
}

.mailad {
  position: absolute;
  border: 1px solid #333;
  border-radius: 5px;
  font-weight: bold;
  right: 0;
  color: #333;
}

.mailad p {
  display: inline-block;
  padding: 5px;
}

.to_home a {
  border: 1px solid #333;
  margin: 0 auto;
  color: #333;
  font-weight: bold;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 5px;
  position: absolute;
  left: 0;
}

.to_home a:hover{
  color: #fff;
  background-color: #333;
  
}

/*footer*/
#footer {
  background-color: #282828;
  color: #fff;
  width: 900px;
  margin: auto;
}
.footer {
  padding-top: 20px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}
.footer1 a {
  color: #fff;
}
.footer1 a:hover{
  color: #D21213;
  text-decoration: none;
}
.footer1 {
  width: 24%;
  overflow: hidden;
  position: relative;
}
.footer1 dl {
  margin-left: 50px;
}
.footer1 dt {
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  font-size: small;
  font-weight: bold;
}
.footer1 dd {
  margin: 10px 0 0 0;
  font-size: small;
}
.footer1 p {
  font-size: small;
  margin: 0;
  padding-left: 20px;

}

.footer2 {
  margin-top: 40px;
  border-top: 1px solid #555;
}

.footer2 p {
  padding: 10px 20px 20px 20px;
  font-size: 0.7em;
}