@import 'variables.less';

div#boxForm {
  width: 1000px;

  div.clearBoth {
    clear: both;
  }
  form div.separator {
    width: 100%;
    height: 22px;
    color: #666666;
    border-bottom: 1px solid #666666;
    padding: 2px 0;
    margin: 0 5px;
    margin-bottom: 2px;
    margin-top: 10px;
    font-weight: 600;
    float: left;

    font-family: @fonte-principal;
    font-size: 15px;
  }
  form div.description strong,
  form div.description b,
  form div.description u,
  form div.description i {
    font-size: 9px;
    line-height: 15px;
  }
  form div.description {
    width: 100%;
    color: #666666;
    padding: 2px 0;
    margin: 0 5px;
    margin-bottom: 2px;
    margin-top: 2px;
    font-size: 9px;
    line-height: 21px;
    float: left;

    font-family: @fonte-principal;
    font-size: 13px;
    font-weight: 500;
  }
  form div.description a {
    font-size: 9px;
    text-decoration: underline;
  }
  form div.description a:hover {
    color: #000000;
    text-decoration: underline;
  }

  div.lkp_multselect {
    display: inline-block;
    margin: 10px;
    width: 100%;

    .multiselect{
      width: 972px;
    }

    .ui-multiselect{

      .fnc-border-radius();

      .ui-widget-header{
        background: none!important;
        background-color: @cor-principal!important;

        &,& span, & a {
          font-family: @fonte-principal;
          font-weight: 400;
          font-size: 12px;
        }
      }

      .ui-element{
        background: none!important;
        background-color: @cor-cinza-claro!important;

        font-family: @fonte-principal;
        font-weight: 400;
        font-size: 12px;
      }

      input.search{
        width: 300px;

        .fnc-border-radius();
      }

    }
  }
  div.field label.legend {
    font-family: @fonte-principal;
    font-size: 12px;
    line-height: 20px;
    width: 100px;
    display: block;
    height: 20px;
    text-align: right;
    padding-right: 5px;
    margin: 10px 0;
    border-right: 5px solid #DFDFDF;
    float: left;
  }

  div.field.required label.legend {
    border-right: 5px solid #666666;
  }

  div.readonly input {
    background-color: #F3F3F3;
    color: #999999;
  }
  div.field {
    input, textarea,select{

      border: 1px solid @cor-cinza-claro-sup;

      .fnc-border-radius();

      &[readonly]{
        background-color: @cor-cinza-claro-sup;
        border: 1px solid @cor-cinza-claro-sup;
        color: @cor-cinza;
      }

      &:focus{
        border-color: @cor-cinza;
      }

    }

    input:not([type=file]){
      color: #999999;

      float: left;
      height: 20px;
      line-height: 20px;
      background-color: #FFFFFF;
      font-size: 11px;
      padding: 4px 12px;
      margin: 5px;

      font-family: @fonte-principal;
      font-size: 13px;

      &.arquivo {
        background: none;
        border: 0;
        height: 25px;
      }

    }

    input[type=file]{
      padding: 0 5px;
      border: 0;
    }

    textarea {
      color: #999999;
      float: left;
      line-height: 20px;
      background-color: #FFFFFF;
      font-size: 11px;
      padding: 4px;
      margin: 5px;

      font-family: @fonte-principal;
      font-size: 13px;
    }

    select {
      color: #999999;
      float: left;
      height: 24px;
      line-height: 20px;
      background-color: #FFFFFF;
      font-size: 11px;
      margin: 8px 5px;

      font-family: @fonte-principal;
      font-size: 13px;

      .fnc-border-radius();
    }

  }
  div.readonly select {
    background-color: #F3F3F3;
    color: #999999;
  }
  div.field {
    background-color: @cor-cinza-claro;
    color: white;
    float: left;
    position: relative;

  }
  div.col1 {
    width: 25%;
    //background-color: #ffff00;

    input, textarea{
      width: 104px;
    }
    select{
      width:130px;
    }

  }
  div.col2 {
    width: 50%;
    //background-color: #005580;

    input, textarea{
      width: 354px;
    }
    select{
      width:380px;
    }

  }
  div.col3 {
    width: 75%;
    //background-color: greenyellow;

    input, textarea{
      width:604px;
    }
    select{
      width:574px;
    }
  }
  div.col4 {
    width: 100%;
    //background-color: palevioletred;

    input{
      width: 854px;
    }

    input[type=password]{
      width: 376px;
    }

    input[type=file]{
      width: 867px;
    }

    textarea{
      width:870px;
    }
    select{
      width:840px;
    }
  }
  div.spaceWhite {
    height: 30px;
    float: left;
    position: relative;
  }

  div.newLine{
    clear: both;
    height: 1px;
  }

  /** String **/
  div.string label.legend {
  }



  /** Number **/
  div.number input {
    text-align: right;
  }


  /** Image **/
  div.image div.img {
    width: 879px;
    height: 150px;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    margin-left: 114px;
    margin-top: 5px;
    background-position: center;
    background-repeat: no-repeat;
  }
  div.image img.img_zoom {
    margin: 10px;
    position: absolute;
  }
  div.image div.img img.delete {
    float: right;
    margin: 6px;
    cursor: pointer;
  }
  div.image div.img.noimage {
    background-image: url(../images/form_image_noimage.jpg);
  }
  div.image div.painel {
    width: 879px;
    height: 30px;
    background-color: @cor-cinza-claro-sup;
    border: 1px solid @cor-cinza-claro;
    margin-left: 114px;
    margin-top: 6px;
  }
  div.image div.painel span.status {
    font-size: 10px;
    height: 30px;
    line-height: 30px;
    width: 739px;
    padding: 0 10px;
    display: block;
    float: left;
    overflow: hidden;
  }
   div.image div.painel span.status b {
    font-size: 10px;
  }
   div.image div.painel span.status span.warning {
    color: #999999;
    font-size: 9px;
    margin: 4px;
  }
   div.image div.painel img.btn_upload {
    padding-left: 4px;
    padding-top: 2px;
    cursor: pointer;
  }
   div.image div.painel input[type=file] {
    margin: 5px 0;
  }
  /** File **/

  div.file div.painel img.delete {
    float: left;
    margin: 9px;
    cursor: pointer;
  }
   div.file div.painel img.down {
    float: left;
    margin-top: 3px;
    margin-right: 8px;
    cursor: pointer;
  }
   div.file div.painel {
     width: 879px;
     height: 30px;
     background-color: @cor-cinza-claro-sup;
     border: 1px solid @cor-cinza-claro;
     margin-top: 6px;
  }
   div.file label.legend {

  }
   div.file div.painel span.status {
    height: 30px;
    line-height: 30px;
    width: 599px;
    padding: 0 10px;
    display: block;
    float: left;
    overflow: hidden;
    margin-bottom: 15px;
  }
   div.file div.painel span.status span.txt {
    font-size: 10px;
    height: 30px;
    line-height: 30px;
  }
   div.file div.painel span.status b {
    font-size: 10px;
  }
   div.file div.painel span.status span.warning {
    color: #999999;
    font-size: 9px;
    margin: 4px;
  }
   div.file div.painel img.btn_upload {
    padding-left: 4px;
    padding-top: 2px;
    cursor: pointer;
  }
   div.file div.painel input[type=file] {
    margin: 5px;
  }
  /** DateTime **/
   div.datetime label.legend {
  }
   div.datetime.col1 input {
    width: 100px;
  }
   div.datetime.col2 input {
    width: 350px;
  }
   div.datetime.col3 input {
    width: 600px;
  }
  /** Date **/
   div.date label.legend {
  }
   div.date,
   div.dateReadOnly {

     &.col1 input {
       width: 116px;
       padding-left: 6px;
       padding-right: 6px;
     }

  }

   ul#link {
    width: 100%;
    height: 22px;
    background-color: @cor-cinza-claro-sup;
    float: left;
    margin-top: 15px;

   .fnc-border-radius();
  }
   ul#link li {
    list-style: none outside none;
    float: left;
    margin: 0 5px;
  }
   ul#link li img {
    margin: 0 3px;
    position: relative;
    top: 4px;
  }
   ul#link li a,
   ul#link li a:hover {
    font-size: 10px;
    text-decoration: none;
  }
   ul#link li a sup {
    font-size: smaller;
    line-height: 13px;
    vertical-align: top;
    font-size: 8px;
    margin-left: -3px;
    color: #999999;
  }
}

span#devenv {
  font-size: 10px;
  color: #CCCCCC;
  padding-left: 2px;
  padding-top: 4px;
  display: block;

  u {
    font-size: 10px;
    color: #CCCCCC;
  }

}

label.error {
  background-color: @cor-principal;
  color: #FFFFFF;
  height: 20px !important;
  line-height: 20px;
  position: absolute;
  top: 12px;
  border: 0;
  font-size: 10px;
	padding: 0 5px;
}

div.string label.error {
  right: 10px;
	margin-top: -2px;
}
div.password label.error {
  right: 10px;
	margin-top: -2px;	
}
div.number label.error {
  right: 10px;
	margin-top: -2px;	
}
div.image label.error {
  right: 16px;
  top: 134px;
}
div.datetime label.error {
  right: 10px;
	margin-top: -2px;	
}
div.date label.error {
  right: 10px;
	margin-top: -2px;	
}
div.textarea label.error {
  right: 10px;
	margin-top: -2px;	
}

div.html label.error {
  right: 6px;
	margin-top: 69px;	
}
div.list label.error {
  left: 123px;
}
span#stack {
  font-size: 9px;
  color: #999999;
  display: block;
  margin: 5px 0;

  font-family: @fonte-principal;
  font-size: 13px;

  a {
    font-size: 9px;
    color: #999999;
    text-decoration: underline;
  }

  span.lastLevel {
    font-size: 9px;
    color: #999999;
  }

  a:hover {
    color: @cor-principal;
  }

}
/**
Campo Arquivo
**/

div#boxForm {

  div.field div.boxFileStreaming {
    width: 610px;
    height: 25px;
    float: left;
    padding: 5px;
    position: relative;
    background-color: #D4D4D4;
    border: #E4E4E4;
  }
  div.file label.legend {
    line-height: 25px;
    height: 25px;
  }
  div.field div.esquerda {
    width: 620px;
    float: left;
  }
  div.field div.boxFileStreaming .fileUploaderBtn {
    position: absolute;
    right: 5px;
  }

  div.field div.boxFileStreaming div.fileUploadQueue {
    display: none;
  }
  div.field div.boxFileStreaming div.fileUploadQueue .fileUploadQueueItem {
    height: 15px;
    padding: 5px;
    border: 0 !important;
  }
  div.field div.boxFileStreaming div.fileUploadQueue .fileUploadQueueItem .cancel {
    float: left;
  }
  div.field div.boxFileStreaming div.fileUploadQueue .fileUploadQueueItem .fileName {
    margin-left: 4px;
    font-size: 10px;
  }
  div.field div.boxFileStreaming div.fileUploadQueue .fileUploadQueueItem .percentage {
    font-size: 10px;
  }

  div.field div.boxFileStreaming .fileUploadProgress {
    background-color: #FFFFFF;
    border: 0;
    margin-top: 10px;
    width: 100%;
  }
  div.field div.boxFileStreaming .fileUploadProgressBar {
    background-color: #890E0E;
  }

}

#ArquivoDownloadQueue{
  display: none;
}

#barra {
  background-color: #499349;
  height: 22px;
  line-height: 22px;
  width: 0;
  margin-top: 2px;
  text-align: center;
  color: #FFF;

  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;

  &.file {
    background-color: #999;
    width: 485px;
  }

}

.btnGreen{
	background-color: #8EB435;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	text-transform:uppercase;
	text-align: center;
	padding: 0 15px;
	color: #FFF;
	line-height: 27px;
	height: 27px;
	border: 0;

	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;	
}

div#formToolbar {
  min-height: 30px;
  clear: both;
  padding-top: 10px;

  ul {
    display: block;
    float: right;

    & > li {
      float: left;
      list-style: none;
    }
  }

}

#saveMenu{
	position: absolute!important;
}

.cke_inner{
  margin-left: 114px!important;
}

.geradorSenha img{
  position: absolute;
  margin-left: 19px;
}


/* MEDIUM Editor */
form#formulario {

  .medium-editor-element {
    padding: 15px;
    background-color: #FFF;
    margin-left: 115px;
    margin-top: 5px;
    margin-bottom: 5px;
    overflow: auto;
    width: 850px;
  }
  .medium-editor-element p {
    margin-bottom: 10px;
    line-height: 22px;
    font-size: 12px;
  }

  .medium-editor-element a {
    color: @cor-principal;
    text-decoration: underline;
  }
  .medium-editor-element {
    h1, h2, h3 {
      color: @cor-principal;
      text-transform: none;
      margin: 5px 0;
    }
  }

  .medium-editor-element h1 {
    font-size: 24px;
    font-weight: 600;
  }
  .medium-editor-element h2 {
    font-size: 16px;
    font-weight: 600;
  }
  .medium-editor-element h3 {
    font-size: 16px;
    font-weight: 400;
  }
  .medium-editor-element blockquote {
    margin: 15px;
    margin-right: 0;
    padding: 15px;
    border-left: 2px solid #CCC;
    font-style: italic;
  }

  .medium-editor-element ul {
    margin: 25px;

  }
  .medium-editor-element ul li {
    list-style: initial;
    margin-bottom: 15px;

  }
  .medium-editor-element ol {
    margin: 25px;
    list-style-type: number;
  }
  .medium-editor-element ol li {

    margin-bottom: 15px;
  }

  .medium-insert-buttons-show {
    margin-top: -10px;
  }
  .medium-insert-buttons-addons {
    margin: 0 !important;
  }

}