﻿.fade {
  opacity: 0;
  -webkit-transition: opacity 0.15s linear;
     -moz-transition: opacity 0.15s linear;
      -ms-transition: opacity 0.15s linear;
       -o-transition: opacity 0.15s linear;
          transition: opacity 0.15s linear;
}

.fade.in {
  opacity: 1;
}

.modal-open{
    overflow: hidden !important;
}

.modal-open .dropdown-menu {
  z-index: 2050;
}

.modal-open .dropdown.open {
  *z-index: 2050;
}

.modal-open .popover {
  z-index: 2060;
}

.modal-open .tooltip {
  z-index: 2070;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000000;
}


.modal-backdrop-alert {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1051;
    background-color: #000000;
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop,
.modal-backdrop.fade.in {
  opacity: 0.8;
  filter: alpha(opacity=80);
}

.modal {
  position: fixed;
  top: 35px;
  left: 50%;
  z-index: 1050;
  width: 910px;
  margin: 0 0 0 -455px;
  overflow: auto;
  background-color: #ffffff;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.3);
  *border: 1px solid #999;
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
  -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
     -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
          box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
  -webkit-background-clip: padding-box;
     -moz-background-clip: padding-box;
          background-clip: padding-box;
} 

.modal-alert
{
    z-index: 1052 !important;    
}

.modal.fade {
  top: -25%;
  -webkit-transition: opacity 0.3s linear, top 0.3s ease-out;
     -moz-transition: opacity 0.3s linear, top 0.3s ease-out;
      -ms-transition: opacity 0.3s linear, top 0.3s ease-out;
       -o-transition: opacity 0.3s linear, top 0.3s ease-out;
          transition: opacity 0.3s linear, top 0.3s ease-out;
}

.modal.fade.in {
  top: 50%;
}

.modal-header {
  padding: 0px 5px;
  border-bottom: 1px solid #eee;
  background-image: url("../Imagens/bgAssunto.jpg");
}

.modal-header h1 {
    font-size: 16px;
    color: #666;
    font-weight: bold;
    display: block;
    margin: 3px 4px 5px 4px;
    padding-top: 0px;
    font-family: Calibri;
}

.modal-header .close {
  margin-top: 2px;
}

.modal-body {
  max-height: 400px;
  overflow-y: auto;
}

.modal-form {
  margin-bottom: 0;
}

.modal-footer {
  padding: 14px 15px 15px;
  margin-bottom: 0;
  text-align: right;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  -webkit-border-radius: 0 0 6px 6px;
     -moz-border-radius: 0 0 6px 6px;
          border-radius: 0 0 6px 6px;
  *zoom: 1;
  -webkit-box-shadow: inset 0 1px 0 #ffffff;
     -moz-box-shadow: inset 0 1px 0 #ffffff;
          box-shadow: inset 0 1px 0 #ffffff;
}

.modal-footer:before,
.modal-footer:after {
  display: table;
  content: "";
}

.modal-footer:after {
  clear: both;
}

.modal-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: 5px;
}

.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}

.modal-footer #aFecharJanela {
    margin-bottom: -1px;
    margin-right: 10px;
} 

.modal-backdrop + .modal-backdrop { background: none; }

.ng-dirty.ng-invalid{
    
}
.invalidandoTextarea{
    border: 1px solid rgb(236, 63, 65) !important;    
}
.hide { display: none; }

input.ng-dirty.ng-invalid {
    border: 1px solid #ec3f41 !important;  
    -webkit-border-radius: 5px; 
    -moz-border-radius: 5px; 
    border-radius: 5px;
}

div.ng-dirty.ng-invalid {
    border: 1px solid #ec3f41 !important;  
    -webkit-border-radius: 5px; 
    -moz-border-radius: 5px; 
    border-radius: 5px;
}

.modal-body div.ng-dirty.ng-invalid {
    border: 1px solid #ec3f41 !important;  
    -webkit-border-radius: 5px; 
    -moz-border-radius: 5px; 
    border-radius: 5px;
}
input.ng-dirty.ng-invalid[type="checkbox"]{
    outline-width: 1px !important;
    outline-style: solid !important;
    outline-color: #EC3F41 !important;
    border:none !important;    
}

#modalCriarEvento,
#modalVisualizarEvento,
#modalEditarEvento {
    margin-top: -260px;
}

.aFecharAlerta:hover { background: none; }

/* Paginação no Modal */

.modal .gfy-Tmp {
    width: 94px;
}

.modal .gdySumary {
    width: 115px !important;
}


.modal table.tblGdy tfoot tr td ul {
    width: 200px !important;
}

.modal .gfy-pg {
    float: none;
    position: initial;
    left: initial;
    width: 208px;
    margin-left: 10px !important;
    margin-top: 0px;
}

.modal .gfyRollover {
    width: 105px;
}

.modal .divBotaoAcaoFormulario {
  
}

/* Alerts */

        .modalGeral {
            position: fixed;
            top: 50%;
            background-color: #ddd;
            width: 100%;
            height: 200px;
            z-index: 4000;
            margin-top: -100px;
            font-size: 16px;
            font-family: "Segoe UI Light";
        }
        
        .overlay {
            position: absolute; 
            left: 50%;
            width: 943px;
            height: 200px;
            z-index: 100;
            
        
            margin-left: -470px;
}
        
        .fade {
            position: fixed;  
            left: 0%;
            top: 0%;
            background-color: black;
            -moz-opacity: 0.7;
            opacity: .70;
            filter: alpha(opacity=70);
            width: 100%;
            height: 100%;
            z-index: 3500;
        }
        
        .modalGeral #fecharModal {
            padding: 15px 0px 15px 0px; 
            float:right;
            text-align: right;
            font-size: 16px;
            color: #FFF;
            font-family: Arial;
        }
        
        .modalGeral #fecharModal:hover {
        }
        
        .modalImage  {
            height: 100px;
            padding: 50px 15px;
            float: left;
        }
        
        .modalBody {
            height: 200px;
            float:left;
            width: 800px;
        
            vertical-align: middle;  7.  display: table-cell;
            display: table-cell;
}
        
        .modalBody .modalConteudo {
            display: table-cell;
            vertical-align: middle;
            padding: 16px 0px;
        }
        
        .modalBody .modalBotao {
            bottom: 0px;
            position: absolute;
            right: 28px;
        }            
        
        .h2TituloAlert {
            color: #FFF;
        
            margin-bottom: 0px;
}
        
        .modalBotao .divBotaoAcaoFormulario {
            margin-right: 0px;
            margin-left: 18px;
        }
        
        /* Pergunta */
        
        .modalPergunta {
            background: #3a87ad;
            border: 1px solid #bce8f1;
        }
        
            .modalPergunta .ng-binding {            
                color: #FFF;
            }
            
        /* Alerta */
        
        .modalAlertaMsg {
            background: #b94a48;
            border: 1px solid #eed3d7;
        }
        
            .modalAlertaMsg .ng-binding {            
                color: #FFF;
            
                display: table-cell;
                vertical-align: middle;
}
            
        /* Erro sistema */
        
        .modalErro {
            background: #b94a48;
            border: 1px solid #eed3d7;
        }
        
            .modalErro .ng-binding {            
                color: #FFF;
            } 
            
            
        /* Sucesso */
        
        .modalSucesso {
            background: #468847;
            border: 1px solid #d6e9c6;
        }
        
            .modalSucesso .ng-binding {            
                color: #FFF;
            }
            
#fecharModal {
    width: 24px;
    height: 24px;
    padding: 1px;
    position: absolute;
    right: 32px;
    top: 15px;
    color: #FFF;
}