﻿.modalgeneralen {
  display: none;
  position: absolute;
  padding: 0;
  margin: 0;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
    
  background-color: rgba(255,255,255,.8);
  z-index: 1;
    width: 100%;
    height: 100%;
}

.modalgeneral {
  display: none;
  position: absolute;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  overflow: hidden;
  background-color: rgba(255,255,255,.7);
  margin-left: auto;
  margin-right: auto;
  z-index: 9999;
}

/*#region Ventanas modales alerta*/

.modalalertageneral {
    width: 90%;
    height: 90%;
    /*left: 5%;*/
    top: 5%;
    z-index: 999999999;
}

    .modalalertageneral section:first-child {
        margin: 0;
        padding:0;
        width: 100%;
        height: 92%;
        background:#f2f5f7;
        color: #016988;
    }

    .modalalertageneral section:first-child div {
        width: 98%;
        height: 98%;
        margin: 1%;
        overflow:auto;
    }

    .modalalertageneral section:nth-child(2) {
        margin: 0;
        position: absolute;
        background: #016988;

        bottom: 0;
        width: 100%;
        height: 40px;
        text-align: right;
        border-top: 2px solid #ccad29;

    }

    .modalalertageneral section:nth-child(2) input[type=button] {
        margin: .5em 2em;
        /*width: 170px;*/
    }

/*#endregion */


/*#region Ventanas modales informativas*/

#modalMensajeInformativo {
    z-index: 99999999998;
}

#modalMensajeConfirmacion {
    z-index: 9999999998;
}

.modalalertainformativo {
    max-width: 600px;
    height: 150px;
    /*left: calc(50% - 600px/2);*/
    top: calc(50% - 150px/2);
}

    .modalalertainformativo section:first-child {
        margin: 0;
        padding:0;
        width: 100%;
        height: 110px;
        text-align: center;
        background:#f2f5f7;
        color: #016988;
        font-size: 22px;
    }

    .modalalertainformativo section:first-child div {
        width: 98%;
        overflow:auto;
        padding-top: 50px;
    }

    .modalalertainformativo section:nth-child(2) {
        margin: 0;
        position: absolute;
        background: #016988;
        bottom: 0;
        width: 100%;
        text-align: right;
        border-top: 2px solid #ccad29;
    }

    .modalalertainformativo section:nth-child(2) input[type=button] {
        margin: .5em 2em;
    }

/*#endregion */


.modal {
    display: none;
    /*position: fixed;*/
    background-color: #f2f5f7;
    border-radius: 6px;
    box-shadow: 0 0 1em #666;
    min-height: 200px;
    width: 100%;
    margin: auto auto;
    position: relative;
    /*overflow: auto;*/
    z-index: 99999;
}

    .modal h3, .modallocal h3, .capa1 h3{
      text-align: left;
      cursor:move;
      border-bottom: 2px solid #ccad29;
    }
    .modal .modalcerrar, .modallocal .modalcerrar, .capa1 .modalcerrar{
      position: absolute;
      top: 8px;
      right: 15px;
      font-size: 18px;
      color: #f2f5f7;
      cursor: pointer;
      text-shadow: 2px 2px 2px #969696;
    }
    .modal .contenidomodal, .modallocal .contenidomodal, .capa1 .contenidomodal{
      margin: 10px;
    }
    
        .modal .extralargo {
            height: 82%;
            overflow: auto;
        }
        .modal .largo {
            height: 76%;
            /*border: 1px solid blue;*/
            overflow: auto;
        }

        .modal .pequeño {
            height: 70%;
             overflow: auto;
        }

         .modal .muypequeño {
            height: 65%;
             overflow: auto;
        }

        .modal .muymuypequeño {
            height: 58%;
             overflow: auto;
        }

    .modal .contenidomodal label,
    .modal .contenidomodal input[type="text"],
    .modal .contenidomodal select,
    .capa1 .contenidomodal label,
    .capa1 .contenidomodal input[type="text"],
    .capa1 .contenidomodal select{
        display: block;
        width: 100%;
    }

    .modal .accionesmodal, .modallocal .accionesmodal, .capa1 .accionesmodal{
        float: right;
    }

    .modal .accionesmodal input[type="button"], .modallocal .accionesmodal input[type="button"],
    .capa1 .accionesmodal input[type="button"]{
        float: right;
        margin-right: 10px;
    }

.modal .divBuscar {
    padding: 10px;
}

.modallocal {
    display: none;
    position: fixed;
    background-color: #f2f5f7;
    border-radius: 6px;
    box-shadow: 0 0 1em #666;
    min-height: 200px;
    width: 100%;
    margin: auto auto;
    left: calc(100%/2 - 200px);
}


.modalcapa1 {
  z-index: 99999;
  overflow: hidden;
}

.modalcapa2 {
  z-index: 999999;
  overflow: hidden;

}

.modalcapa3 {
  z-index: 9999999;
  overflow: hidden;

}
    
.ajutatablamodal .dataTables_filter {
    padding-right: 20px;
}


@media screen and (max-width: 784px) {
    header #usuario a span:nth-child(3) {
        display:none;
    }

    header #tituloprincipal {
        text-align: left;
    }

   header #tituloprincipal h2 {
            display: none;
        } 

        header #tituloprincipal  h1 {
            position:relative;
            top: 23px;
            left: 5px;
        }

        
    #btnagregarasistente {
        top: 50px;
    }
    
    .paneltitulo {
        font-size: 24px;
    }
  
    .imgacuerdos {
        width: 100px;
        height: 120px;
        padding-top: 20px;
    }

    .ui-tabs-vertical .ui-tabs-panel { 
        width: 70%;
    }

}

@media screen and (max-width: 600px) {
    #menuprincipal #lblMenu {
        display: block;
    }

    #menuprincipal #menu:checked + nav ul{
        border: 2px solid #fff;
        height: auto;
    }

    #menuprincipal nav ul li{
	    display: block;
    }

    #menuprincipal nav ul {
        position: absolute;
        top: 34px;
        left: -3px;
        border-radius: 4px;
        border-top-left-radius: 0;
        background-color: #016988;
        box-shadow: 2px 2px 2px #333;
        height: 0;
        overflow: hidden;
        transition: height .3s ease-in-out;
    }

    .panel .icono {
        display: none;
    }

    .paneldependencia {
        height: 800px;
    }

}



@media screen and (max-width: 590px) {
    
  .ui-tabs-vertical .ui-tabs-panel { 
      width: 60%;
  }

  .panel .icono {
        display: none;
    }
}

@media screen and (max-width: 540px) {
    .fourcol, .fivecol, .sixcol,
    .sevencol, .eightcol, .ninecol, .tencol, .elevencol, .twelvecol {
        width: 100%;
    }

    .modallocal {
        left: 0;
    }

    .panel .icono {
        display: none;
    }

    main {
    min-height: 1200px;
    }

.panelgrafica {
    height: 450px;
}

}

@media screen and (max-width: 480px) {
    .ui-tabs-vertical .ui-tabs-nav {
        width: 100%;
    }

    .ui-tabs-vertical .ui-tabs-panel {
        width: 100%;
    }

    #btnagregarasistente {
    top: 87px;
    }

    #avance {
    width: 100%;
    }

    #lblavance {
    float: left;
    }

    
    .imgacuerdos {
        width: 150px;
        height: 190px;
        padding-top: 40px;
    }

    .panel .icono {
        display: none;
    }

    .modal {
    top: 0 !important;
    height: 510px !important;
    }

    .contenidomodal {
        height: 360px !important;
    }
}

@media screen and (max-width: 400px) {
    header #logo a {
        top: 15px;
        height: 52.5px; 
        width: 120.75px;
    }

    .onecol, .twocol, .threecol {
        width: 100%;
    }

    .panel .icono {
        display: none;
    }
}



.capa1 {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 1350px;
    transition: all .5s ease-in-out;
    background-color: #f2f5f7;
    z-index:2;
    overflow: hidden;
    /*border-bottom: 1px solid #0E6C88;*/
    overflow: auto;
    /*padding-bottom: 30PX;*/
}

.capa1 .accionesmodal{
        padding: 10px
    }