 * @author mcosta
/**
 */

/* Browser Viewport
----------------------------------------------------------------------------------------------------*/

html,
body {
	width: 100%;
	height: 100%;
}

html { background: url("../img/body_background.png") 0 40px repeat-x; }

/* Global classes
----------------------------------------------------------------------------------------------------*/

.list {	margin-bottom: 30px; }

.list li {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #ccc;
}

.emphasys {
	padding: 5px;
	position: relative;
	display: inline-block;
	margin-bottom: 10px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	background: #a91e23; /* Fallback */ 
	background: -moz-linear-gradient(#a91e23, #660000);
	backgrhound: -webkit-gradient(linear,left top,left bottom,color-stop(0, #a91e23),color-stop(1, #660000));
}

.more {
	margin-top: 10px;
	display: inline-block;
	color:#a91e23;
}

.icon {
	display: block;
	top: 50%;
	right: 10px;
	width: 20px;
	height: 20px;
	overflow: hidden;
	margin-top: -10px;
	position: absolute;
	background: url(../img/controll_icons_background.png) no-repeat;
}

/* Float */

.left { float: left; max-width:480px }

.left-princ { float: left; max-width:240px }

.right { float: right; }

.hidden { display: none; }

.clear { /* http://sonspring.com/journal/clearing-floats */
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

.clearfix:after { /* http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack */
	clear: both;
	content: ' ';
	display: block;
	font-size: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
	height: 0;
}

/* Containers
----------------------------------------------------------------------------------------------------*/

#main-container {
	width: 100%;
	height: 100%;
	margin: 0 auto;
	min-height: 100%;
	position: relative;
}

#wrap-content {
	overflow: hidden; 
	padding-top: 40px;
	/*background: url(../img/12_col.gif);*/
}

#box {
	margin-top: 10px;
	height: auto;
	min-height: 100px;
	background: url(../img/content_background.png) no-repeat;
}

#box.grid-4 { background-position: -540px 0; }

#box-content { padding: 30px; }

#box-content h2 { padding-right: 20px; }

/* Serviços */

#box-content.produtos h2 {
	padding-bottom: 10px;
	border-bottom: 1px solid #ccc;
}

#box-content.produtos h3 { margin-top: 10px; }

#box-content.produtos .product {
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
}

#box-content.produtos .product img { margin-right: 10px; }

/* Logo */

#quadsys-logo {
	width: 140px;
	height: 145px;
	background: url(../img/quadsys_logo.png) no-repeat;
}

/* Call to action */

#call-to-action { margin: 10px 0 20px 0; }

/* News */

#news { margin-top: 20px; }

#box-content .news {
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
	margin-bottom: 10px;
}

.news .foto { margin-bottom: 15px; }

.news h3 { margin-top: 10px; }

.news .type {
	padding: 2px 5px;
	display: inline-block;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	background: #3a3a3a; /* Fallback */ 
	background: -moz-linear-gradient(#3a3a3a, #6d6d6d);
	background: -webkit-gradient(linear,left top,left bottom,color-stop(0, #3a3a3a),color-stop(1, #6d6d6d));
}

/* Accordeon */

#accordeon h3 { display: block; }

#accordeon h3 a { display: block; }

#accordeon h3.expanded .icon { background-position: 0 -20px; }

/* Contextual */

#contextual { margin-top: 40px; }

#contextual .alpha { clear: left; }

#contextual .item { margin-bottom: 10px; }

#contextual ul {
	margin-bottom: 10px;
	overflow: hidden;
}

#contextual ul a.emphasys,
#contextual h3.emphasys {
	background: #cccccc; /* Fallback */ 
	background: -moz-linear-gradient(#cccccc, #6d6d6d);
	background: -webkit-gradient(linear,left top,left bottom,color-stop(0, #cccccc),color-stop(1, #6d6d6d));
}

#contextual ul #actual.emphasys,
#contextual h3#actual.emphasys {
	background: #a91e23; /* Fallback */ 
	background: -moz-linear-gradient(#a91e23, #660000);
	background: -webkit-gradient(linear,left top,left bottom,color-stop(0, #a91e23),color-stop(1, #660000));
}

#contextual ul a.emphasys { margin-right: 5px; }

/* Solutions */

#main-content .solution {
	min-height: 115px;
	padding-left: 130px;
	background: url(../img/solution_icons_background.png) no-repeat;
}

#consulting .solution { background-position: 0 -215px; }

/* Navigation */

#navigation ul { margin: 50px 0; }

#navigation ul a {
	display: block;
	margin-bottom: 20px;
	border-left: 2px solid #fff;
}

#navigation ul a:hover,
#navigation ul #current {
	border-left: 2px solid #ccc;
}

/* Form
----------------------------------------------------------------------------------------------------*/

.form label {
	display: block;
	margin-bottom: 10px;
}

.form ul {
	width: 458px;
}

.form ul li { margin-bottom: 10px; }

/* Elements */

textarea,
input[type="text"] {
	width: 100%;
	border: 1px solid #ccc;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	-moz-box-shadow: inset 3px 3px 3px rgba(0,0,0,0.05);
	-webkit-box-shadow: inset 3px 3px 3px rgba(0,0,0,0.05);
	background: #e6e6e6; /* Fallback */ 
	background: -moz-linear-gradient(#e6e6e6, #cccccc);
	background: -webkit-gradient(linear,left top,left bottom,color-stop(0, #e6e6e6),color-stop(1, #cccccc));
}

textarea:focus,
input[type="text"]:focus {
	background: #ffffff; /* Fallback */ 
	-moz-box-shadow: inset -3px -3px 3px rgba(0,0,0,0.05);
	-webkit-box-shadow: inset -3px -3px 3px rgba(0,0,0,0.5);
}

textarea.error,
input[type="text"].error {
	border-color: #a91e23;
}

textarea.error:focus,
input[type="text"].error:focus {
	border-color: #ccc;
}

input[type="text"] { padding: 4px 0 5px 0; }

input[type="checkbox"] {
	width: auto;
	border: none;
	margin-left: 0;
}

button {
	cursor: pointer;
	border: 1px solid #660000;
	padding: 5px 10px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	background: #a91e23; /* Fallback */ 
	background: -moz-linear-gradient(#a91e23, #660000);
	background: -webkit-gradient(linear,left top,left bottom,color-stop(0, #a91e23),color-stop(1, #660000));
}

button:hover {
	-moz-box-shadow: inset -3px -3px 3px rgba(0,0,0,0.05);
	background: #a91e23; /* Fallback */ 
	background: -moz-linear-gradient(#660000, #a91e23);
	background: -webkit-gradient(linear,left top,left bottom,color-stop(0, #660000),color-stop(1, #a91e23));
}

/* Form Success */

#form-success {
	width: 100%;
	height: 100%;
	top: 0;
	z-index: 10000;
	position: absolute;
	background: #fff; /* Fallback */ 
	background: rgba(255,255,255,0.8);
}

#success-message {
	top: 50%;
	width: 200px;
	height: 120px;
	position: relative;
	display: block;
	margin: -100px auto 0 auto;
	background: url(../img/contato_enviado.png) no-repeat;
}

/* Paginação */

#pagination {
	margin-top: 10px;
	width: 100%;
	clear: both;
	border-top: 1px solid #ccc;
}

#pagination col.arrow { width: 20%; }

#pagination col.pages { width: 60%; }

#pagination td { padding: 10px 0; }

#pagination a.arrow {
	display: block;
	width: 26px;
	height: 21px;
	background: url(../img/pagination_arrows_background.png) no-repeat;
}

#pagination #voltar {
	padding-left: 36px;
	background-position: 0 0;
}

#pagination #voltar:hover { background-position: 0 -42px; }

#pagination #avancar {
	background-position: 100% -21px;
	padding-right: 56px;
}

#pagination #avancar:hover { background-position: 100% -63px; }

#page-links a {
	display: inline-block;
	padding: 1px 6px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
}

#page-links a:hover {
	background: #a91e23; /* Fallback */ 
	background: -moz-linear-gradient(#a91e23, #660000);
	background: -webkit-gradient(linear,left top,left bottom,color-stop(0, #660000),color-stop(1, #a91e23)); 
}

/* Galeria */
	
#galeria {
	overflow: hidden;
	margin-top: 30px;
}

#galeria li {
	padding: 10px;
	background: #fff;
	margin: 10px 15px 10px 5px;
	-moz-box-shadow: 3px 3px 5px rgba(0,0,0,0.05), -3px -3px 5px rgba(0,0,0,0.05);
	-webkit-box-shadow: 3px 3px 3px rgba(0,0,0,0.05);
	border: 1px solid #f1f1f1;
}

#galeria li span {
	display: block;
	padding: 5px 5px 0 5px;
	border-top: 1px solid #f1f1f1;
	margin-top: 5px;
}

#galeria li a:hover span { border-color: #ccc; }

#galeria li a {
}

#btnEnviar
{
	cursor: pointer;
	border: 1px solid #660000;
	padding: 5px 10px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	background: #a91e23; /* Fallback */ 
	background: -moz-linear-gradient(#a91e23, #660000);
	background: -webkit-gradient(linear,left top,left bottom,color-stop(0, #a91e23),color-stop(1, #660000));
}
