﻿/*		  
OlÃ¡ mundo! 
Este CSS foi criado pela designer Dani Guerrato como demo de um artigo do Tableless.

Web:       www.tableless.com.br
E-mail:    dani@popupdesign.com.br

Divirta-se! :)
*/

/* ==========================================================================
   NormatizaÃ§Ã£o CSS
   ========================================================================== */

body {
    font-size: 62.5%;
    line-height: 1.5;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #444;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
				color: #000000;
				text-decoration: none;
				font-size: medium;
}

a:hover {
    text-decoration: underline;
}


/* ==|== Estilos Principais ================================================== */

.container {
    max-width: 1128px;
    margin: 0 auto;
}

img,
picture,
video,
embed {
    max-width: 100%;
}

.header {
    width: 100%;
    height: 48px;
    margin-top: 3.6em;
    margin-bottom: 3.6em;
}

.logo {
				float: left;
				width: 20.744680851064%; /*234px / 1128px */
}

.menu {
    width: 74.468085106383%; /*840px / 1128px */
    float: right;
}

.menu ul {
    float: right;
}

.menu li {
    font-size: 1.2em;
    margin-left: 2em;
    margin-top: 1em;
    display: inline-block;
}

.menu li a {
    color: #999;
}

.coluna {
    width: 23.404255319149%; /* 264px / 1128px */
    float: left;
    margin-right: 2.127659574468%; /* 24 / 1128px */
}

.coluna:last-child {
    margin-right: 0;
}

h2 {
    font-size: 2.4em;
    font-weight: 200;
}

p {
    font-size: 1.6em;
}

.footer {
    width: 100%;
    margin-top: 2.4em;
    margin-bottom: 2.4em;
    float: left;
    clear: both;
}

.footer p {
    margin-bottom: 0;
}

.footer small {
    font-size: 1.4em;
}

.footer a {
    font-size: 1em;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */


@media screen and (max-width: 1128px) {

    .container {
        padding: 0 2.4em 0 2.4em;
    }

}

@media screen and (max-width: 768px) {


    .coluna {
        width: 48%;
        margin-bottom: 2.4em;
        margin-right: 2%;
    }

    .coluna:nth-child(even) {
       margin-right: 0;
    }

    .logo {
        margin-top: 1.2em;
    }

}


@media screen and (max-width: 718px) {


    .principal {
        margin-top: 0px;
    }

}

@media screen and (max-width: 640px) {

    .menu {
        width: 100%;
    }
    
    .menu ul {
        float: left;
        font-size: 0.8em;
    }

    .menu li:first-child {
        margin-left: 0;
    }

}


@media screen and (max-width: 520px) {

    .coluna {
        width: 100%;
        margin-right: 0;

}

.clearfix:before,
.clearfix:after {
    content: " "; 
    display: table; 
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}
