html {
  scroll-behavior: smooth;
}

body {
	background: #fff;
	text-align: center;
	font-family: 'Lato', Arial,  Trebuchet MS, Verdana, Georgia;
	margin: 0px;
	padding: 0px;
	font-size: 18px;
	color: #000;
	}	
	
.header {
  display: flex;
  align-items: center;
  justify-content: center;
	width: 100%;
	height: 150px;
	  position: -webkit-sticky; /* for Safari */
	  position: sticky;
	  top: 0px;
	  align-self: flex-start; /* <-- this is the fix */
	  background: #fff;
  transition: all 0.3s;
	  
	z-index: 9998;
	border-bottom: 1px solid #2f3766;
}

.header-small {
  display: flex;
  align-items: center;
  justify-content: center;
	width: 100%;
	height: 75px;
	  position: -webkit-sticky; /* for Safari */
	  position: sticky;
	  top: 0px;
	  align-self: flex-start; /* <-- this is the fix */
	  background: #fff;
  transition: all 0.3s;
	  
	z-index: 9998;
	border-bottom: 1px solid #2f3766;
}

#logo {
	max-width: 463px;
	height: 100%;
	}
	
#logo img {
	height: 100%;
	}

	
#menu {
	width: 100%;
	top: 0px;
	}
	
#menu ul {
	width: 100%;
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	}
	
#menu li {
	height: 40px;
	line-height: 40px;
	display: inline-block;
	padding-left: 10px;
	padding-right: 10px;
	}
	
#menu li:hover {
	background: #1b224c;
	color: #fff;
	border-radius: 10px 10px 10px 10px;
-moz-border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;
	}
	
#menu a {
	color: #2f3766;
	text-decoration: none;
	font-weight: bold;
	margin: 0px;
	padding: 0px;
	font-size: 16px;
	}
	
#content {
	max-width: 1100px;
	padding: 20px;
	margin: auto;
	}
	
.slideshow {
	width: 100%;
	max-height: 600px;
	display: inline-block;
	}
	
.slideshow2 {
	width: 100%;
	height: 600px;
	display: inline-block;
	}
	
.slideshow img{
	background-size: cover;
	}
	
#content2 {
	width: 100%;
	height: 600px;
	background-image: url('files/bg.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 45%;
	}
	
#box {
	width: 600px;
	height: 600px;
	background: rgba(255, 255, 255, 0.8) ;
	margin-left: 50px;
	}
	
#box h1 {
	margin: 0px;
	padding-top: 20px;
	}
	
.content3-wrapper {
	width: 100%;
	background: #ececec;
	}
	
.content3 {
	max-width: 1100px;
	padding: 20px;
	margin: auto;
	overflow: hidden;
	}
	
.content3 p {
	font-size: 20px;
	line-height: 40px;
	}
	
.content4 p {
	font-size: 20px;
	line-height: 40px;
	text-align: justify;
	}
	
.divider {
	width: 80px;
	height: 3px;
	background: #a6a6a6;
	margin: auto;
	}
	
.content4-wrapper {
	width: 100%;
	background: #fff;
	}
	
.content4 {
	max-width: 1100px;
	padding: 20px;
	margin: auto;
	overflow: hidden;
	}
	
.oferta img {
	max-width: 500px;
	max-height: 180px;
	margin-bottom: 20px;
	margin-left: 40px;
	}
	
.foto {
	width: 300px;
	height: 200px;
	display: inline-block;
	padding: 5px;
	margin: 5px;
	text-align: left;
	}
	
.foto img {
	border: 1px solid #2f3766;
	padding: 5px;
	}
	
.contact-wrapper {
	display: inline-block;
	width: 33%;
	height: 80px;
	margin-bottom: 30px;
	clear: both;
	vertical-align: middle;
	}
	
.contact-left {
	display: inline-block;
	width: 100px;
	height: 100%;
	vertical-align: middle;
	position: relative;
	border-right: 1px solid #c6cba2;
	}
	
.contact-left img {
	position: absolute;
   margin: auto;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
	}
	
.contact-right {
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-left: 20px;
	text-align: left;
	}
	
.contact-right h2 {
	margin: 0px;
	padding: 5px;
	text-align:left;
	}
	
#mapa {
	width: 100%;
	height: 400px;
	}
	
#mapa2 {
	width: 100%;
	height: 400px;
	}
	
.mebel {
	display: inline-block;
	width: 260px;
	text-align: center;
	border: 1px solid #808080;
	padding: 10px;
	margin: 10px;
	background: #fff;
	}
	
.mebel img {
	width: 260px;
	height: 167px;
	}
	
.mebel a {
	color: black;
	text-decoration: none;
	}
	
a.anchor {
    display: block;
    position: relative;
    top: -70px;
    visibility: hidden;
}

.flex-container {
  display: flex;
}

.flex-container > div {
  margin: 10px;
  padding: 20px;
  width: 50%;
  text-align: left;
}

.flex-container li {
  padding: 5px;
}


#menu3 {
	display: none;
	}


	
@media (max-width: 1020px)  {

.contact-wrapper {
	display: block;
	min-width: 250px;
	margin: auto;
	margin-bottom: 20px;
	}
	
.contact-left {
	width: 20%;
	}	
	
.contact-right {
	width: 70%;
	}	

@media (max-width: 890px)  {

.header {
	display: block;
	width: 100%;
	height: auto;
	  position: -webkit-sticky; /* for Safari */
	  position: sticky;
	  top: 0px;
	  align-self: flex-start; /* <-- this is the fix */
	  background: #fff;
  transition: none;
	  
	z-index: 9998;
	border-bottom: 1px solid #2f3766;
}

.header-small {
	display: block;
	width: 100%;
	height: auto;
	  position: -webkit-sticky; /* for Safari */
	  position: sticky;
	  top: 0px;
	  align-self: flex-start; /* <-- this is the fix */
	  background: #fff;
  transition: none;
	  
	z-index: 9998;
	border-bottom: 1px solid #2f3766;
}

#logo {
	text-align: left;
	}

#logo img {
	width: 80%;
	height: auto;
	}
	
#menu3 {
	width: 52px;
	height: 52px;
	display: block;
	position: fixed;
	right: 10px;
	top: 10px;
	}
	
#menu {
	display: none;
	}
	
.flex-container {
  display: flex;
  flex-wrap: wrap;
}

.flex-container > div {
  margin: 10px;
  padding: 20px;
  width: auto;
  text-align: left;
}

a.anchor {
    display: block;
    position: relative;
    top: -120px;
    visibility: hidden;
}
	
	}	