/* modal */

.modal, .modal2 {
	display: none;
	width: 543px;
	position: fixed; top: 17%; left: 50%; margin-left: -220px;
	font: normal 12px Arial, Helvetica, sans-serif;
	color: #5C1010;
}

    .modal form, .modal2 form {
        margin:0; padding:0;
    }

	.modal .clear, .modal2 .clear {
		position: relative;
		clear: both;
		height: 1px;
		font-size: 1px;
	}

	.modal_round_top {
		width:100%; height:5px; overflow:hidden;
		background: url(../images/modal_round_top.gif) no-repeat;
	}
	
	.modal_round_bottom {
		width:100%; height:5px; overflow:hidden;
		background: url(../images/modal_round_bottom.gif) no-repeat;
	}
	
	.modal_header {
		width:100%; height:53px;
		background: url(../images/modal_header_bg.jpg) no-repeat;
		position:relative;
	}
	
		.modal_header h3 {
			text-indent:-999999px; overflow:hidden;
			margin:0; padding:0;
		}
		
		.modal_close {
			display:block; text-indent:-999999px; overflow:hidden;
			width:40px; height:42px;
			position:absolute; right:9px; top:2px;
			background:url(../images/modal_close.jpg) no-repeat;
		}
	
	.modal .modal_middle, .modal2 .modal_middle {
		background: #fff;
		width: 100%;
	}
	
	    .modal_middle .validation-summary-errors {
            width:495px;
	        color:red;
	        font-weight:bold;
	    }
	    
	    .modal_middle span.validation-summary-errors {
	        margin:0; padding:0 24px 0 24px;
	        font-size:16px;
	        display:block;
	        color: #5B0E0E;
	    }
	
	    .modal_middle ul.validation-summary-errors {
	        list-style: inside;
	        margin:0; padding:10px 24px 10px 24px;
	    }
	
	.modal_form {
		width:531px;
		margin:0 0 0 6px;
	}
	
		.modal_form ul {
			margin:0; padding:0;
			list-style:none;
		}
		
			.modal_form ul li {
				margin:0; padding:10px 0 4px 12px;
				height: 33px;
				background: url(../images/modal_form_bg.gif) no-repeat;
			}
			
				.modal_form ul li input {
					margin:0 8px 0 8px;
				}
				
				.modal_form ul li label {
					font-weight:bold; font-size:1.2em;
				}
	
	

		.modal_form2 {
			width:531px;
			margin:0 0 0 6px;
			background: url(../images/modal_form2_bg.gif) repeat-y;
		}
		
			.modal_form2_round_top {
				width:100%; height:5px; overflow:hidden;
				margin:0 0 3px 0;
				background: url(../images/modal_form2_round_top.gif) no-repeat;
			}

			.modal_form2_round_bottom {
				width:100%; height:5px; overflow:hidden;
				margin:3px 0 0 0;
				background: url(../images/modal_form2_round_bottom.gif) no-repeat;
			}

    .modal_ok {
        background: url(../images/modal_bt_ok.gif) no-repeat;
        width:72px; height:29px;
        display:block; text-indent:-99999px; overflow:hidden;
        margin:15px auto;
    }

/* modal de confirmação do voto */

.modal_voto h3 {
	width:329px; height:42px;
	position:absolute; top:2px; left:14px;
	background:url(../images/modal_confirma_voto.jpg) no-repeat;
}

.modal_voto h4 {
	font-size: 1.2em;
	margin:0; padding:34px 24px 0 24px;
	width:495px;
}

	.modal_voto h4 span {
		color: #B61115;
	}

.modal_voto p {
	line-height:1.5em;
	margin:0; padding:26px 24px 38px 24px;
	width:495px;
}

	.modal_voto p .quote {
		font-size:1.6em;
	}

	.modal_voto .captcha_img {
		width:208px; height:52px;
		text-align:center;
		float:left;
	}

	.modal_voto .captcha_txt {
		width:323px;
		float:left;
	}

		.modal_voto .captcha_txt label {
			font-weight:bold; font-size:1.2em;
			display:block;
			
		}
		
		.modal_voto .captcha_txt input {
			display: block;
			float: left;
			margin:6px 6px 0 0;
		}
		
		.modal_voto .captcha_txt .confirmar {
			margin:3px 0 0 0;
			
		}

		
/* modal de divulgação */

.modal_divulgue h3 {
	width:283px; height:44px;
	position:absolute; top:5px; left:11px;
	background:url(../images/modal_divulgue.jpg) no-repeat;
}

.modal_divulgue h4 {
	font-size: 1.2em;
	margin:0; padding:0 24px 10px 24px;
	width:495px;
}

.modal_divulgue h4.homenagem {
	padding:34px 24px 0 24px;
}

	.modal_divulgue h4 span {
		color: #B61115;
	}

.modal_divulgue p {
	line-height:1.5em;
	margin:0; padding:26px 24px 38px 24px;
	width:495px;
}

	.modal_divulgue p .quote {
		font-size:1.6em;
	}

.modal_divulgue .modal_form ul li.modal_enviar {
	padding:0; margin:4px 0 0 0;
	background: url(../images/modal_bg_setas.gif) repeat-x; background-position:-6px 5px;
	text-align:right;
}

.modal_divulgue .modal_form ul li.modal_enviar input {
	margin:0;
}

.modal_divulgue .modal_form2 label {
	margin:0 0 10px 8px;
	font-weight:bold; font-size:1.2em;
	display:block;
}

.modal_divulgue .modal_form2 input {
	margin:0 0 0 8px;
	width:506px;
}


/* modal2 */

.modal2 {
	width: 351px;
	position: fixed; top: 17%; left: 50%; margin-left: -175px;
}

	.modal2 .modal_round_top {
		background: url(../images/modal2_round_top.gif) no-repeat;
	}
	
	.modal2 .modal_round_bottom {
		background: url(../images/modal2_round_bottom.gif) no-repeat;
	}
	
	.modal2 .modal_header {
		background: url(../images/modal2_header_bg.jpg) no-repeat;
	}
	
	.modal2 .modal_middle {
	    background:#fff;
	}
	
	    .modal2 .modal_middle p {
	        margin:0; padding:25px 38px 20px 38px;
	        line-height:1.5em;
	    }
	
        .modal2 .modal_middle .validation-summary-errors {
            width: 270px;
        }
    
	    .modal2 .modal_middle span.validation-summary-errors {
	        display:none;
	    }
	
	     .modal2 .modal_middle ul.validation-summary-errors {
	        list-style:none;
	        margin:0; padding:0 38px 10px 38px;
	    }

/* login */

.modal_login h3 {
    width:218px; height:45px;
    position:absolute; top:2px; left:11px;
    background:url(../images/modal_id_titulo.gif) no-repeat;
}

.modal_login .modal_form {
    background: url(../images/modal2_login_bg.gif) no-repeat;
    height:100px; width: 278px;
    margin:0 0 0 36px; padding: 14px 0 26px 0;
}

    .modal_login .modal_form ul li {
        padding:0; margin:0;
        background: none;
        height:30px;
    }

        .modal_login .modal_form ul li label {
            display:block; float:left;
            width:58px; padding:0 0 0 16px;
            line-height:22px;
        }

        .modal_login .modal_form ul li input {
            display:block; float:left;
            width:178px;
        }

        .modal_login .modal_form ul li .modal_acessar {
            width:auto; height: auto;
            float:none; margin:0 0 0 192px;
        }
        

/* modal validate */ 

.modal_validate h3 {
    width:146px; height:39px;
    position:absolute; top:7px; left:11px;
    background:url(../images/modal_atencao_titulo.gif) no-repeat;
}
        
        .modal2 .modal_validate .modal_middle {
            width: 275px;
            margin:0; padding:20px 38px 10px 38px;
        }


        .modal2 .modal_validate .modal_middle .validation-summary-errors {
            padding:0; 
            display:block;
            width:auto;
        }
    
	    .modal2 .modal_validate .modal_middle span.validation-summary-errors {
	        font-size: 16px;
	        padding-bottom:10px;
	        color: #5B0E0E;
	    }
	    
	    

/* jquery.modal */

.jqmOverlay { 
	background-color: #000;
}

* iframe.jqm { 
	position:absolute; top:0; left:0; z-index:-1;
	width: expression(this.parentNode.offsetWidth+'px'); height: expression(this.parentNode.offsetHeight+'px');
}

* html .modal, * html .modal2 { 
	position: absolute; top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}