 * { box-sizing: border-box;
 }

nav ul {
  list-style: none;
  margin: 0;
  padding: 0; 
 
}
nav a {
  display: block;
  text-decoration: none;
  outline: none;
  transition: .4s ease-in-out;
  float: center;
}
.topmenu {
  backface-visibility: hidden;
  background: rgba(255,255,255,.8);
 
}
.topmenu > li {
  display: inline-block;
  position: relative;
 
}
.topmenu > li > a {
  font-family: 'Exo 2', sans-serif;
  height: 70px;
  line-height: 70px;
  padding: 0 30px;
  font-weight: bold;
  color: #003559;
  text-transform: uppercase;

}
.down:after {
  content: "\f107";
  margin-left: 8px;
  font-family: FontAwesome;
}
.topmenu li a:hover { color: #E6855F; }
.submenu {
  background: white;
  border: 2px solid #003559;
  position: absolute;
  left: 0;
  visibility: hidden;
  opacity: 0;
  z-index: 5;
  width: 150px;
  transform: perspective(600px) rotateX(-90deg);
  transform-origin: 0% 0%;
  transition: .6s ease-in-out;
}
.topmenu > li:hover .submenu{
  visibility: visible;
  opacity: 1;
  transform: perspective(600px) rotateX(0deg);
}
.submenu li a {
  color: #7f7f7f;
  font-size: 13px;
  line-height: 36px;
  padding: 0 25px;
  font-family: 'Kurale', serif;
}
.select3 {
   text-align:  center;
   font-size: 18px;
   font-family: 'matura mt script capitals', serif; 
  
  
}
.select4 {
   text-align:  center;
   font-size: 15px;
   font-family: 'matura mt script capitals', serif; 
  }
h1 { 
border-bottom: double blue;
}
.select1 {
    font-family: 'Times New Roman', Times, serif; /* Шрифт с засечками */
    font-style: italic; /* Курсивное начертание */
	background: rgba(255, 255, 255, 0.9);
   }
   
   .select2 {
    text-decoration: underline
	}
	td {
		border: solid red 3px;
	}
	.select5 div {
		padding-top: 10px;
		}
	div p  {
		 background: rgba(255, 255, 255, 0.9);
	}
	div h2  {
		 background: rgba(255, 255, 255, 0.9);
	}
	.leftimg {
    float:left; /* Выравнивание по левому краю */
    margin: 7px 7px 7px 0; /* Отступы вокруг картинки */
   }
   .rightimg  {
    float: right; /* Выравнивание по правому краю  */ 
    margin: 7px 0 7px 7px; /* Отступы вокруг картинки */
   }
	#thumbs { padding-top: 10px; overflow: hidden; }
#thumbs img, #largeImage {
    border: 1px solid gray;
    padding: 4px;
    background-color: white;
    cursor: pointer;
}
#thumbs img {
    float: left;
    margin-right: 6px;
}
#description {
    background: black;
    color: white;
    position: absolute;
    bottom: 0;
    padding: 10px 20px;
    width: 525px;
    margin: 5px;
}
#panel { position: relative; }