/*
Full screen Modal
*/


.modal-content {
  border-radius: 8px 8px 8px 8px !important;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  border-radius: 8px 8px 0px 0px !important;

}

.fullscreen-modal .modal-dialog {
  margin: 0;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
}

@media (min-width: 768px) {
  .fullscreen-modal .modal-dialog {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .fullscreen-modal .modal-dialog {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .fullscreen-modal .modal-dialog {
    width: 1170px;
  }
}

.hide_block {
  display: none !important;
}

 .display_block
 {
    display:block !important;
 }

/*botones*/
.btn-normal {
  color: #ffffff;
  background-color: #1D4F84;
  border: #1D4F84 solid 1px !important;
  border-radius: 0 !important;
  height: 32px;
  width: 95px;
  border-radius: 8px 8px 8px 8px !important;
}

.btn-normal:hover {
  border: solid #C1272D 1px !important;
  background-color: #C1272D;
  border-radius: 8px 8px 8px 8px !important;
}

.btn-normalX {
  border-bottom: 4px solid #C1272D;
  color: #ffffff;
  background-color: #1D4F84;
  border-radius: 0 !important;
  height: 32px;
  width: 95px;
}

.btn-normalX:hover {
  border: solid #C1272D 1px !important;
  background-color: #C1272D;
}

.btn-enviar {
  color: #3d3d3d;
  background-color: transparent;
  border: #d2d5de solid 2px !important;
  border-radius: 0 !important;
  width: 95px;
  height: 32px;
}

.btn-enviar:hover {
  color: #fff;
  border: solid #a2b400 1px !important;
  background-color: #a2b400;
}

.btn-cerrar {
  color: #ffffff;
  background-color: #1D4F84;
  border: #1D4F84 solid 1px !important;
  border-radius: 0 !important;
  padding: 10px 20px !important;
  margin-top: 10px;
  width: 100px;

}

.btn-cerrar:hover {
  border: solid #C1272D 1px !important;
  background-color: #C1272D;
}

.btn-confirmar {
  color: #ffffff;
  background-color: #20AA0C;
  border: solid #20AA0C 1px !important;
  border-radius: 0 !important;
  height: 32px;
  width: 95px;
  border-radius: 8px 8px 8px 8px !important;
}

.btn-confirmar:hover {
  color: #fff;
  border: solid #C1272D 1px !important;
  background-color: #C1272D;
  border-radius: 8px 8px 8px 8px !important;
}

.btn-pedido {
  color: #ffffff;
  background-color: #20AA0C;
  border: solid #20AA0C 1px !important;
  width: 50px;
  border-radius: 8px 8px 8px 8px !important;
}

.btn-pedido:hover {
  color: #ffffff;
  border: solid #C1272D 1px !important;
  background-color: #C1272D;
  border-radius: 8px 8px 8px 8px !important;
}

.btn-pedido2 {
  color: #ffffff;
  background-color: #1D4F84;
  border: #1D4F84 solid 1px !important;
  width: 50px;
  height: 32px;
}

.btn-pedido2:hover {
  color: #ffffff;
  border: solid #C1272D 1px !important;
  background-color: #C1272D;
}

.btn-pedido2X {
  border-bottom: 4px solid #C1272D;
  color: #ffffff;
  background-color: #1D4F84;
  width: 50px;
  height: 32px;
}

.btn-pedido2X:hover {
  color: #ffffff;
  border: solid #C1272D 1px !important;
  background-color: #C1272D;
}

.btn-buscar {
  color: #ffffff;
  background-color: #1D4F84;
  border: #1D4F84 solid 1px !important;
  width: 95px;
  border-radius: 0px 8px 8px 0px !important;
}

.btn-buscar:hover {
  color: #ffffff;
  border: solid #C1272D 1px !important;
  background-color: #C1272D;
  border-radius: 0px 8px 8px 0px !important;
}

.encabezado {
  color: #ffffff;
  background-color: #1D4F84;
  border: #1D4F84 solid 1px !important;
}

.color1 {
  color: #ffffff;
  background-color: #0061a8;
  border: #1D4F84 solid 1px !important;
}

.color2 {
  color: #ffffff;
  background-color: #cfaa63;
  border: #cfaa63 solid 1px !important;
}

.color3 {
  color: #ffffff;
  background-color: #f9e2e3;
  background: #f9e2e3;
  border: #f9e2e3 solid 1px !important;
}


/* InicioModal */
.jmgmodal {
  position: fixed;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(34, 34, 68, .8);
  box-sizing: content-box;
  visibility: hidden;
  opacity: 0;
  transition: all .12s;
  z-index: 99;
}

.jmgmodal.visible {
  visibility: visible;
  opacity: 1;
}

.jmgmodal * {
  box-sizing: inherit
}

.jmgmodal .panel {
  position: absolute;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 600px;
  max-height: 70vh;
  background: #0ebeff;
  border-radius: 10px;
  color: #000;
  padding: 50px 0;
  transform: translateY(-25%);
  transition: all .12s;
}

.jmgmodal.nofooter .panel {
  padding: 50px 0 0 0;
}

.jmgmodal.visible .panel {
  transform: none;
  background: #FFFFFF;
}

.jmgmodal .title {
  position: absolute;
  top: 0;
  width: 100%;
  height: 50px;
  line-height: 50px;
  background: #1D4F84;
  color: #FFFFFF;
  font-weight: bolder;
  padding: 0 2em;
  box-shadow: 2px 0 10px rgba(0, 0, 0, .6);
  border-radius: 10px 10px 0 0;
  box-sizing: border-box;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: center;
}

.jmgmodal .panel .close {
  position: absolute;
  top: .25em;
  right: .75em;
  cursor: pointer;
  font-size: 25px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.jmgmodal .panel .content {
  max-height: 100%;
  overflow: auto;
  padding: 1em;
  box-sizing: border-box;
  text-align: center;
}

.jmgmodal .panel .content iframe:only-child {
  border: 0;
  width: 100%;
  height: 100%;
  height: 80vh;
  min-height: 200px;
}

.jmgmodal .panel .content img:only-child {
  width: 100%;
  max-width: 100%;
}

.jmgmodal .panel .footer {
    position: absolute; bottom: 0;
    width: 100%;
    background: #1D4F84;
    font-weight: bolder; padding: 0 .5em;
    box-shadow: 2px 0 10px rgba(0,0,0,.6);
    border-radius: 0 0 10px 10px;
    box-sizing: border-box;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: right;
}

.jmgmodal .panel .footer .action {
  border-radius: 10px;
  color: #000;
  background: #fff;
  border: 0;
  min-width: 80px;
  min-height: 35px;
  font-weight: bold;
  cursor: pointer;
  margin-left: 20px;
  transition: all .12s;
}

.jmgmodal .panel .footer .action:hover {
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);
}

.jmgmodal .panel .content p {
  margin: 10px;
}

.jmgmodal button {
  border: 3px solid #224;
  background: #fff;
  padding: 1rem;
  margin: 1rem .5rem;
  font-size: 1.2rem;
  font-variant: small-caps;
  transition: all .5s;
  cursor: pointer;
  box-shadow: inset 0 0 0 rgba(0, 0, 0, 1);
}

.jmgmodal button:hover {
  color: #fff;
  box-shadow: inset 0 0 0 10rem rgba(34, 34, 65, .68);
}

/* Final Modal */

body.sidebar-collapse.sidebar-mini div.wrapper aside.main-sidebar section.sidebar ul.sidebar-menu:hover center#sidebar_footer p.header.hidden-xs > i{
  display: none !important;
}