body {
	font-family: Verdana, Arial,Nimbus Sans,sans-serif;
	font-size: 1.1em; margin: auto; 
   height: 100%;
   background-color: #000;
   color: #fff;
}
      
  
#wrapper2 {
  width: 90%;
  background: url(misc/back.jpg) no-repeat top center; opacity:0.2; min-height:1000px; 
  position: absolute; top: 0; 
  z-index: -1;
  border-bottom-right-radius: 90px;
  padding: 11em 10px 0 10px;
}


@media (max-width:500px){
body { 
margin: auto;
width: 100%;
	}
#nav1 {visibility: hidden;}	
}

@media (min-width:500px){
.topnav {visibility: hidden;}
}


.topnav {
  float: right;
  overflow: hidden;
  background-color: #2a2529;
  position: absolute; right: 0; top: 0; 
  width: auto;
 }

.topnav #myLinks {
  display: none;
}

.topnav a {
  color: white;
  padding: 18px 18px;
  text-decoration: none;
  font-size: 17px;
  display: block;
}

.topnav a.icon {
  background: black;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

.topnav a:hover {
  background-color: #505457;
  color: black;
}

.active {
  background-color: #000;
  color: white;
}

.wrapper{ margin:auto; }

.indent {margin: 0 1em 0 1em;
text-align: justify;}

#headerc { position: absolute;left: 0; top: 0;
  background:  #000 url(misc/logo/logom500.jpg) center center no-repeat;
  display:flex;   text-align: center; /* required for multiple lines text */ 
  justify-content: center;
  height: 150px;
  width: 100%; 
  color:#333;  line-height: 1.2;
  align-items: center; 
  font-family: script; src: url(bellota.otf);   font-size: 3em; 
  text-shadow: 3px 3px  4px #FFFFF0;
  }


.gallery {
	display: flex;
	text-align: left;
	align-items: center;
	height: 25%;
	margin-bottom: 2em;
}


.flexa, .flexb, .flexc {
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	margin: auto; 
	height: 30rem;
	width: 30%;
   /* 400px / 16 =25rem */
}

.flexa img { 
margin: 0.4em;
filter: drop-shadow(0.35rem 0.35rem 1em rgba(0, 0, 0, 0.7));
border-radius: 10%;}

.flexc img { 
margin: 0.4em;
width: 150px;
height: 150px;
border-radius: 50%;}


.flexd {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: space-around;
	height: auto;
	}
.flexd img { width: 400px;  height: 300px;
margin: 0.5em;}

.flexe {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: space-around;
	}

.flexitem{
margin: 0 0.5em 2em 0.5em;
width: 140px;
height: 190px;	
border-image-source: url(fs190.png);
border-image-outset: 7px;
}

.flexitem img { border-radius: 1em; }

.flextest{
border-image: 
}

.flexname{
position: relative;
width: 140px;
height: 20px;	
/*font-family:script;  font-size: 1.2em;*/
/* text-shadow: 3px 3px 4px black; */
}


.dshadow { filter: drop-shadow(0.35rem 0.35rem 1em rgba(0, 0, 0, 0.7));}
}

.rota {
  font-size: 18px;
  background-color: beige;
  border-collapse: collapse;
      }
  
  .rota td {
  padding: 3px 10px 3px 10px;
  border-collapse: collapse;
  border: 2px solid #000;
     }

/*.td1 {
    border: 1px solid #000;
   }*/

.rota th {	border: 2px solid #000; }

.gothbg {
margin-left: auto;
margin-right: auto;	
text-align: center;
}


.gothbg1 {
	display: flex;
	justify-content: space-around; 
	}	
	
#headergold .tr{
float: right;
font-family:script; color: #eacc7f; font-size: 25px;
}


/* all media rules */
@media screen and (min-width: 100px) and (max-width:600px){
body { width: 100%; font-size: 1em; }
#wrapper2{ width: 100%;}
#nav1 {visibility: hidden;}
.topnav {visibility: visible;}		
#headergold { background: url(misc/logo320.png) no-repeat center center; height: 100px;} 
#headergold > .script_gold_sm, .tr {display:none; } //descendant selector
.flexa, .flexb, .flexc { width: 100%;}
.flexb, .flexc {height: auto;}
.flexc img {margin: 0.2em;}
}

/*@media screen and (min-width: 501px) and (max-width:600px){
.flexa, .flexb { width: 45%;}
.flexb {margin-right: -1em;}
.flexc {width: 100%; height: auto;}
.name2 { visibility: hidden;}
}*/

@media screen and (min-width: 601px) and (max-width:686px){
body { width: 100%; font-size: 1em; }
#wrapper2{ width: 100%;}
#nav1 {visibility: hidden;}	
#headergold { background: url(misc/kmrlogo600.png) no-repeat center center; height: 100px;} 
#headergold > .script_gold_sm, .tr {display:none; }
#nav1 {visibility: hidden;}	
.topnav {visibility: visible;}	
.galleryd { margin-top: 5em;}
.flexa, .flexb {width: 35%;}
.flexa { margin: 0 3em 0 0;}
.flexc {width: 100%; height: auto;}
.name1 { visibility: hidden;}
} 

@media screen and (min-width: 687px) and (max-width:1980px){
#headergold {height: 150px; background: url(misc/kmrgold.png) no-repeat center center;} 
.topnav {visibility: hidden;}	
#headerc { background: url(misc/logo/logom1200.jpg) center center; }
.flexitem { width: 160px; height: 210px;}	
.flexitem img {width: 105%; height: auto;}
.flexc, .c { 
/*background-color: cyan;*/
width: 100%;}
.name1 { visibility: hidden;}
#footer {background: url(towel800f.jpg) center top no-repeat;}
}


.scale {
display: block;
margin: auto;
max-width: 90%;
padding: 1em;
}


.content {
margin: auto;
margin-top: 1em;
/*background-color: #e9e8e6;*/
background: beige; 
width: 75%;
border-radius: 20px;
padding: 1em;
}

.shadow { font-size: 30px; color: #ff11b3; padding: 20px 0; text-shadow: 3px 3px 4px black }

@font-face /* user specified font in url */
{ font-family: script; src: url(misc/amadeus.ttf); }
.script { font-family:script; color: #000; font-size: 40px }

.script_gold { font-family:script; color: #eacc7f; font-size: 40px }
.script_red_sm { font-family:script; color: red; font-size: 25px }
.script_gold_med { font-family:script; color: #eacc7f; font-size: 30px }
.script_gold_sm { font-family:script; color: #eacc7f; font-size: 25px }
.script_sm  { font-family:script; color: #262626; font-size: 30px }


@media (max-width:600px){
#nav1 li { 
position: relative; top: -20px; left: -20px;
	}
}

.topnav #myLinks {  display: none; }


#nav1 {
	margin: 0 0 0 4em;
	text-align: center;
	position: absolute; top: 170px; 
	width: 70%;
	color: white;
	font-size: 1.3em;
	/*vertical-align: middle;*/
	height: 32px;
	border-bottom: 2px solid black;
		}

#nav1 li {
	position: relative; top: -20px;
	list-style-type: none;
	display: inline;
	text-align: center;
	padding-left: 4px;
	padding-right: 4px;
		}	


#nav1 a:link, #nav1 a:visited {
  text-decoration: none;
  color: white;
}

#nav1 a:hover, #nav1 a:focus {
color: #eacc7f;
}

.rotabg {margin: auto;
margin-top: 1em;
background: #111; opacity: 0.8;
width: 75%; border-radius: 20px;
padding: 1em;}
