/* Framework formulario CSS

Authors: Bernard De Luna - http://www.bernarddeluna.com
         Daniel Araujo - http://www.dnlaraujo.com.br
		 Marcello Manso - http://www.marcellomanso.com.br

Developed: 12/11/2012
Last update: 16/07/2013
Updated: 29/08/2013

Edited:  Luciano Barauna - http://www.lucianobarauna.com.br

*/

/* ==========================================================================
   Estrutura do framework
   ========================================================================== */
.frame-form{
	font-size:65.5% !important;
	font-family:Verdana, Geneva, sans-serif;
	clear:both;
}

/* Zeradores de estrutura
   ========================================================================== */
.frame-form .mnone-dir{
	margin-right:0 !important;
}

.frame-form .mnone-esq{
	margin-left:0 !important;
	clear:both;
}

.frame-form .clear-b{
	clear:both;
}

.frame-form.clear-n{
	clear:none;
	}

.frame-form .f-left{
	float:left !important;
}

.frame-form .f-right{
	float:right !important;
}

.frame-form .dnone{
	display:none;	
}

/* Label
   ========================================================================== */
.frame-form label{
	margin:0.2em 0 0.5em 0;
	display:block;
	color:#575757;	
	font-size:1.4em;
	line-height:1.3em;
}

.frame-form .camp-req{
	color:#F00;
	vertical-align:middle;
}

/* Fieldset
   ========================================================================== */
.frame-form fieldset{
	margin:0 0 4em;
	height:100%;
	position:relative;
	border:1px solid #c0c0c0;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
	background:#FFF;
} 

.frame-form legend{
	margin:0 0 1% 1%;
	padding: 0 5px 10px;
	color:#575757;
	font-size:1.7em;
	line-height:1.2em;
}

/* Exemplo de customizacao de cor do field */

.frame-form .field-amarelo{	
	background:#FFD150;
	border-color:#b28915;
}

.frame-form .field-amarelo legend{
	color:#b28915;
}

/* Inputs, Selects e Textareas
   ========================================================================== */
.frame-form .input-none[type="text"]{
	padding-left:0;
	border:none;
	background-color:transparent;
}

.frame-form-erro{	
	color:#B01717 !important;
	border-color:#FAD0D0 !important;
	background:#f8e0e0 !important;
}

.frame-form input[type="text"], .frame-form input[type="password"], .frame-form select, .frame-form textarea{
	padding:8px;
	width:100%;
	position:relative;
	vertical-align:middle;	
	outline:none;
	color:#8b8b8b;
	font-size:14px;
	background:#fafafa;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;	
	border-radius:5px;
	border-top:solid 1px #c5c4c4;
	border-left:solid 1px #c5c4c4;
	border-right:solid 1px #dedddc;
	border-bottom:solid 1px #dedddc;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-webkit-box-sizing: border-box;
    box-sizing: border-box;
	-webkit-transition: border 0.2s linear, background 0.2s linear;
	-moz-transition: border 0.2s linear, background 0.2s linear;
	-ms-transition: border 0.2s linear, background 0.2s linear;
	transition: border 0.2s linear, background 0.2s linear;	
}

.frame-form textarea{
	width:100%;
	max-width:100%;	
}

input[type="text"]:focus, .frame-form input[type="password"]:focus, select:focus, textarea:focus{
	color:#4d4f4d;
	border-color:#9f9f9f;
	background:#FFFFFF;
}

/* Lista dos formularios */

.frame-form-list li, .frame-form-list-block li{
	margin:0.2em 0.25em 0.5em 0.6em;
	display:inline-block;
	float:left;
}

.frame-form-list-block li{
	display:block;
	float:none;
}

.frame-form-list label, .frame-form-list-block label{
	display:inline;
	margin:0.3em 0 0.5em 0.3em;	
}

/* Barra de pesquisa */

.frame-form-lupa{
	top:8px;
	right:20px;
	width:20px;
	height:20px;	
	position:absolute;
	text-indent:-9999px;
	background:url(../img/lupa.png) no-repeat;
}

.frame-form-lupa:hover{
	cursor:pointer;	
	background-position:0 -24px;
}

/* Select customizado */

.select-estilo:before{
	content:"";
	top:0;
	right:0;
	z-index:9999;
	width:28px;
	height:35px;
	position:absolute;	
	display:block;	
	background:url(../img/seta-select.png) no-repeat;
}

.select-estilo{   
   z-index:10;
   width:100%;
   height:35px;
   position:relative;
   display:inline-block;
   border:0;      
   background:transparent;
   -webkit-border-radius:0;
   -moz-border-radius:0;
   -ms-border-radius:0;
   border-radius:0;
}

.select-estilo select{
   width:100%;
   display:block;
   overflow: hidden;
   position:relative;
   background-color: #FAFAFA;
   border: 1px solid  #ccc;   
   -webkit-border-radius:5px;
   -moz-border-radius:5px;
   -ms-border-radius:5px;
   border-radius:5px;
   -webkit-appearance: none;
   -moz-appearance: none;
   -ms-appearance: none;	
   appearance: none;
}

/* Tamanho dos inputs */

.frame-form-small {
	width: 30% !important;
	float:left;
	margin-right: 10px;
	display:inline;
}

.frame-form-medium {
	width: 50% !important;
	float:left;
	margin-right: 10px;
	display:inline;
}

/* Grids do form
   ========================================================================== */
.grid-1-12, .grid-2-12, .grid-3-12, .grid-4-12, .grid-5-12, .grid-6-12, .grid-7-12, .grid-8-12, .grid-9-12, .grid-10-12, .grid-11-12, .grid-12-12{
	margin-left:1%;
	margin-right:1%;
	padding: 0 0.5% 1%;
	height:100%;
	position:relative;		
	display:inline-block;	
	float:left;	
}

/* 12-column Grid -(960 Grid System) */
.grid-1-12 {width: 5.333%;}
.grid-2-12 {width: 13.666%;}
.grid-3-12 {width: 22%;}
.grid-4-12 {width: 30.333%;}
.grid-5-12 {width: 38.666%;}
.grid-6-12 {width: 47%;}
.grid-7-12 {width: 55.333%;}
.grid-8-12 {width: 63.666%;}
.grid-9-12 {width: 72%;}
.grid-10-12 {width: 80.333%;}
.grid-11-12 {width: 88.666%;}
.grid-12-12 {width: 97%;}

/* Grids de colunas */
.frame-form .campo-left, .frame-form .campo-right{
	margin-left:1%;
	margin-right:1%;
	padding: 0 0.5% 1%;
	position:relative;
	float:left;
}

.frame-form .campo-right{
	float:right;
}

/* Mensagens
   ========================================================================== */
.frame-form-msg{
	margin:0 1.5% 0.8em 1.5%;
	padding:2em 3em 1.1em 5em;
	position:relative;
	list-style:none;
	border:solid 1px;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
}

.msg-fechar{
	width:14px;
	height:14px;
	top:20px;
	right:12px;
	z-index:2;
	position:absolute;
	text-indent:-9999px;	
}

.msg-fechar:hover{
	opacity:0.5;
	filter: alpha(opacity=50);
}

.frame-form-msg h2{
	margin:0 0 0.2% 0;		
	color:#2b2b2b;
	font:1.8em/1.2em Tahoma, Geneva, sans-serif;
}

.frame-form-msg li{
	margin:0 0 0.2% 0;
	font:1.4em/1.2em Tahoma, Geneva, sans-serif;
}

.frame-form-msg.info{
	border-color:#bcdfef;
	background:#D1ECF7 url(../img/info.png) no-repeat 20px 24px;
}

.info .msg-fechar{
	background:url(../img/ico-fechar-azul.png) no-repeat;
}

.frame-form-msg.info strong{
	color:#11689E;
}

.frame-form-msg.aviso{
	border-color:#fceb77;
	background:#fff6bf url(../img/warning.png) no-repeat 20px 24px;
}

.aviso .msg-fechar{
	background:url(../img/ico-fechar-amarelo.png) no-repeat;
}

.frame-form-msg.aviso strong{
	color:#ac8f09;
}

.frame-form-msg.erro{
	border-color:#f6abab;
	background:#FAD0D0 url(../img/error.png) no-repeat 20px 24px;
}

.erro .msg-fechar{
	background:url(../img/ico-fechar-vermelho.png) no-repeat;
}

.frame-form-msg.erro strong{
	color:#b01717;
}

.frame-form-msg.sucesso{
	border-color:#d0f1a6;
	background:#E5F8CE url(../img/success.png) no-repeat 20px 24px;
}

/* ==========================================================================
   Botoes
   ========================================================================== */
.btn{
	cursor:pointer;
	margin:0 10px 0 0;
	padding:8px 20px;
	display:inline-block;
	color:#FFF;
	font:1.4em Verdana, Geneva, sans-serif;
	border:solid 1px;   
    /*-webkit-border-radius:2px;
	-moz-border-radius:2px;
	border-radius:2px;	
	-webkit-box-shadow:		
		inset 0px 0px 0px 1px rgba(255, 255, 255, 0.4),
		0 0 4px 0 rgba(0,0,0,0.5);
    -moz-box-shadow:
		inset 0px 0px 0px 1px rgba(255, 255, 255, 0.4),
		0 0 4px 0 rgba(0,0,0,0.5);
	box-shadow:
		inset 0px 0px 0px 1px rgba(255, 255, 255, 0.4),
		0 0 4px 0 rgba(0,0,0,0.5);*/	
}
 
.btn:hover{
	text-decoration:none;
}

.btn-add{
	padding:12px 25px 12px 15px;
}
 
.btn-add img{
	margin:0 12px 0 0;
	vertical-align:middle;
}
/* Cores botoes
   ========================================================================== */

 .btn-add{
	border-color:#6da144;
	background: rgb(161,188,63); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(161,188,63,1) 0%, rgba(120,166,67,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(161,188,63,1)), color-stop(100%,rgba(120,166,67,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(161,188,63,1) 0%,rgba(120,166,67,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(161,188,63,1) 0%,rgba(120,166,67,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(161,188,63,1) 0%,rgba(120,166,67,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(161,188,63,1) 0%,rgba(120,166,67,1) 100%); /* W3C */	
}