*{
    margin: 0px;
    padding: 0px;
}

/* Canvas remove class */

.nocanvas-whitebackground{
    background-color: #FFF;
}
.nocanvas-blackbackground{
    background-color: #000;
}
.nocanvas-redbackground{
    background-color: #b13a22;
}

body{
    font-size: 11pt;
    font-family: sans-serif;
    color: #EEE;
}

h1, h2, h3, h4, h5, h6, p{
    margin: 0.25em 0px;
}

h1, h2, h3, h4, h5, h6{
    color: #b13a22;
}

h1{font-size: 160%;}
h2{font-size: 140%;}
h3{font-size: 120%;}
h4{font-size: 110%;}
h5{font-size: 105%;}
h6{font-size: 100%;}

hr{
    margin: 3px 0px;
}

img{
    margin: 0px;
    border-width: 0px;
}

ul, ol{
    margin-left: 2em;
    margin-top: 0.25em;
    margin-bottom: 0.25em;
}

li p{
    padding-left: 0.5em;
    margin: 0px;
    margin-bottom: 0.5em;
    font-size: 85%;
}

a{
    color: #b13a22;
    font-weight: bold;
    text-decoration: none
}

/* Generic classes */

.center{
    text-align: center;
}

.bold{
    font-weight: bold;
}

.bolder{
    font-weight: bolder;
}

.width_auto{
    width: auto;
}

.red{
    color: red;
}

/* Header e Footer */

#header, #footer{
    color: #FFF;
}

#logo_quark, #logo_cia_athl{
    margin-top: 24px;
    margin-bottom: 0px;
}

#logo_quark{
    margin-left: 24px;
    float: left;
}
#logo_cia_athl{
    margin-right: 24px;
    float: right;
}

#header_inner_div{
    padding-top: 32px;
    margin-left: 216px;
    margin-right: 164px;
}

#header{
    height: 168px;
}

#footer{
    background-color: #40150c;
    padding: 32px;
    color: #FFF;
    font-size: 12pt;
}

#anunciantes{
    text-align: center;
    margin: 0px 200px 0px 100px;
}

.anunciante{
    display: inline;
    display: inline-block;
    margin: 0px 24px 8px 24px;
    padding: 4px 12px;
    background: url("/media/static/portal/box_anunciantes.png") no-repeat;
}

#icones{
    margin: 0px;
    padding: 0px;
    width: 64px;
    height: 64px;
}

/* Banners */

#header_banner{
    width: 500px;
    height: 100px;
    margin: 0px auto;
    overflow: hidden;
}

.banner_item{
    margin: 0px auto;
}

.aliados{
    text-align: center;
}
.aliados img{
    margin: 0px 24px;
}


/* Login BOX, embaixo do logo_quark e ao lado do header_menu */
#login_box{
    font-size: 9pt;
    float: left;
    position: absolute;
    top: 140px;
}
#login_box label{
    display: block;
    float: left;
    width: 4em;
    padding-left: 8px;
    vertical-align: bottom;
    font-size: 9pt;
}
#login_box #id_username{
    width: 10em;
}
#login_box #id_password{
    width: 6.7em;
}
#login_box #login_ok{
    width: 3em;
}
/* Menu */

.menu{
   padding: 4px 8px 4px 0px;
}
#header_menu{
    text-align: right;
}
#content_menu{
    color: #FFF;
}

.menu_item{
    font-size: 10pt;
    padding: 6px 0px 10pt 6px;
    display: inline;
}
.menu_item a{
    text-decoration: none;
    font-weight: bold;
    color: #FFF;
    padding: 0px;
    margin: 0px;
}

#header_menu .active a{
    color: #999;
}
.active a{
    color: #b13a22;
}

/* Conteudo */

#content_root{
    padding-bottom: 1px;/* $.height is ony working right with padding, even on IE 6 */
}

#content_middle{
    margin: 32px 16px;
    margin-left: 90px;
}

#content{
    padding: 8px;
    padding-bottom: 48px;
    color: #333;
    
    min-height: 375px; /* IE6 e 7 possem fix para isso no style_ie.css */
}

#content a{
    text-decoration: underline;
}

.accordion .ui-widget-content{
    background: none;
}

/* Portal */

.portal_row{
     margin-top: 2px; 
     margin-bottom: 2px; 
}

.portal_widget{
    height: 304px;
    font-size: 12px;
    font-family: "Arial",sans-serif;
}

.half_portal_widget{
    height: 152px;
}

.ativo_com_portal_widget{
    height: 400px;
}

.dicas_portal_widget{
    height: 92px;
}

.portal_widget h1{
    color: #FFF;
/*     height: 22px; */
    padding: 2px;
    text-align: center;
    margin: 0px;
    font-size: 18px;
    background-repeat: no-repeat;
}

.half_portal_widget h1{
/*     padding-top: 1px; */
    background-position: 98% center;
}

.portal_widget h2{
    font-size: 15px;
}
.portal_widget h3{
    font-size: 14px;
}
.portal_widget h4{
    font-size: 13px;
}
.portal_widget h5{
    font-size: 12px;
}
.portal_widget h6{
    font-size: 11px;
}

.portal_widget a{
    color: #333;
    font-weight: normal;
}

.left_portal_widget{
    float: left;
    clear: left;
    width: 400px;
}

.right_portal_widget{
    margin-left: 408px;
}

.border_top{
    border-top: 1px solid #999;
}

.half_portal_widget_content{
    font-size: 14px;
    height: 126px;
    overflow: auto;
}

.half_portal_widget .item{
    margin-top: 1px;
    padding-left: 0.5em;
}
.half_portal_widget p{
    margin: 0px;
    padding: 0px;
}
.half_portal_widget .item a{
}
.half_portal_widget .item .dados{
    font-size: 10px;
    color: #666;
    margin: 0px;
    padding: 0px;
    /*padding-left: 0.5em;*/
}

#calendario_ativo_com{
}
#calendario_ativo_com iframe{
    width: 100%;
    height: 250px;
}

#artigos h1{
    background-image: url("/media/static/portal/icone_noticias.png");
}
#corridas h1{
    background-image: url("/media/static/portal/icone_noticias.png");
}
#noticias h1{
    background-image: url("/media/static/portal/icone_noticias.png");
}
#dicas{
    margin-top: 4px;
    overflow: hidden;
}
#dicas h2{
    margin: 0px;
}
#dicas div{
    background-color: #DDD;
    border-radius: 3px;
    -moz-border-radius: 8px;
    margin: 3px;
    padding: 4px 8px;
}
#dicas p{
    font-size: 11pt;
}

#controles_eventos{
    position: absolute;
    z-index: 10; /* Precisa ser maior que o numero de elementos */
}

#controles_eventos #botao_esquerdo{
    float: left;
    cursor: pointer;
}
#controles_eventos #botao_direito{
    float: right;
    cursor: pointer;
}

#calculadoras{
    z-index: 100000;
}

#calculadoras_accordion h1{
    height: 26px;
    margin: 0px;
    padding: 0px;
    font-size: 20px;
    
    background-repeat: no-repeat;
    border: 0px solid transparent;
    
    /* Remover arredondamentos do jquery ui */
    border: 0px solid transparent;
    -moz-border-radius: 0px;
}

#calculadoras_accordion .calculadoras_conteudo{
    overflow: hidden !important;
    padding: 8px;
    padding-top: 4px;
    border: 0px solid transparent;
}

#calculadoras_accordion p{
    font-family: monospace;
    font-size: 12px;
    margin: 0px;
    padding: 0px;
    margin-top: 2px;
    color: #111;
}

#calculadoras_accordion #calc_2_conteudo p{
    color: #FFF;
}

#calculadoras h2{
    margin: 0px;
    padding: 0px;
    padding-top: 8px;
    color: #444;
    text-align: center;
}

#calculadoras #calc_2_conteudo h2{
    color: #EEE;
}

#calculadoras_accordion input{
    width: 38px;
    text-align: center;
    border: 1px solid #666;
    margin: 1px;
}

#calculadoras_accordion #calc_1_conteudo input{
    background-color: #eedaca;
}
#calculadoras_accordion #calc_2_conteudo input{
    background-color: #8fb0c3;
    color: #EEE;
}

#calculadoras .tempo{
    width: 24px;
}

#calculadoras #vo2_dist{
    width: 42px;
}

#calculadoras_accordion .calculadoras_resultado{
    width: 50px;
    font-size: 16px;
    font-weight: bold;
}

#calculadoras_accordion #calc_1_conteudo .calculadoras_resultado{
    background-color: #eec09b;
}
#calculadoras_accordion #calc_2_conteudo .calculadoras_resultado{
    background-color: #619fc3;
}

#calculadoras_accordion #calc_1{
    background: url("/media/static/portal/calc1.png");
}
#calculadoras_accordion #calc_1_conteudo{
   background: #edac77;
}
#calculadoras_accordion #calc_2{
   background: url("/media/static/portal/calc2.png");
}
#calculadoras_accordion #calc_2_conteudo{
   background: #579cc3;
}

#album_fotos{
    margin: 4px 0px;
    overflow: hidden;
}

#album_fotos img{
    margin: 8px 0px;
    vertical-align: middle;
}

#album_foto_img{
    margin-left: 8px !important;
}



/* Extras - Bolas das laterais*/

.bolas_ajuste_menu{
    padding-right: 224px !important;
}

.bolas_ajuste_content{
    padding-right: 100px !important;
}

#bolas{
    position: absolute;
    right: 0px;
    top: 128px;
}

#bolas *{
    display: block;
    float: right;
    clear: right;
    border: 0px none;
/*     z-index: -1; */
}

#menu_lateral{
    position: absolute;
    left: 0px;
    top: 216px;
    background-image: url("/media/static/portal/menu_lateral.png");
    background-repeat: no-repeat;
    width: 82px;
    height: 317px;
    padding-top: 16px;
}

#menu_lateral img{
    display: block;
    margin-bottom: 10px;
}

#menu_lateral .quadro{
    position: absolute;
    background-color: #000;
    opacity: 0.85;
    width: 360px;
    color: #EEE;
    padding: 12px;
    
    font-size: 10pt;
    
    z-index: 100000000;
}

#menu_lateral #quadro_previsao_tempo img{
    float: right;
    clear: right;
}
#menu_lateral #quadro_previsao_tempo .previsao_futura{
    margin-left: 1em;
    border-bottom: 1px solid #CCC;
}
#menu_lateral #quadro_previsao_tempo p.clima{
    font-size: 110%;
}
#menu_lateral #quadro_previsao_tempo p{
    font-weight: bolder;
    color: #FFF;
}
#menu_lateral #quadro_previsao_tempo p .rotulo{
    font-weight: normal;
    color: #CCC;
}

#menu_lateral #quadro_calendario{
    width: 650px;
}
#menu_lateral #quadro_calendario .item a{
    color: #FFF;
    text-decoration: underline;
}
#menu_lateral #quadro_calendario .item .dados{
    color: #CCC;
    font-size: 60%;
    padding-left: 0.5em;
}

#menu_lateral #quadro_facebook{
    width: 850px;
    height: 495px;
    opacity: 0.95;
}

#menu_lateral #quadro_facebook #fb_div{
    background-color: #FFF;
}

/* Paginas do Portal */

/* Professores */

.professores img{
    float: right;
    margin-left: 1em;
}
.professores .dados_professor{
    margin-left: 1em;
    margin-bottom: 0.5em;
}
.professores .campo_professor{
    font-size: 1.2em;
}

/* Forms */

form p{
    padding: 0px 16px;
    margin: 0px;
    margin-bottom: 1em;
}

form label{
    display: block;
}

form input, form .errorlist{
    width: 256pt;
}

#admin_professor form input.submit{
    width: auto;
    padding: 0px;
    margin: 0px;
    font-size: 11pt;
}

form input.submit{
    width: auto;
    font-size: 14pt;
    padding: 0px 1em;
    margin-top: 0.25em;
}

form textarea{
    width: 100%;
}

label[for="id_sem_multa"], label[for="id_pago_agora"], label[for="id_liberar"]{
    display: inline;
}
#id_sem_multa, #id_pago_agora, #id_liberar{
    width: auto;
}

form .errorlist{
    text-align: left;
    margin: 0px 16px;
}

form .errorlist li{
    margin: 0px 24px;
}

.form_table, .form_table td, .form_table th{
    border: 0px solid transparent;
}
.form_table th{
    width: 22em;
    text-align: right;
    vertical-align: middle;
}
.form_table label{
    display: inline;
}
.form_table textarea,.form_table input{
    width: 20em;
}
.form_table textarea,.form_table input,.form_table select{
    margin-left: 1em;
}
.form_table textarea{
    height: 4em;
}
.form_table ul{
    padding-left: 0px;
}
.form_table li{
    list-style-type: none;
}
.form_table label input{
    width: 1em;
}
.submit, .nav{
    text-align: center;
}
.submit input{
    font-size: 12pt;
}
.errorlist{
    margin: 0;
    background-color: #ffff00;
    width: 20em;
    text-align: center;
    font-size: 10px;
}

.small_font{
    font-size: 60%;
}

/* Tabela */

/*
#content table{
    text-align: left;
    width: 100%;
}
#content table .table_header{
    font-weight: bold;
    text-align: center;
    background-color: #b13a22;
    color: #FFF;
}
*/

table{
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #111;
}

table td, table th{
    border-bottom: 1px solid #999;
    padding: 0px 0.3em;
}

table .cabecalho th, table .cabecalho td{
    text-align: center;
    font-weight: bolder;
    background-color: #b13a22;
    color: #EEE;
    padding: 0.1em 0px;
    border-bottom: 1px solid #111;
}

table td{
    border-left: 1px solid #111;
}

/* Caixa de mensagens */

#mensagens{
    background-color: yellow;
    margin-bottom: 1em;
    margin-left: 2em;
    margin-right: 2em;
}

/* GoogleMaps */

#map{
    width: 90%;
    height: 500px;
    margin-left: 16px;
}

/* Fotos */

.album_item{
    height: 150px;
}

.album_item .album_item_imagem{
    float: left;
    margin-right: 2px;
}

.album_item .album_item_texto{
    font-size: 10pt;
    color: #999;
}

.album_item .album_item_thumbs{
    margin-top: 8px;
}

.album_item .album_item_thumbs img{
    vertical-align: middle;
    margin-right: 4px;
}

#table_fotos{
    border-width: 0px;
}

#table_fotos td{
    text-align: center;
    vertical-align: middle;
    height: 120px;
    border-width: 0px;
}

/* Hacks, Fix, etc */

#ui-datepicker-div{
    display: none;
}/* Tira a faixa branca abaixo do footer onde o Datepicker é usado */

/* Parceiros, banners, pagseguro */
