body {
overflow: auto;
overflow-x: hidden;
	color: #505050;
	font-family: "Open Sans", sans-serif;
letter-spacing: 0.1em;

/*background-color: #c0c0c0;*/
	font-weight: 700;
	font-size: 0.9em;
	line-height: 1.8;	
}




.nav .logo {
  position: fixed;
  text-align: left;
  z-index: 2;
  top: 0;
  overflow: hidden;

}

#slideshow {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  width:100%;
  height:100%;
  display: inline-block;

  height: 100%;
 background: url("files/fabrica1921-2022.jpg") no-repeat center center;
  background-size: cover; width: 100%; height:100vh;  border-bottom: 1px solid #000;
  
    border-bottom: 1px solid #000;
}



#alerta {
  
  position: absolute;
top:0em;
left:20%;
right:20%;
z-index: 100000;
text-align: center;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #c0c0c0;
  color:white;
  border-radius:2px;
}
#toptop {
  
  position: absolute;
top:5em;
right:1em;
z-index: 100000;
text-align: center;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #fff;
  color:white;
  border-radius:2px solid #933;
  float:right;
}
#mn {
  
  position: relative;
  width:100%;
top:11.1em;
z-index: 1;
text-align: center;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

}


.elemnt,.elemnt1,.elemnt2{
position: absolute;
top:0px;
left: 0;
width: 100%;
background-repeat: no-repeat;
background-size: cover;
height: 100%;
height:100vh;
display: inline-block;
text-align: center;
}
span{
  border: 1px solid #000;
  border-radius: 3px;
  box-shadow: 0 0 5px 0 hsla(0,0%,30%, .3);
  font-size:4em;
  background-color:#fff;
}
.elemnt {
  animation: xfade 36s 8s infinite;
height: 100%;
  background: url("files/bg_cuftejo.jpg") no-repeat center center;
  background-size: cover; width: 100%; height:100vh; 
}
.elemnt1 {
  animation: xfade 16s 8s infinite;
   background: url("files/fabrica1921-2022.jpg") no-repeat center center;
  background-size: cover; width: 100%; height:100vh;
}
.elemnt2 {
  animation: xfade 16s 8s infinite;
   background: url("files/martinhal-2024.jpg") no-repeat center center;
  background-size: cover; width: 100%; height:100vh;
}



@keyframes xfade{
  17% {
    opacity:1;
  }
  25% {
    opacity:0;
  }
  92% {
    opacity:0;
  }
}
@keyframes xfade1{
  17% {
    opacity:1;
  }
  25% {
    opacity:0;
  }
  92% {
    opacity:0;
  }
}
@keyframes xfade2{
  17% {
    opacity:1;
  }
  25% {
    opacity:0;
  }
  92% {
    opacity:0;
  }
}
@keyframes xfade3{
  17% {
    opacity:1;
  }
  25% {
    opacity:0;
  }
  92% {
    opacity:0;
  }
}


header.smaller {
	height: 95px;
	
}

header.smaller h1.logo {
	width: 250px;
	height: 95px;
	line-height: 95px;
	font-size: 55px;
	margin: 0;
	
}

header.smaller nav a {
	line-height: 95px;
}

*,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#minimenu {
  float: none;
  position: fixed;
  top: 1em;
  right: 5em; 
  z-index:9999;

  	font-size: 1em;
}

#minimenu-small {
visibility: hidden;
}

#intro h1 {
  position: absolute;
  width: 80%;
  max-width: 80%;
  radius:5px;
  left: 50%;
  top:5em;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  color: #97341f;
  font-size: 0.3em;
 
  z-index: 1;  

  font-weight: 200;
  text-align: center;
  background-color: white;
  opacity: 0.9;
  padding:2em;
}

#int{
right: 5em;
  margin-top:2em;
  float: right;  color: #97341f;	
}
a {
	text-decoration: none;
	color: #000;
	font-weight: 300;
	padding:2px;

	
}

a:hover {
		color: #97341f;
			font-weight: 700;
			padding: 0.2em;
			border: 1px solid #c0c0c0;
			background-color: white;
			border-radius: 5px;	opacity: 1;
}

#wrapper {
	width: 100%;
	margin: 0 auto;
}

#main {

	padding-top: 150px;
  min-height:500px;
}

.container {
	width: 80%;
	margin: 0 auto;
	padding: 0 30px;


  background-size:cover;
  background-position: center;


}

.container-1 {
	width: 100%;
	margin: 0 auto;
	padding: 0 10px;

	


  background-size:cover;
  background-position: center;


}
.container-2 {
	width: 96%;
	margin: 0 auto;
	padding: 8em 10px;
	
    height: 100%;

  background-size:cover;
  background-position: center;

  height:100vh;
}
.container-3 {
	width: 96%;
	margin: 0 auto;
	padding: 8em 10px;
	


  background-size:cover;
  background-position: center;


}
.container-4 {
	width: 100%;
	margin: 0 auto;
	padding: 1em 30px 1em 30px;
	    height: 80%;


  background-size:cover;
  background-position: center;
  height:80vh;

}
.container-estuques {
	width: 90%;
	margin: 0 auto;
	padding: 8em 30px;
	


  background-size:cover;
  background-position: center;


}

#contactos {
	
  background: url(files/escrit.jpg) no-repeat center center;
  background-size:cover;
  background-position: right;
    border-bottom: 1px solid #c0c0c0;

}
#reabilita {
	

  background: url(files/cr7hotel.jpg) no-repeat center center;
  background-size:cover;
  background-position: center;
  border-bottom: 1px solid #000;

}

#obraspublicas {
	

  background: url(files/bg_ccb.jpg) no-repeat center center;
  background-size:cover;
  background-position: center;
  border-bottom: 1px solid #000;

}

#candidaturas {
	
  background: url(files/bg_candidat.jpg) no-repeat center center;
  background-size:cover;
  background-position: center;
  border-bottom: 1px solid #000;

}

#pinturas {
	
  background: url(files/pinturas.jpg) no-repeat center center;
  background-size:cover;
  background-position: center;

}
#tetos_falsos {
	
  background: url(files/tetos-falsos.jpg) no-repeat center center;
  background-size:cover;
  background-position: center;
  border-bottom: 1px solid #000;
}

#empreitadas {
	
  background: url(files/obra-scml.jpg) no-repeat center center;
  background-size:cover;
  background-position: top left;
  border-bottom: 1px solid #000;
}
#micro_cimentos {
	
  background: url(files/microcimentos.jpg) no-repeat center center;
  background-size:cover;
  background-position: center;
  border-bottom: 2px solid #000;
}

#quem_somos {
	
  background: url(files/bg4.jpg) no-repeat center center;
  background-size:cover;
  background-position: center;

}
#metodologias_de_trabalho {
	
  background: url(files/casa-bc.jpg) no-repeat center center;
  background-size:cover;
  background-position: center;

}
.destaque{
 color: #97341f;
 padding: 1em;
 font-size: 0.8em;
}

#rotating-item-wrapper {
	position: relative;
	width: 100%;
	height:600px;

}
.rotating-item {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
		width: 100%;
}

section {
	padding: 10px 0 10px 0;
	height: 100%;
}

section h1 {
	font-weight: 700;
	margin-bottom: 10px;
}

section p {
	margin-bottom: 30px;
	background-color: white;
	opacity: 0.8;
	padding:1em;
	border-radius:10px;
	
}

section p:last-child {
	margin-bottom: 0;
}

section.color {
	background-color: #f4f4f4;
}
section.colorwhite {
	background-color: #fff;
}

    .left {
        float: left;
        width: 49%;
    }
    .right {
        float: right;
        width: 50%;
        border-left: 0px solid #000;
    }

  /*  img {
        max-width: 100%;
        height: auto;
    }*/
    .group:after {
        content:"";
        display: table;
        clear: both;
    }

.bgblack{
	background-color: #505050;
	color: white;
}

#contact-wrap {

  font-weight:300;
  width: 100%;
  color:#fff;
	overflow:auto; 
float:left;
background-color: #fff; 
border-radius:10px;
margin-top:13px;
opacity:0.9;
}

#contact-area {
  margin-left:3px;
  color:#000;

  padding:20px;
}

#contact-area input, #contact-area textarea {
	padding: 5px;
	width: 100%;
  font-family: 'Lato', calibri, arial;
  font-size:18px;
  font-weight:300;
  color:#000;
      background-color:transparent;
      border-top: 1px solid transparent;
      border-left: 1px solid transparent;
  border-bottom: 1px solid #9c412e;
      border-right: 1px solid transparent;
  
  margin-bottom:15px;
}

#contact-area textarea {
	height: 150px;
        background-color:transparent;
  border-top: 1px solid transparent;
  border-left: 1px solid transparent;
  border-bottom: 1px solid #9c412e;
  border-right: 1px solid transparent;
  
}

#contact-area textarea:focus, #contact-area input:focus {
	        background-color: #737373;
	        color:#fff;
      border-top: 1px solid transparent;
      border-left: 1px solid transparent;
      border-bottom: 1px solid #fff;
      border-right: 1px solid transparent;
  
}

#contact-area input.submit-button {
  font-family: 'Lato', calibri, arial;
  font-size:18px;
  font-weight:300;
  text-transform:uppercase;
border-radius:10px;
	float: left;
  background-color:transparent;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
  
    	-moz-transition:all 0.1s ease-in-out;
	-webkit-transition:all 0.1s ease-in-out;
	-o-transition:all 0.1s ease-in-out;
	-ms-transition:all 0.1s ease-in-out;
	transition:all 0.1s ease-in-out;
}

#contact-area input.submit-button:hover {

  color:#fff;
  background-color:#333;
  cursor: pointer;

}

elabel {
	float: left;
	text-align: left;
	margin-right: 16px;
	width: 100px;
	padding-top: 5px;
  font-family: 'Lato', calibri, arial;
  font-size:18px;
  font-weight:300;
}



::-webkit-input-placeholder {
  color: #000;

  font-size:16px;
}

:-moz-placeholder { /* Firefox 18- */
  color: #000; 

  font-size:16px;
}

::-moz-placeholder {  /* Firefox 19+ */
  color: #000;

  font-size:16px;
}

:-ms-input-placeholder {  
   color: #000;  

  font-size:16px;
}





header {
	width: 100%;
	height: 11.5em;
	overflow: hidden;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
  border-bottom:solid 0.2em #000000; /* 0.5em #f4f4f4 */
	background-color: #fff;
	transition: height 0.3s;
	opacity: 0.9;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.footer {
	width: 100%;
color:#fff;
text-align:left;
font-size: 12px; 
	overflow: hidden;
	bottom: 0;
	left: 0;
	z-index: 999;
  border-top:solid 0em #f4f4f4;
	transition: height 0.3s;
	opacity: 0.9;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.footer2 {
		background-color: #fff;

}

.footer3 {
		background-color: #999;

}

#menu-sec{
	display: block;
  margin-left: auto;
  margin-right: auto;
	width: 100%;

background: rgba(255, 255, 255, 0.70);
  
  z-index: 3;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 text-align:center;
 padding:0.5em;
 padding-top:0.8em;
position:relative;
border-radius: 10px;
  
}


header h1#logo {
	display: block;
	line-height:3em;
   margin: 0;
   padding:0 1em;
 
	float: left;
	font-family: "Open Sans", sans-serif;
	font-size: 40px;
	color: #fcfcfc;
  text-shadow: 0.1em 0.03em #C0392B;
	font-weight: 400;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

header nav {
	display: inline-block;
	float: right;
}

header nav a {
	line-height: 150px;
	margin-left: 20px;
	color: #fcfcfc;
	font-weight: 300;
	font-size: 1em;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

header nav a:hover {
	color: #fd5559;
}

header.smaller {
	height: 110px;
}

header.smaller h1#logo {
	line-height: 95px;
	font-size: 30px;
}

header.smaller nav a {
	line-height: 95px;
}

footer {

	text-align: left;
height:100%;
   padding:2em;
   line-height: 15px;
	margin-left: 20px;
	margin-right: 20px;
	color: #fff;
	font-weight: 300;
	font-size: 0.5 em;

	transition: height 0.3s;
	opacity: 0.9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
   
}

footer  a {
	display: inline-block;
	margin: 0;
  text-decoration:underline;
}
footer div.col {
  width:20%;
  display:inline-block;
  vertical-align: top;
}
footer col a {
  display:block;
}

footer ul li a:hover {
	color: #fd5559;
}
footer ul li a {
    color: #bababa;  
}
footer div#copy {
  margin-top: 1em;
  padding:0;
}
footer div#copy a {
  color: #fd5559;  
}
footer div.container {
  position:relative;
  
}
footer ul{
  list-style:none;
  margin-top:2em;
  padding:0;
}
footer ul li {
  text-align:left;
  margin:0;
  padding:0;
}

.clearfix:after {
	visibility: hidden;
	display: block;
	content: "";
	clear: both;
	height: 0;
	
}

@media all and (max-width: 760px) {


#minimenu {
visibility: hidden;
}
#minimenu-small {
visibility: visible;
  float: none;
  position: fixed;
  top: 1em;
  right: 5em; 
  z-index:9999;

  	font-size: 1em;
}

.left, .right, .rightblack {
            float: none;
            width: auto;
        }

	header h1.logo {
		display: block;
		float: none;
		margin: 0 auto;
		height: 100px;     
		line-height: 50px;
		text-align: center;
	}

	header nav {
		display: block;
		float: none;
		height: 100px;
		text-align: center;
		margin: 0 auto;
	}

	header nav a {
		line-height: 50px;
		margin: 0 10px;
	}

	header.smaller {
		height: 110px;
	}

	header.smaller h1#logo {
		height: 60px;
		line-height: 60px;
		font-size: 30px;
     width:100%;
	}

	header.smaller nav {
		height: 35px;
	}

	header.smaller nav a {
		line-height: 35px;
	}
  footer div.col {
    width:100%;
    display:inline-block;
    vertical-align: top;
  }
  footer ul li {
    display:inline-block;
    margin:0 0.5em;
    float:left;
  }
#int{
display:none;	
}
}

@media all and (max-width: 600px) {
	.container {
		width: 100%;

	}

	footer a {
		display: block;
	}
	#toptop {
  
  position: absolute;
top:0em;
right:0em;
z-index: 100000;
text-align: center;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #fff;
  color:white;
  border-radius:2px solid #933;
  float:right;
}
}





/* Base for label styling */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
  position: absolute;
  left: -9999px;
}
[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label {
  position: relative;
  padding-left: 1.95em;
  cursor: pointer;
}

/* checkbox aspect */
[type="checkbox"]:not(:checked) + label:before,
[type="checkbox"]:checked + label:before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 1.25em; height: 1.25em;
  border: 2px solid #ccc;
  background: #fff;
  border-radius: 4px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.1);
}
/* checked mark aspect */
[type="checkbox"]:not(:checked) + label:after,
[type="checkbox"]:checked + label:after {
  content: '?';
  position: absolute;
  top: .2em; left: .275em;
  font-size: 1.4em;
  line-height: 0.8;
  color: #09ad7e;
  transition: all .2s;
  font-family: Helvetica, Arial, sans-serif;
}
/* checked mark aspect changes */
[type="checkbox"]:not(:checked) + label:after {
  opacity: 0;
  transform: scale(0);
}
[type="checkbox"]:checked + label:after {
  opacity: 1;
  transform: scale(1);
}
/* disabled checkbox */
[type="checkbox"]:disabled:not(:checked) + label:before,
[type="checkbox"]:disabled:checked + label:before {
  box-shadow: none;
  border-color: #bbb;
  background-color: #ddd;
}
[type="checkbox"]:disabled:checked + label:after {
  color: #999;
}
[type="checkbox"]:disabled + label {
  color: #aaa;
}
/* accessibility */
[type="checkbox"]:checked:focus + label:before,
[type="checkbox"]:not(:checked):focus + label:before {
  border: 2px dotted blue;
}

/* hover style just for information */
label:hover:before {
  border: 2px solid #4778d9!important;
}
