body {
  background-color: #EFEFEF;
}
.blockUI.blockMsg h1 {
  width: 270px;
  display: block;
  margin: 0 auto;
  background: url('../img/ajax-loader.gif') transparent no-repeat center left;
}
.t-right {
  text-align: right !important;
}
.portal-conteudo .tabbable .nav-tabs {
  margin: 0;
  padding: 0;
}
.portal-conteudo .conteudo {
  background-color: #FFF;
  border: 1px solid #ddd;
  border-top: 0;
  padding: 10px;
}
.portal-conteudo .conteudo .table {
  margin: 0;
}
/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */
html,
button,
input,
select,
textarea {
  color: #222;
}
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
::selection {
  background: #b3d4fc;
  text-shadow: none;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
img {
  vertical-align: middle;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
textarea {
  resize: vertical;
}
.chromeframe {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}
/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */
.wrapper {
  width: 90%;
  margin: 0 5%;
}
/* ===================
    ALL: Orange Theme
   =================== */
.header-container {
  background: url(../images/bg.png) left bottom #ffffff;
  text-align: center;
}
/* ==============
    MOBILE: Menu
   ============== */
nav ul {
  margin: 0;
  padding: 0;
}
nav a {
  display: block;
  margin-bottom: 10px;
  padding: 15px 0;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  color: white;
  background: #e44d26;
}
nav a:hover,
nav a:visited {
  color: white;
}
nav a:hover {
  text-decoration: underline;
}
/* ==============
    MOBILE: Main
   ============== */
.main {
  padding: 30px 0;
}
.footer-container footer {
  color: white;
  padding: 20px 0;
}
/* ===============
    ALL: IE Fixes
   =============== */
.ie7 .title {
  padding-top: 20px;
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (min-width: 480px) {
  /* ====================
      INTERMEDIATE: Menu
     ==================== */
  nav a {
    float: left;
    width: 27%;
    margin: 0 1.7%;
    padding: 25px 2%;
    margin-bottom: 0;
  }
  nav li:first-child a {
    margin-left: 0;
  }
  nav li:last-child a {
    margin-right: 0;
  }
  /* ========================
      INTERMEDIATE: IE Fixes
     ======================== */
  nav ul li {
    display: inline;
  }
  .oldie nav a {
    margin: 0 0.7%;
  }
}
@media only screen and (min-width: 768px) {
  /* ====================
      WIDE: CSS3 Effects
     ==================== */
  /* ============
      WIDE: Menu
     ============ */
  nav {
    float: right;
    width: 38%;
  }
  /* ============
      WIDE: Main
     ============ */
  .main article {
    float: left;
    width: 50%;
  }
  .main aside {
    float: right;
    width: 50%;
  }
}
@media only screen and (min-width: 1140px) {
  /* ===============
      Maximal Width
     =============== */
  .wrapper {
    width: 1026px;
    /* 1140px - 10% for margins */
  
    margin: 0 auto;
  }
}
/* ==========================================================================
   Helper classes
   ========================================================================== */
.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  *text-indent: -9999px;
}
.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
}
.hidden {
  display: none !important;
  visibility: hidden;
}
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}
.invisible {
  visibility: hidden;
}
.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1;
}
/* ==========================================================================
   Print styles
   ========================================================================== */
@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster: h5bp.com/s */
  
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
   * Don't show links for images, or javascript/internal links
   */
  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
    /* h5bp.com/t */
  
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  @page  {
    margin: 0.5cm;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}
.publicacoes .tabbable .nav-tabs {
  margin: 0;
  padding: 0;
}
.publicacoes .tabbable .tab-content {
  background-color: #FFF;
  border: 1px solid #ddd;
  border-top: 0;
  padding: 10px;
}
.publicacoes .tabbable .nav-tabs li {
  white-space: nowrap;
}
.publicacoes .tabbable .tab-content .table {
  margin: 0;
}
.publicacoes .filtros {
  background-color: #EFEFEF;
}
.publicacoes .filtros th {
  vertical-align: middle;
}
.publicacoes .filtros .datepicker {
  width: 75px;
  margin: 0 5px 0;
}
.publicacoes .filtros input,
.publicacoes .filtros label {
  display: inline-block;
  margin-bottom: 0;
}
.publicacoes .filtros .checkbox {
  margin: 0;
  margin-top: -2px;
}
.publicacoes .filtros .btn {
  margin-left: 10px;
}
.publicacoes .rodape {
  background-color: #EFEFEF;
}
.publicacoes .rodape td {
  vertical-align: middle;
}
.publicacoes .rodape .pagination {
  margin: 0;
  height: 27px;
}
.publicacoes .rodape .pagination a {
  line-height: 25px;
}
.publicacoes .publicacoes-enviar .lista-datas p {
  margin: 5px 0 0;
}
.publicacoes .publicacoes-enviar .lista-datas .error {
  text-decoration: line-through;
}
.publicacoes .publicacoes-enviar .lista-datas .error a {
  color: #999;
}
.publicacoes .publicacoes-enviar .text {
  width: 96%;
}
.publicacoes .publicacoes-confirmar legend {
  border: none;
}
.publicacoes .publicacoes-confirmar table {
  margin-bottom: 20px !important;
  border-bottom: 1px solid #DDD;
}
.publicacoes-confirmacao {
  border: 1px solid #DDD;
  height: 500px;
}
.publicacoes-confirmacao .content {
  padding: 10px;
}
.table_materia_preview {
  margin-top: 40px;
  height: 400px;
  overflow: hidden;
}
.table_materia_preview td {
  background-color: #EFEFEF;
  border: 5px solid #FFF;
  font-size: 9px;
  font-family: Arial;
  color: #666;
  vertical-align: top;
}
.table_materia_preview td.first {
  background-color: #08c;
}
.publicacoesEnviarCategoriasTree .pai {
  color: #000;
  cursor: default;
}
.publicacoesEnviarCategoriasTree .pai:hover {
  text-decoration: none;
}
.publicacoesEnviarCategoriasTree .active {
  font-weight: bold;
}
#portal-usuarios-modal {
  width: 900px;
  margin-left: -450px;
  display: none;
}
#portal-usuarios-modal form {
  margin: 0;
}
#portal-usuarios-modal form .control-group {
  margin-bottom: 10px;
}
#portal-usuarios-modal form .form-actions {
  margin-bottom: 0px;
  text-align: center;
  padding-left: 0;
}
#portal-usuarios-modal form .categorias h3 {
  font-size: 14px;
  margin-botom: 0 !important;
  line-height: 18px;
}
#portal-usuarios-modal form .categorias .slider {
  height: 250px;
  overflow: auto;
  border: 1px solid #EFEFEF;
}


    #imagemCapa { 
      border: solid 1px #efefef;
      min-height: 450px;
      min-width: 330px;
      position: relative;
      z-index: 8;
      max-height: 450px;
    }
    .preview-diario .processing {
      position: absolute; 
      top: 13px; 
      left: 50%; 
      margin-left: -175px;
      min-height: 450px;
      min-width: 350px;
      max-height: 450px;
      z-index: 999; 
      background-image: url(../images/processing.gif); 
      background-color: rgba(0, 0, 0, 0.4); 
      background-position: 50% 50%; 
      background-repeat: no-repeat no-repeat;
    }




#editor {
  resize:none; 
  overflow:auto; 
  border:1px solid silver; 
  border-radius:5px; 
  min-height:200px;
  box-shadow: inset 0 0 10px silver;
  padding:1em;
  clear: both;
  color: #000;
  overflow: auto;
  margin:0;
  max-height: 400px;
}

#editControls .btn, #editControls label {
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  padding: 5px 8px 6px;
  font-size: 13px;
  line-height: normal;
  border: 1px solid #ccc;
  -webkit-transition: 0.2s linear all;
  -moz-transition: 0.2s linear all;
  transition: 0.2s linear all;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  width: auto;
  color:#666;
  background: #f4f4f4;
  float: left;
  margin-right: 3px;
  margin-bottom: 5px;
}

#editControls label {
  border-color: transparent;
  background: transparent;
  cursor: default;
}

#editControls .btn-group {
  float: left;
  margin-left: 0;
  margin-right: 7px;
}

.controls-edit {
  text-align:right; 
  margin-top: 10px;
}
.editorhtml {
  border: solid 1px #ccc;
  padding-left: 11px;
  padding-right: 40px;
  padding-bottom: 10px;
  border-radius: 6px
}
.editorhtml .alert {
  clear: both;
  margin-left: 23px;
  margin-top: 40px;
}
.editorhtml .titulo {
  padding: 3px;
  font-size: 17px;
  line-height: 20px;
  margin-top: 10px;
  display: inline-block;
}


.preview-diario a .capa-tip {
  display: block;
  position: absolute;
  width: 200px;
  margin-top: -20px;
  margin-left: -100px;
  top: 50%;
  left: 50%;
  z-index: 999;
  background: rgba(0,0,0,.7);
  color: #fff;
  box-shadow: 2px 2px 3px rgba(0,0,100,.4);
  padding: 15px 0;
  font-size: 18px;
  text-shadow: 1px 1px 0px #000;
  border-radius: 5px;
  display: none;
}

.preview-diario a:hover .capa-tip  {
  display:block;
}











#container_up div {
    display: none;
}
#console .error{
    color: #f00;
}