html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body, html {
    height: 100%;
}

body {
    color: #999999;
    font-family: 'Open Sans', Arial, sans-serif;
    font-style: normal;
    font-weight: 300;
    line-height: 1.3;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

a {
    color: #333;
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    text-decoration: none;
    outline: none;
}

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input, select {
    vertical-align: middle;
}

p {
    margin-bottom: 15px;
}

h1 {
    font-size: 30px;
    font-weight: 600;
    text-transform: uppercase;
    color: #444444;
    margin-bottom: 30px;
}

main {
    overflow: hidden;
}

header {
    min-width: 1080px;
}

section {
    position: relative;
    width: 100%;
    min-width: 1080px;
}

.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

.table-cell-container {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 100%;
}

.content {
    position: relative;
    max-width: 1250px;
    padding: 0 20px;
    margin: 0 auto;
}

#home {
    position: relative;
    z-index: 10;
}

#home .bg {
    background: url(../images/home_bg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: 100%;
    width: 100%;
}

#home .logo-container {
    height: 180px;
}

#home .logo-glass {
    text-align: center;
    position: relative;
    left: -40px;
    top: 0;
    width: 320px;
    height: 200px;
    padding-top: 50px;
    opacity: 0;
    /* background: url(../images/home_logo_glass.png);
    background-position: center bottom;
    background-repeat: no-repeat;*/
}

#home .mozaic-container {
    position: relative;
    margin-top: -70px;
}

#home .mozaic-container .clearfix {
    position: relative;
    opacity: 0;
    right: -50px;
}

#home .mozaic-container .square {
    position: relative;
    float: right;
    height: 180px;
}

#home .mozaic-container .s1 {
    width: 180px;
}

#home .mozaic-container .s2 {
    width: 360px;
}

#home .mozaic-container .s3 {
    width: 540px;
}

#home .mozaic-container .margin-s1 {
    margin-right: 180px;
}

#home .mozaic-container .margin-s2 {
    margin-right: 360px;
}


#home .mozaic-container .square a {
    position: relative;
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    width: 100%;
    height: 100%;
}

#home .mozaic-container .square a .hover {
    content: '';
    display: block;
    position: absolute;
    width: 110%;
    height: 110%;
    top: -5%;
    left: -5%;
    border: 2px solid rgba(255, 255, 255, 1);
    opacity: 0;
    z-index: 1;
    -webkit-transition: 0.2s ease-in-out all;
    -moz-transition: 0.2s ease-in-out all;
    -o-transition: 0.2s ease-in-out all;
    transition: 0.2s ease-in-out all;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

#home .mozaic-container .square a:hover .hover {
    opacity: 1;
    -webkit-transform: scale(0.78);
    -moz-transform: scale(0.78);
    -ms-transform: scale(0.78);
    -o-transform: scale(0.78);
    transform: scale(0.78);
}

#home .mozaic-container .square a span {
    display: block;
    margin-bottom: 8px;
}

#home .mozaic-container .square a.fale {
    padding-top: 44px;
    background-color: #3dc2f3;
}

#home .mozaic-container .square a.portfolio {
    padding-top: 54px;
    background-color: #4b94a7; 
}

#home .mozaic-container .square a.tecnologia {
    padding-top: 54px;
    background-color: #6c70c4; 
}

#home .mozaic-container .square a.sobre {
    padding-top: 42px;
    background-color: #3f4196; 
}

#home .mozaic-container .square a.vidros {
    padding-top: 30px;
    background-color: #9ccfdc; 
}

#home .mozaic-container .welcome {
    padding-top: 80px;
    padding-right: 30px;
    text-align: right;
    color: #fff;
}
#home .mozaic-container .welcome h2 {
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: #fff;
}

.flipper-container {
    position: relative;
    width: 180px;
    height: 180px;
    z-index: 1;
}

.flipper-container {
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    -o-perspective: 1000;
    perspective: 1000;
}

.flipper {
    width: 100%;
    height: 100%;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}

.flipped {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.face.back {
    display: block;
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -ms-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
    color: white;
    text-align: center;
    background-color: #aaa;
}

#menu {
    position: fixed;
    text-align: center;
    top: 0;
    z-index: 9;
    width: 100%;
}

#menu .menu-container {
    width: 100%;
    min-width: 1080px;
    height: 85px;
    border-bottom: 1px solid #dcdcdc;
    background-color: #ffffff;
}

#menu .shadow {
    width: 100%;
    height: 9px;
    background: url(../images/menu_shadow.png);
    background-repeat: no-repeat;
    background-position: center top;
}

#menu li {
    display: inline-block;
    min-width: 160px;
    height: 84px;
    vertical-align: bottom;
}

#menu li a {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    text-transform: uppercase;
    color: #fff;
    display: block;
    width: 100%;
    height: 84px;
}

#menu li a.fale {
    padding-top: 24px;
    background-color: #3dc2f3;
}

#menu li a.portfolio {
    padding-top: 32px;
    background-color: #4b94a7; 
}

#menu li a.tecnologia {
    padding-top: 32px;
    background-color: #6c70c4; 
}

#menu li a.sobre {
    padding-top: 24px;
    background-color: #3f4196; 
}

#menu li a.vidros {
    padding-top: 24px;
    background-color: #9ccfdc; 
}


#sobre {
    min-height: 770px;
    padding-bottom: 100px;
    background-color: #ebecf4;
}

#sobre .bg {
    position: absolute;
    width: 40%;
    right: 0;
    height: 670px;
    background: url(../images/sobre_bg.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    overflow: hidden;
}

#sobre .bg .mask {
    position: relative;
    z-index: 2;
    width: 252px;
    height: 670px;
    background: url(../images/sobre_mask.png);
    background-position: 252px 0px;
}

#sobre .bg .mask-detail {
    position: absolute;
    top: 0;
    z-index: 1;
    width: 228px;
    height: 309px;
    background: url(../images/sobre_mask_detail.png);
    background-position: 0px 0px;
}

#sobre .content {
    padding-top: 230px;
}

#sobre .content .box {
    width: 60%;
}

#sobre .text-box {
    float: left;
    width: 55%;
    padding-right: 30px;
}

#sobre .content .video-box {
    position: relative;
    display: table;
    float: right;
    width: 45%;
}

#sobre .content .video-box a {
    display: block;
    width: 100%;
}

#sobre .content .video-box img {
    width: 100%;
}

#tecnologia {
    padding-top: 150px;
    padding-bottom: 250px;
    text-align: center;
    background: #f1f1f1;
}

#tecnologia .content {
    width: 800px;
}

#tecnologia .maquinas {
    display: block;
    margin-top: 20px;
}

#tecnologia .maquina {
    float: left;
    width: 32%;
    margin-right: 1.33%;
    margin-bottom: 30px;
}

#tecnologia .maquina .image {
    position: relative;
    padding: 10px;
    border: 1px solid #999;
}

#tecnologia .maquina .image .view_icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 77px;
    height: 77px;
    background: url(../images/tecnologia_view_icon.png) 0 0 no-repeat;
}

#tecnologia .maquina .image .view_icon a {
    display: block;
    width: 77px;
    height: 77px;
}

#tecnologia .maquina .nome {
    margin-top: 10px;
}

#tecnologia .maquina .nome h2 {
    font-size: 24px;
    text-align: center;
    font-weight: 300;
    font-style: italic;
    color: #333;
}

#tecnologia .maquina .nome.small h2 {
    font-size: 20px;
}

#tecnologia .maquina img {
    width: 100%;
}

#tecnologia .maquina:last-child {
    margin-right: 0;
}


/*#sobre .video span.text {
    display: block;
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    width: 100%;
    padding-top: 10px;
    padding-right: 40px;
    padding-left: 40px;
    padding-bottom: 8px;
    -webkit-transition: 0.2s ease-in-out all;
    -moz-transition: 0.2s ease-in-out all;
    -o-transition: 0.2s ease-in-out all;
    transition: 0.2s ease-in-out all;
}

#sobre .video:hover span.text {
    color: #86add6;
}

#sobre .video span.icon {
    display: block;
    width: 100%;
    height: 55px;
    background: url(../images/sobre_video_icon.png);
    background-position: 50% 0px;
    background-repeat: no-repeat;
    }*/

    #servicos {
        padding-top: 100px;
        height: 800px;
    }

    #vidros {
        min-height: 770px;
        padding-bottom: 150px;
        background-color: #f5fafb;
    }

    #vidros .bg {
        position: absolute;
        width: 25%;
        left: 0;
        height: 670px;
        background: url(../images/vidros_bg.jpg);
        background-position: center top;
        background-repeat: no-repeat;
        overflow: hidden;
    }

    #vidros .bg .mask {
        position: absolute;
        right: 0;
        z-index: 2;
        width: 252px;
        height: 670px;
        background: url(../images/vidros_mask.png);
        background-position: 0px 0px;
    }

    #vidros .bg .mask-detail {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1;
        width: 228px;
        height: 309px;
        background: url(../images/vidros_mask_detail.png);
        background-position: 0px 0px;
    }

    #vidros .content {
        padding-top: 150px;
    }

    #vidros .content .box {
        width: 70%;
        margin-left: 25%;
    }

    #vidros .left {
        width: 50%;
        padding-right: 2%;
        float: left;
    }

    #vidros .right {
        width: 50%;
        float: right;
    }

    #vidros .servicos {
        font-size: 14px;
        color: #fff;
        width: 100%;
        margin-bottom: 30px;
        background-color: #9ccfdc;
        padding: 20px;
    }

    #vidros .servicos p {
        margin-bottom: 2px;
    }

    #vidros .servicos .border {
        padding: 10px;
        border: 1px solid #fff;
    }

    #vidros h2 {
        text-align: left;
        font-weight: 400;
        text-transform: uppercase;
        color: #666666;
        margin-bottom: 10px;
    }

    #vidros h2 span.icon {
        display: inline-block;
        height: 42px;
        margin-right: 10px;
        vertical-align: bottom;
    }

    #vidros h2 span.text {
        display: inline-block;
        height: 42px;
        line-height: 42px;
        vertical-align: bottom;
    }

    #vidros .vidros {
        margin-bottom: 25px;
    }

    #vidros .vidros .item {
        position: relative;
        z-index: 2;
        float: left;
        width: 99px;
        height: 94px;
        margin-right: 5px;
        margin-bottom: 5px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        overflow: hidden;
        cursor: pointer;
    }

    #vidros .vidros .item .item-hover {
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        width: 99px;
        height: 94px;
        opacity: 0;
        background-color: rgba(61,194,243,0.3);
        -webkit-transition: 0.3s ease-in-out all;
        -moz-transition: 0.3s ease-in-out all;
        -o-transition: 0.3s ease-in-out all;
        transition: 0.3s ease-in-out all;
    }

    #vidros .vidros .item:hover .item-hover {
        opacity: 1;
    }

    #portfolio {
        min-height: 900px;
        padding-bottom: 220px;
        background-color: #e4eff2;
    }

    #portfolio .bg {
        position: relative;
        width: 85%;
        margin-left: 15%;
        right: 0;
        height: 296px;
        background: url(../images/portfolio_bg.jpg);
        background-position: center top;
        background-repeat: no-repeat;
    }

    #portfolio .bg .mask {
        position: absolute;
        left: 0;
        z-index: 2;
        width: 252px;
        height: 296px;
        background: url(../images/portfolio_mask.png);
        background-position: 252px 0px;
    }

    #portfolio .bg .mask-detail {
        position: absolute;
        bottom: -30px;
        right: 0;
        z-index: 1;
        width: 85%;
        height: 75px;
        background: url(../images/portfolio_mask_detail.png);
        background-position: 0px 0px;
    }

    #portfolio .content {
        text-align: center;
        padding-top: 100px;
    }

    #portfolio .intro {
        width: 60%;
        margin: 0 auto 30px auto;
    }

    .img-cat-content {
        color: #fff;
        width: 50%;
        margin: 30px auto 0 auto;
        text-align: center;
        padding: 35px 20px 20px 20px;
        display: none;
        background-color: #4b94a7;
    }

    #filters {
        margin-bottom: 40px;
    }

    #filters li {
        list-style: none;
        display: inline-block;
        cursor: pointer;
        font-size: 18px;
        line-height: 25px;
        height: 25px;
        border-right: 1px solid #999;
        padding: 0 15px;
        color: #808080;
    }

    #filters li:last-child {
        border-right: 0;
    }

    #filters li.ativo {
        color: #4b94a7;
        text-decoration: underline;
    }

    #shuffle {
        width: 1090px;
        margin: 0 auto;
    }

    #shuffle .shuffle-item {
        position: relative;
        z-index: 1;
        width: 215px;
        height: 160px;
        cursor: pointer;
    }

    #shuffle .shuffle-item:hover {
        z-index: 2;
    }

    #shuffle .shuffle-item .shuffle-hover {
        position: absolute;
        z-index: 2;
        width: 215px;
        height: 165px;
        opacity: 0;
        background: url(../images/portfolio_icon_ampliar.png) 50% 50% no-repeat;
        background-color: rgba(75,148,167,0.9);
        -webkit-transition: 0.2s ease-in-out all;
        -moz-transition: 0.2s ease-in-out all;
        -o-transition: 0.2s ease-in-out all;
        transition: 0.2s ease-in-out all;
        -webkit-transform: scale(0.8);
        -moz-transform: scale(0.8);
        -ms-transform: scale(0.8);
        -o-transform: scale(0.8);
        transform: scale(0.8);
    }

    #shuffle .shuffle-item:hover .shuffle-hover {
        opacity: 1;
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
        transform: scale(1.1);
    }

    #shuffle .tipo1 {
        background-color: #666;
    }

    #shuffle .tipo2 {
        background-color: #999;
    }

    #shuffle .tipo3 {
        background-color: #ccc;
    }

    #fale {
        padding-bottom: 200px;
        background: url(../images/home_bg.jpg);
        background-position: center top;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
    }

    #fale .content {
        padding-top: 170px;
        min-height: 800px;
    }

    #fale h1 {
        color: #fff;
    }

    #fale .intro {
        color: #fff;
        width: 60%;
        margin-bottom: 20px;
    }

    #fale .left {
        width: 50%;
        float: left;
        padding-right: 2%;
    }

    #fale .endereco {
        color: #fff;
        padding: 70px 50px 50px 50px;
        text-align: center;
        background-color: #3dc2f3;
        line-height: 1.5;
    }

    #fale .gmaps {
        cursor: pointer;
    }

    #fale .localizacao {
        color: #777;
        background-color: #cff2ff;
        height: 78px;
        text-align: center;
        padding-top: 30px;
        text-transform: uppercase;
    }

    #fale .right {
        width: 50%;
        padding-left: 2%;
        float: right;
    }

    #fale input[type="text"] {
        color: #999;
        width: 100%;
        padding: 0 2%;
        height: 52px;
        background-color: #fff;
        border: none;
        margin-bottom: 8px;
        text-transform: uppercase;
    }

    #fale textarea {
        font-family: 'Open Sans', Arial, sans-serif;
        font-size: 14px;
        color: #999;
        width: 100%;
        padding: 2% 2%;
        height: 208px;
        background-color: #fff;
        border: none;
        margin-bottom: 8px;
        text-transform: uppercase;
    }

    #fale .button {
        position: relative;
    }

    #fale button {
        cursor: pointer;
        z-index: 2;
        position: absolute;
        top: -111px;
        right: 0;
        width: 99px;
        height: 99px;
        border: none;
        background-color: #3dc2f3;
    }

    #preload {
        display: table;
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100%;
        top: 0;
        background-color: #fff;
    }

    #preload .progress-bar-logo {
        margin-bottom: 50px;
    }

    #preload .progress-bar-number {
        color: #4b94a7;
        font-size: 36px;
        font-weight: 800;
    }

    #preload .progress-bar {
        width: 0%;
        height: 2px;
        background-color: #3f4196;
        margin-bottom: 100px;
    }