/*		  
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: #00ccff;
    text-decoration: none;
    font-size: 1.6em;
}

a:hover {
    text-decoration: underline;
}


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

.container {
	padding: 0 2.4em 0 2.4em;z-index: 999;
    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;
}

.banner {
 
    height: auto;
    margin-bottom: 4.8em;
    position: relative;
	z-index: 999;
	padding: 10px;
	 
}




h1  {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 4em;
    font-weight: 200;
    color: #FFF;
}




.coluna {
    width: 23.404255319149%; /* 264px / 1128px */
    float: left;
    margin-right: 2.127659574468%; /* 24 / 1128px */
	min-height: 300px;
	 z-index: 100;
}

.coluna:last-child {
    margin-right: 0;
}

h2 {
    font-size: 2.4em;
    font-weight: 400;
}

p {
    font-size: 1.6em;
}

.footer {
    width: 100%;
    margin-top: 2.4em;
    margin-bottom: 2.4em;
    float: left;
    clear: both; 
	z-index: 999;
}

.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 {
		max-width: 1128px;
    margin: 0 auto;
        padding: 0 2.4em 0 2.4em;z-index: 999;
		
    }

}

@media screen and (max-width: 768px) {

   

    .coluna {
        width: 48%;
        margin-bottom: 2.4em;
        margin-right: 2%;z-index: 999;
    }

    .coluna:nth-child(even) {
       margin-right: 0;
    }

    .logo {
        margin-top: 1.2em;
    }

}


@media screen and (max-width: 718px) {

   .banner {
       
        margin:0;
        height: auto;
		margin-bottom: 4.8em;
		padding: 0px;
    }
    

   
    .principal {
		position: relative; margin-top: 30px; padding-top: 30px;
        
    }

}

@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;
    }

   

     .banner {
        height: auto;
    }

    


}

.clearfix:before,
.clearfix:after {
    content: " "; 
    display: table; 
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}
