body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image: url(../images/casa-trancoso-bg.jpg);
	background-repeat: repeat;
	background-color: #27140d;
}
#wrapper {
	text-align: left;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	width: 990px;
}
#header {
	margin-bottom: 12px;
	position: absolute;
	z-index: 1;
	top: 0px;
}
#content {
    margin-top: 500px;
    position: absolute;
    z-index: 0;
    top: 23px;
    height: 985px;
    left: 229px;
}
#localizacao{
	position: absolute;
	align: left;
	top: 154px;
	left: 16px;
	width: 990px;
	height: 1275px;
}
#qualidadetrancoso{
    position: absolute;
    width: 981px;
    height: 318px;
    left: 0px;
    top: 140px;
}
#qualidadetrancosotext{
	position:absolute;
	width:913px;
	height:133px;
	left: 32px;
	top: 177px;
}
#textmenu{
	margin-bottom: 12px;
	position: absolute;
	align: left;
	z-index: 1;
	top: 101px;
	left: 202px;
	width: 463px;
}
#apDiv1 {
	position:absolute;
	left:0px;
	top:35px;
	width:100%;
	height:500px;
}
#idiomas{
	margin-bottom: 12px;
	position: absolute;
	align: right;
	z-index: 1;
	top: 17px;
	left: 729px;
	width: 409px;
}
body,td,th {
	color: #FFFFFF;
	font-family:  sans-serif;
}
a:link {
	color: #FFFFFF;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #FFFFFF;
}
a:hover {
	text-decoration: none;

}
a:active {
	text-decoration: none;
	color: #FFFFFF;
}
.style4 {font-size: 14px}
.style7 {font-size: 12px}
.style28 {color: #4CB7CD}
input[type="text"]
{
    border: 0;
    border-bottom: 1px solid white;
    outline: 0;
}
input[type="Menu"]
{
    border: 0;
    border-bottom: 1px solid white;
    outline: 0;
}
#apDiv2 {
    position: absolute;
    width: 988px;
    height: 218px;
    z-index: 2;
    left: -5px;
    top: 566px;
}
#apDiv3 {
	position:absolute;
	width:457px;
	height:74px;
	z-index:1;
	top: 15px;
	left: 0px;
}
#apDiv4 {
	position:absolute;
	width:200px;
	height:38px;
	z-index:2;
	left: 358px;
	top: 39px;
}
#apDiv5 {
	position:absolute;
	width:129px;
	height:107px;
	z-index:3;
	left: 848px;
	top: 37px;
}
#apDiv6 {
	position:absolute;
	width:984px;
	height:143px;
	z-index:4;
	left: 5px;
	top: 183px;
}
#apDiv7 {
	position:absolute;
	width:546px;
	height:16px;
	z-index:2;
	left: 391px;
	top: 20px;
}

.mytext {
  width: 293px;
}
#apDiv12 {
	position:absolute;
	width:967px;
	height:83px;
	z-index:2;
	top: 12px;
	left: 7px;
}

#apDiv16 {
	position:absolute;
	width:173px;
	height:109px;
	z-index:5;
	left: 655px;
	top: 40px;
}
#apDiv15 {
	position:absolute;
	width:172px;
	height:151px;
	z-index:2;
	left: 20px;
	top: 3px;
}
#apDiv8 {
	position:absolute;
	width:968px;
	height:514px;
	z-index:2;
	left: 0px;
	top: 128px;
}
#apDiv9 {
	position:absolute;
	width:200px;
	height:115px;
	z-index:3;
}
#apDiv10 {
	position:absolute;
	width:309px;
	height:48px;
	z-index:2;
	left: -26px;
	top: 14px;
}
#apDiv11 {
	position:absolute;
	width:200px;
	height:48px;
	z-index:2;
	left: -15px;
	top: 862px;
}
#apDiv13 {
	position:absolute;
	width:436px;
	height:299px;
	z-index:2;
	left: 30px;
	top: 796px;
}
#apDiv14 {
	position:absolute;
	width:615px;
	height:64px;
	z-index:2;
	left: 31px;
	top: 1350px;
}
#apDiv17 {
	position:absolute;
	width:436px;
	height:299px;
	z-index:2;
	left: 497px;
	top: 924px;
}
#apDiv18 {
	position:absolute;
	width:431px;
	height:90px;
	z-index:2;
	left: 33px;
	top: 1224px;
}
.under-video {
  padding: 2px 10px;
   background-image:url(../images/casa-trancoso-bg.jpg);	
}
#apDiv19 {
	position:absolute;
	width:430px;
	height:94px;
	z-index:2;
	left: 500px;
	top: 1223px;
}
.navbar {
    overflow: hidden;
  width: 800px;
  height: 20px;
}

.navbar a {
  float: left;
  font-size: 14px;
  color: white;
  text-align: center;
  padding: 2px 16px;
}

.subnav {
  float: left;
  overflow: hidden;
}

.subnav .subnavbtn {
  font-size: 14px;  
  border: none;
  outline: none;
  color: white;
  padding: 1px 16px;
  background-color: inherit;
  margin: 0;
}

.navbar a:hover, .subnav:hover .subnavbtn {
   background-color: #a32403;
}

.subnav-content {
  display: none;
  position: absolute;
  margin-left: -198px;
  background-image:url(../images/casa-trancoso-bg.jpg);
  width: 968px;
}
.subnav-text {
  width: 740px;
}
.subnav-content a {
  float: none;
  color: white;
  padding: 8px 15px;
  display: block;
  text-align: left;
}

.subnav-content a:hover {
   background-color: #3B2314;
}
.subnav-content2 a {
  color: white;
  padding: 0px 0px;
  width: 180px;
}

.subnav-content2 a:hover {
   background-color: #3B2314;
  padding: 0 2px;
}

.subnav:hover2 .subnav-content {
  display: block;
   
}

.subnav:hover .subnav-content {
  display: block;
}
.grid-container {
  margin-top: 30px;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  grid-column-gap: 5px;
  grid-gap: 0px;
  padding: 10px;
}
.grid-container2 {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-column-gap: 40px;
  grid-gap: 20px;
  padding: 10px;
}

.grid-container > div {
  text-align: center;
}
.under {
  height:21px;
  text-align: center;
  width:160px;
  background-image:url(../images/under.png);
}
.under2 {
  height:21px;
  text-align: center;
  width:300px;
  background-image:url(../images/under.png);
}
.btn {
  background-color: #ddd;
  border: none;
  color: black;
  padding: 8px 15px;
  text-align: center;
  font-size: 14px;
  margin: 2px 1px;
  transition: 0.3s;
}

.btn:hover {
  background-color: #3e8e41;
  color: white;
}
#apDiv20 {
	position:absolute;
	width:950px;
	height:115px;
	z-index:2;
	left: 8px;
	top: 63px;
}
figure {
	width: 302px;
	height: 239px;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
figure:hover31 {
	bottom: -36px;
	opacity: 1;
}

.hover31 figure:hover img {
	opacity: 1;
	-webkit-animation: flash 1.5s;
	animation: flash 1.5s;
}
@-webkit-keyframes flash {
	0% {
		opacity: .4;
	}
	100% {
		opacity: 1;
	}
}
@keyframes flash {
	0% {
		opacity: .4;
	}
	100% {
		opacity: 1;
	}
}

.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
    position: relative;
    margin: auto;
	left:0px;
	width:100%;
	height:540px;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 30px;
  border-radius: 3px 0 0 3px;
}
.prev {
  left: 30px;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: #251E19;
  color:#4EB8CD;
}

/* Caption text */
.text2 {
  color: #f2f2f2;
  font-size: 25px;
  padding: 8px 12px;
  position: absolute;
  bottom: 142px;
  text-shadow: 1px 1px 1px rgba(60, 60, 60, 1);
  left: 200px;
}
.text {
  color: #f2f2f2;
  font-size: 16px;
  padding: 8px 12px;
  position: absolute;
  bottom: 105px;
  text-shadow: 1px 1px 1px rgba(60, 60, 60, 1);
  left: 200px;
}
.link {
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 70px;
  left: 200px;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}
.btn {
  background-color: #4EB8CD;
  border: none;
  padding: 4px 10px;
  text-align: center;
  font-size: 14px;
  margin: 2px 1px;
  transition: 0.3s;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
}

.btn:hover {
  background-color: #B51C24;
  color: #4EB8CD;
}
.style41 {
	font-size: 18px
}
#apDiv21 {
    position: absolute;
    width: 722px;
    height: 89px;
    z-index: 2;
    top: 8px;
    left: 119px;
    text-shadow: 1px 1px 1px rgba(60, 60, 60, 1);
}
.style45 {font-size: 16px}
</style>
