/*====================================================================================
GENERAL STYLES
=====================================================================================*/

body, html {
    margin: 0px; 
    padding: 0px;
    height: 100%;
    width: 100%;
    background: url('../images/stardust-white.jpg');     
    text-align: center;
    image-rendering: optimizequality;
    vertical-align: top;
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box
}




/*----------------------- EXTRAS -------------------------*/

* {
    margin: 0;
    padding: 0;
}

a {
    background: transparent;
    text-decoration: none;
    color: inherit;
    outline: 0;
}

/*----------------------- REMOVES OUTLINE FROM FOCUS AREAS -------------------------*/

*:focus {
    outline: 0;
}


/*----------------------- REMOVES IMAGE LINKS DOTTED OUTLINE -----------------------*/

img {
    border: 0px none;
}


/*------------------- REMOVES LINKS DOTTED OUTLINE IN FIREFOX ----------------------*/

input::-moz-focus-inner { 
  border: 0px none; 
}


/*------------------- REMOVES IE SCROLL BAR FROM FORM TEXT AREA ----------------------*/

textarea { overflow: auto; }


/*------------------- REMOVES BLUE HIGHLIGHT OVER IMG WHEN CLICKED ----------------------*/

img {
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
}


/*
====================================================================================
SECTIONS
====================================================================================
*/

#body-wrapper {
    width: 1130px;
    height: auto;
    margin: 0 auto;
}

section {
    width: 1100px;
    height: auto;
    margin: 0 auto;
    display: table;
}

.title-bg-stripe {
    width: 100%;
    height: 69px;   
    background: url('../images/title-bg.png') no-repeat right top;
}



/*
====================================================================================
HEADER
====================================================================================
*/


.contact-link {
    position: absolute;
    top: 20px;
    left:50%;
    margin-left: 450px;
    width: 92px;
    height: 30px;
}


header {
    width: 1101px;
    height: 163px;
    background: url('../images/header.png') no-repeat left top;
    margin: 30px auto 50px auto;
    display: table;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    color: white;
    font-size: 22px;
    letter-spacing: 1px;

}

header ul {
    padding-top: 72px;
}

header ul span {
    position:absolute;
    display:block;
    top:0;
    left:0;
    height:100%;
    width:100%;
    background:url('../images/text-texture-3.png');
}

.menu-left {
    display: table-cell;
    width: 418px;
    text-align: right;    
}

.menu-left ul li {
    display: inline-block;
    list-style: none;
    padding-right: 68px;
    position:relative;
}

.menu-logo {
    display: table-cell;
    width: 265px;
}

.menu-right {
    display: table-cell;
    width: 418px;
    text-align: left;
}

.menu-right ul li {
    display: inline-block;
    list-style: none;
    padding-left: 52px;
    position:relative;
}

.scroll { cursor: pointer }

header ul li a:hover {
	color: #d8bf83;
	-webkit-transition: color 0.2s ease-out;
    -moz-transition: color 0.2s ease-out;
    -o-transition: color 0.2s ease-out;
    transition: color 0.2s ease-out;      
}


/*
====================================================================================
TEXT
====================================================================================
*/

h1 {
    position:relative;
    color:#d8bf83;
    font-family: "Oswald", serif;
    font-weight: 700;
    font-size: 40px;
    text-align: left;
    line-height: 69px;
    padding-left: 20px;
    width: 400px; /*this contains text bg*/
    }

h1 span {
    position:absolute;
    display:block;
    top:0;
    left:0;
    height:100%;
    width:100%;
    background:url('../images/text-texture1.png') repeat-x left center;
} 


p {
    font-family: "Quattrocento", sans-serif;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    color: black;
    font-size: 18px;
}

p span {
    font-family: "Quattrocento", sans-serif;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    color: black;
    font-size: 22px;
}





/* 
====================================================================================
EMPRESA 1
====================================================================================
*/

.empresa {
    background: url('../images/carvao-melro-hero-01.jpg') left top no-repeat;
    padding-top: 620px;
}


.empresa-table1 {
    display: table;
    margin-bottom: 40px;
}

.empresa-cell-1 {
    display: table-cell;
    width: 320px;
    height: auto;
    vertical-align: bottom;
}

.empresa-cell-2 {
    display: table-cell;
    width: 781px;
    height: auto;
    vertical-align: bottom;
    padding-left: 50px;
}

.empresa p {
    padding-top: 20px;
}


/* 
====================================================================================
EMPRESA 2
====================================================================================
*/

.empresa-table2 {
    display: table;
    margin-bottom: 30px;
}

.empresa-cell-1b {
    display: table-cell;
    width: 773px;
    height: auto;
    vertical-align: bottom;
}

.empresa-cell-2b {
    display: table-cell;
    width: 327px;
    height: auto;
    vertical-align: middle;
    
}



.empresa h2 {
    position: relative;
    text-align: left;
    display: table;
    margin: 0 auto;

    color:#000;
    font-family: "Oswald", serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 35px;
}


.empresa h2 span {
    position:absolute;
    display:block;
    top:0;
    left:0;
    height:100%;
    width:100%;
    background:url('../images/text-texture-2.png');
}

hr.empresa-h2 {height: 3px; border:none; color:#000; background-color:#000; margin: 10px 0;}




  


/*
====================================================================================
PRODUTOS
====================================================================================
*/

.produtos {
    margin-bottom: 40px;
}

.tipos-de-carvao-wrapper {
    margin-top: 40px;
}

.tipos-de-carvao-container {
    display: table;
    width: 100%;
    height: 470px;
}
.oliverira-left {
    display: table-cell;
    width: 630px;
    height: 100%;
    vertical-align: middle;
}
.oliverira-right {
    display: table-cell;
    width: 470px;
    height: 100%;
    vertical-align: middle;
}

.sobreiro-right {
    display: table-cell;
    width: 630px;
    height: 100%;
    vertical-align: middle;
}
.sobreiro-left {
    display: table-cell;
    width: 470px;
    height: 100%;
    vertical-align: middle;
}

.eucalipto-left {
    display: table-cell;
    width: 630px;
    height: 100%;
    vertical-align: middle;
}
.eucalipto-right {
    display: table-cell;
    width: 470px;
    height: 100%;
    vertical-align: middle;
}

.azinho-right {
    display: table-cell;
    width: 630px;
    height: 100%;
    vertical-align: middle;
}
.azinho-left {
    display: table-cell;
    width: 470px;
    height: 100%;
    vertical-align: middle;
}

hr.simple {height:3px; border:none; color:#000; background-color:#000; margin: 20px auto; width: 1100px;}

hr.headline {height: 2px; border:none; color:#000; background-color:#000; margin: -10px auto 0 auto;}

.produtos h2 {
    position: relative;
    text-align: center;
    display: table;
    margin: -10px auto 0 auto;

    color:#000;
    font-family: "Oswald", serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
}

.produtos h2 span {
    position:absolute;
    display:block;
    top:0;
    left:0;
    height:100%;
    width:100%;
    background:url('../images/text-texture-2.png');
}

small {
    font-size: 20px;
}





/*
====================================================================================
EMBALAGENS
====================================================================================
*/

.embalagens-container {
    margin: 40px 0 40px 0;
    width: 100%;
    height: 715px;
    background: url('../images/sacos-de-carvao.jpg');
    display: table;
    vertical-align: bottom;
}

.embalagens-container2 {
    display: table-cell;
    vertical-align: bottom;
}

.embalagens-container h3 {
    font-family: "Quattrocento", sans-serif;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    color: white;
    font-size: 26px;
    margin: 0 0 20px -20px;

}




/*
====================================================================================
ENTREGAS
====================================================================================
*/

.entregas-container {
    display: table;
    margin: 60px 0 60px 0;
}

.entregas-left {
    dislpay: table-cell;
    width: 618px;
    height: auto;
    vertical-align: top;
}  
    
.entregas-right {
    display: table-cell;
    width: 383px;
    height: auto;
    vertical-align: middle;
}

.entregas h2 {
    position: relative;
    color:#000;
    font-family: "Oswald", serif;
    font-weight: 700;
    font-size: 40px;
    text-align: left;
    line-height: 69px;
    padding-left: 60px;
    width: 400px; /*this contains text bg*/
    }
.entregas h2 span {
    position:absolute;
    display:block;
    top:0;
    left:0;
    height:100%;
    width:100%;
    background:url('../images/text-texture-2.png');
}

.entregas h3 {
    font-family: "Quattrocento", sans-serif;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    color: black;
    font-size: 22px;
    padding-left: 60px;
}




/*
====================================================================================
CONTACTOS
====================================================================================
*/


.form-buffer {
width: 100%;
    height: 40px;
}



/* FORM
====================================================================================
*/

input, textarea, select, button {
  width : 100%;
  margin: 0;

  -webkit-box-sizing: border-box; /* For legacy WebKit based browsers */
     -moz-box-sizing: border-box; /* For all Gecko based browsers */
          box-sizing: border-box;
}


.input-area {
    padding: 0px 0px 25px 0px; 
    clear: left; 
    margin: 0;
}

input:required {
    box-shadow:none;
}
input:invalid {
    box-shadow:none;
}
input:focus {
    box-shadow:none;
    box-shadow:inset 0 0 4px 0 #c9c9c9;
   -moz-box-shadow:inset 0 0 4px 0 #c9c9c9;
   -wevkit-box-shadow:inset 0 0 4px 0 #c9c9c9;
}

textarea {
    width: 100%;
    height: 200px;
}
textarea:required {
    box-shadow:none;
}
textarea:invalid {
    box-shadow:none;
}
textarea:focus {
    box-shadow:none;
    box-shadow:inset 0 0 4px 0 #c9c9c9;
   -moz-box-shadow:inset 0 0 4px 0 #c9c9c9;
   -wevkit-box-shadow:inset 0 0 4px 0 #c9c9c9;
}

#submit {
    cursor:pointer;
    border: 0px none; 
    padding: 0;
    color: #fff; 
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size:26px;
    line-height: 2.5;
    background:url('../images/submit-bg.jpg') top left;
    opacity: 0.7;
    -webkit-transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    -o-transition: opacity 0.5s
}

#submit:hover {
    opacity: 1;
    -webkit-transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
}

.form-text {
    font-family: Arial; 
    font-size: 18px;  
    color: #000; 
    background:url('../images/input-bg.jpg') top left; 
    border: 0px; 
    padding: 20px 20px;

}

.form-text2 {
    font-family: Arial; 
    font-size: 18px; 
    line-height: 2; 
    color: #000; 
    background:url('../images/input-bg.jpg') top left; 
    border: 0px; 
    padding: 10px 20px;
}




/* MORADA | TELEFONES | EMAIL
====================================================================================
*/

.contactos-table {
    display: table;
    margin: 100px 0 100px 0;
}

.contactos-cell {
    display: table-cell;
    vertical-align: middle;
}

.contactos-cell {
    display: table-cell;
}


.contactos-cell img {
    margin-right: 20px;
}

.contactos-cell p {
    font-family: "Quattrocento", sans-serif;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    color: black;
    font-size: 22px;
}

.contact-space {
    margin-right: 120px;
}


iframe {
    border: none;
}


/* MAP
====================================================================================
*/

#map-canvas {
    width: 100%;
    height: 450px;
    margin: 0px;
    padding: 0px;
    background-color: #ccc;
}

#canvas {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    background-color: #ccc;
    cursor: grab;
}

.scrollof{
    pointer-events: none;
}


/*
====================================================================================
FOOTER
====================================================================================
*/

.footer {
    margin: 120px auto 7px auto;
    text-align: center;
}

.footer a:link    {
  text-decoration:  none;
}
.footer a:hover   {
  text-decoration:  underline;
  } 

.footer p {
    font-family: "Quattrocento", sans-serif;
    font-weight: 400;
    line-height: 2.5;
    color: black;
    font-size: 12px;
    text-align: center;
    
}

.footer span {
    font-family: "Quattrocento", sans-serif;
    font-weight: 400;
    text-align: left;
    color: black;
    font-size: 16px;

    
}

/*
====================================================================================
BUTTON - BACK TO TOP
====================================================================================
*/

#backtotop {
    position: fixed;
    cursor: pointer;
    bottom: 20px;
    right: 20px;
    display: none;
    z-index: 999999;
}

/*-------------------------- ENLARGE ON HOVER ---------------------------*/


.enlarge img {
    -webkit-transition: all 0.5s ease; /* Safari and Chrome */
    -moz-transition: all 0.5s ease; /* Firefox */
    -ms-transition: all 0.5s ease; /* IE 9 */
    -o-transition: all 0.5s ease; /* Opera */
    transition: all 0.5s ease;
}

.enlarge:hover img {
    -webkit-transform:scale(1.2); /* Safari and Chrome */
    -moz-transform:scale(1.2); /* Firefox */
    -ms-transform:scale(1.2); /* IE 9 */
    -o-transform:scale(1.2); /* Opera */
     transform:scale(1.2);
}