@charset "utf-8";
/* 
    Created on : Nov 17, 2014, 11:28:10 AM
    Author     : miguel cerdeira
*/

.main-content {
    background: url(../images/bg-oquefazemos.jpg) center top no-repeat;
    margin: 6em auto;
    max-width: 1122px;
    /* padding: 1em; */
    position: relative;
    width: 90%;
	background-size: cover;
}

.txt-intro-main {
    font-family: 'Shadows Into Light Two', cursive;
    /*font-family: 'dandelion-in-the-spring';*/
    text-align: center;
    width: 80%;
    margin: 0 auto;
    font-size: 1.2em;
    padding: 1.5em 0;
}

.prod-page-title {
    /* background: url(../images/title-wood.png) top left no-repeat; */
    /* background-size: 100% auto; */
    margin: 1em 0;
    width: 70%;
    max-width: 469px;
    height: auto;
    position: relative;
    overflow: hidden;
}

.prod-page-title > div{
    display: table;
    width: 70%;
    min-height: 45px;
    position: relative;
    margin-left: 20%;
    padding: 3% 4%;
    z-index: 5;
}

.prod-page-title .prod-page-title-text {
    color: white;
    font-size: 1.4em;
    width: 50%;
    line-height: 1.2em;
    text-transform: uppercase;
    text-align: center;
    text-shadow: 3px 3px 3px rgba(0,0,0, 0.7);
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 100%;
}

.prod-page-title .prod-page-title-text.threelines {
    font-size: 0.9em;
    width: 35%;
    right: 22%;
}

.prod-page-title-image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.prod-page-title-image img {
    width: 100%;
    height: 100%;
}

.prods-block {
    /* overflow: hidden; */
    /* width: 100%; */
    position: relative;
    z-index: 5;
}

.prod-block {
    background: url(../images/top-wood-layer.png) center bottom no-repeat;
    background-size: 100% auto;
    margin: 1em 0;
}

.prod-block .prod-block-text {
    font-family: 'Shadows Into Light Two', cursive;
    width: 90%;
    display: block;
    margin: 3em auto 0.25em auto;
}

.prod-block .prod-block-image {
    width: 95%;
    max-width: 700px;
    display: block;
    vertical-align: bottom;
    margin: 0 auto;
    position: relative;
    text-align: right;
}

.btns-prod {
    position: relative;
    display: inline-block;
    width: 32%;
    max-width: 195px;
    margin-left: -2%;
    vertical-align: middle;
}

.btn-prod {
    background: url(../images/bg-prod-btn.png) top left no-repeat;
    background-size: 100% 100%;
    color: white;
    text-align: center;
    font-size: 0.9em;
    margin: 0.5em 0;
    padding: 0.15em 0;
    height: 18px;
    line-height: 18px;
}

.btn-prod a{
    display: block;
}

.prod-block .prod-block-image img{
    position: relative;
    width: 70%;
    max-width: 538px;
    display: inline-block;
    z-index: 1;
    vertical-align: middle;
}

.prod-block .prod-block-image.no-btns img{
    width: 90%;
    margin: 0 auto;
}

@media screen and (min-width:480px){
    .prod-page-title {
        width: 50%;
    }

    .prod-page-title .prod-page-title-text {
        font-size: 1.5em;               
        line-height: 1.05em;
    }
    .prod-page-title .prod-page-title-text.threelines {
        font-size: 1.1em;
        width: 40%;
        right: 20%;
    }

    
    
    .btn-prod {
        font-size: 1em;
        padding: 0.15em 0;
    }
}

@media screen and (min-width:640px){
    .main-content {
        margin: 1em auto 6em;
    }
    .prod-page-title .prod-page-title-text {
        font-size: 2.1em;
    }

    .prod-page-title .prod-page-title-text.threelines {
        font-size: 1.4em;
    }

    .prod-title {
        /* padding-bottom: 0.5em; */
        font-size: 1.6em;
        line-height: 1em;
    }
    .prod-block .prod-block-text {
        font-size: 1.1em;
        /*z-index: 99;
        width: 45%;        
        margin: 0 4%;
        position: absolute;*/
    }
    /*.prod-block .prod-block-image {
        width: 58%;
        padding: 2em 0 1em 0;
        margin-right: 1%;
    }*/
    .btns-prod {
        vertical-align: text-top;
    }
}

@media screen and (min-width:768px){
    .main-content {
        margin: 2em auto 6em;
    }
    .prod-page-title {
        width: 45%;
    }
    .prod-page-title .prod-page-title-text {
        font-size: 2.2em;
        margin-top: 0.1em;
    }
    .prod-page-title .prod-page-title-text.threelines {
        font-size: 1.6em;
    }
    .txt-intro-main {
        /* font-size: 1.35em; */
    }
    .prod-block .prod-block-text {
        font-size: 1.2em;
    }
    /*.prod-block .prod-block-text {
        font-size: 1.1em;
        width: 36%;
        margin: 1em 4%;
    }
    .prod-block .prod-block-image {
        width: 66%;
        margin-right: 1%;
    }*/
    .btn-prod {
        font-size: 1.1em;
        margin: 0.6em 0;
        padding: 0.2em 0;
    }
}

@media screen and (min-width:1024px){
    .prod-block .prod-block-image {
        padding-bottom: 0.5em;
    }
    .main-content {
        width: 98%;
    }
    .prod-page-title {
        width: 40%;
        margin: 0;
    }
    .prod-page-title .prod-page-title-text {
        font-size: 2.3em;
        margin-top: 0.25em;
    }
    .prod-page-title .prod-page-title-text.threelines {
        font-size: 2.1em;
        width: 38%;
        right: 21%;
    }
    .txt-intro-main {
        width: 70%;
        /* font-size: 1.2em; */
    }
    .prod-title {
        font-size: 2em;
        line-height: 1em;
    }
    .prod-block {
        margin-top: 3em;
        position: relative;
    }
    .prod-block .prod-block-text {
        /* font-size: 1.2em; */
        width: 36%;
        margin: 1em 4%;
        position: absolute;
        top: 50%;
        transform: translate(0,-75%);
    }
    .prod-block .prod-block-image {
        width: 70%;
        padding-bottom: 1em;
        margin-right: 1%;

    }
    .btn-prod {
        font-size: 1.2em;
        padding: 0.25em 0;
    }
}
