html{
  height: 100%;
}

body{

  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#e1e1e1+0,ffffff+100 */
  background: #e1e1e1; /* Old browsers */
  background: -moz-linear-gradient(top,  #e1e1e1 0%, #ffffff 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  #e1e1e1 0%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  #e1e1e1 0%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e1e1e1', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */

  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100%;
  color: #fff;
  font-family: 'Titillium Web', sans-serif;
  font-size: 18px;
  margin:0;
  padding:0;
}

.flexlogin{

  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  align-content: center;
  justify-content: center;

}

.flexlogin form{

  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: center;

}

.flexlogin form i{
  display: block;
  font-size: 70px;
  margin-bottom: 20px;
  color: #000;
}

.flexlogin form .login_input{
  margin: 5px;
  width: 80%;
  max-width: 200px;
  padding:10px;
  font-size: 15px;
  border-radius: 2px;
  border:none;
  background: #fff;
  align-self: center;
  display: block;
}

.flexlogin form .login_submit{
  margin: 5px;
  max-width: 200px;
  padding:10px;
  font-size: 15px;
  border-radius: 2px;
  border:none;
  background: #333;
  color:#fff;
  align-self: center;
  al
}

#header{
  width: calc(100% - 40px);
  width: -moz-calc(100% - 40px);
  height: auto;
  display: block;
  border-radius: 3px;
  margin: 0 20px 0 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
}

#user_data{
  display: flex;
  flex-wrap:nowrap;
  flex-direction: row;
  align-items: center;
  margin:20px;
}

#user_data a{
  font-size: 28px;
  width: 50px;
  color: #000;
  opacity:.3;

}

#user_data .data a{
  font-size: 13px;
  text-decoration: none;
  color: #000;
  opacity:.5;
  white-space: nowrap;
}

#user_data .data span{
  white-space: nowrap;
}

#user_data div{
  font-size: 14px;
  color: #000;
  opacity:.8;

}

#header .logo.inactive{
  filter: brightness(135%) grayscale(1);
  opacity: .2;
}

#header .logo{
  width: 130px;
  height:50px;
  margin:10px;
}

#container{
  align-items: flex-start;
    width: calc(100% - 80px);
  width: -moz-calc(100% - 80px);
  height: auto;
  min-height: 500px;
  /* display: block; */
  border-radius: 3px;
  margin: 20px;
  margin-top: 0;
  padding:20px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  /*align-items: center;*/
  /* justify-content: center; */
  color: #000;
  overflow: auto;
}

#container flextop{
  width:100%;
  height: auto;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: flex-start;
  filter: drop-shadow(0px 2px 2px rgba(0,0,0,0.15));
}

#container .divisor{
  height: 100px;
  width: 0;
  border-right:1px solid #000;
  margin:30px;
}

#container .item{
  height: auto;
  margin:10px;
  text-align: center;
  filter: drop-shadow(0px 2px 2px rgba(0,0,0,0.15));
}

.item .subitems{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  align-content: center;
  justify-content: center;
  background: rgba(0,0,0,.02);
  border-bottom: 1px solid #000;
  margin-top: -20px;
  padding:20px;
}

.item i{
  font-size: 60px;
  margin-bottom: 10px;
  opacity: .8;
  color: #000;
}

.item i:hover{
  color: #fff;
  filter: drop-shadow(0px 0px 30px #c00);
  opacity: 1;
}

.item .item i{
  font-size: 40px;
  margin-bottom: 10px;
  opacity: .8;
  color: #000;
}

.item .item i:hover{
  color: #fff;
  filter: drop-shadow(0px 0px 15px #c00);
  opacity: 1;
}

.item h3{
  font-size: 25px;
  line-height: 27px;
  margin-top: 5px;
  margin:0;
}

.item .item h3{
  font-size: 18px;
  line-height: 20px;
  margin-top: 5px;
  margin:auto;
  max-width: 90px;
}

.item .solobox{
  margin-top: 20px;
  width: 0%;
  margin-left: 50%;
  margin-right: 50%;
  height: 20px;
  border-left: 1px solid #000;
  display:block;
}

.item .box{
  width: 100%;
  height: 20px;
  border: 1px solid #000;
  border-bottom: none;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
}



.item p{
  font-size: 14px;
  margin:0;
  padding: 0;
  line-height: 15px;
  margin-top: 5px;
}
.item .item p{
  margin:auto;
  width: 100px;
  margin-top: 5px;
}
#container flextop .encabezado{
  width: 100%;
  font-size: 18px;
  border-top-left-radius:5px;
  border-top-right-radius:5px;
  color: #fff;
  background: #333;
  display:flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;

}

#container flextop .encabezado .titles{
  display:flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  margin:10px;
}

#container flextop .encabezado i{
  font-size:24px;
  margin: 10px;
}

#container flextop .encabezado a{
  text-decoration: none;
  color: inherit;
}

#container flextop .encabezado select{
  padding: 10px;
  font-size: 16px;
  min-width: 120px;
}


#container flextop table{
  width: 100%;
}
#container flextop table td{
  padding:5px 10px;
}

#container flextop table thead{
  background: #000;
  color: #fff;
  text-transform: capitalize;
}

#container flextop table a{
  color: inherit;
}

#container flextop table td{
  border-bottom:1px solid #aaa;
}

#container flextop table tbody tr:nth-child(odd){
  background: #fff;
}

#container flextop .pager{
  margin-top: 15px;
  width: 100%;
}

#container flextop .pager .pages{
  padding-top: 5px;
}

#container flextop .pager .pages a{
  font-size: 17px;
  line-height: 20px;
  padding-left: 6px;
  padding-right: 6px;
  border-radius: 2px;
  background: #333;
  color: #fff;
  text-decoration: none;
}

#container flextop .pager .pages a.current{
  background:#000;
}

#container flextop form{
  display:flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

#container flextop form input, #container flextop form select, #container flextop textarea{
  margin: 5px;
  width: 80%;
  max-width: 400px;
  padding:10px;
  font-size: 15px;
  border-radius: 2px;
  border:none;
  background: #fff;
}

#container flextop form div{
  margin: 5px;
  width: 80%;
  max-width: 400px;
  padding-bottom:15px;
  margin-bottom:15px;
  font-size: 15px;
  border-bottom:1px solid #ccc;
}

#container flextop form .submit{
  margin: 5px;
  margin-top: 15px;
  width: 100%;
  max-width: 150px;
  padding:10px;
  font-size: 15px;
  border-radius: 2px;
  border:none;
  background: #fff;
}

flextop table .actions{ text-align: right; white-space: nowrap;}
flextop table .actions a{ margin-left:10px;}
/*
@media only screen and (max-width: 1100px) {
flextop table tr td:nth-child(n+6){
  display:none;
}
flextop table tr td.actions{
  display:table-cell;
}
}

@media only screen and (max-width: 1000px) {
flextop table tr td:nth-child(n+5){
  display:none;
}
flextop table tr td.actions{
  display:table-cell;
}
}

@media only screen and (max-width: 800px) {
flextop table tr td:nth-child(n+4){
  display:none;
}
flextop table tr td.actions{
  display:table-cell;
}
}

@media only screen and (max-width: 600px) {
flextop table tr td:nth-child(n+3){
  display:none;
}
flextop .encabezado .titles span{
  display:none;
}
.logo{
  display:none;
}
flextop table tr td.actions{
  display:table-cell;
}
}


@media only screen and (max-width: 400px) {
flextop table tr td:nth-child(n+2){
  display:none;
}

flextop table tr td.actions{
  display:table-cell;
}
} */

#container flextop .message{
  margin-top: 50px;
  font-size: 25px;
  width: 100%;
  text-align: center;
}

#container flextop .message a{
  margin: 5px;
  margin-top: 15px;
  width: 100%;
  max-width: 150px;
  padding:10px;
  font-size: 15px !important;
  border-radius: 2px;
  border:none;
  background: #fff;
  text-decoration: none;
  display: inline-block;
}

#container flextop .view{
  display:flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}



#container flextop .view .field{
  margin: 5px;
  width: 80%;
  max-width: 400px;
  padding:10px;
  font-size: 15px;
  border-radius: 2px;
  border:none;
  background: rgba(0,0,0,0.05);
}

#container flextop .view .bottom_actions{
  margin: 5px;
  margin-top: 15px;
  width: 80%;
  max-width: 400px;
  padding:10px;
  font-size: 15px;
  border-radius: 2px;
  border:none;
  text-align: right;
  padding-top: 15px;
  border-top:1px solid #ccc;
}

#container flextop .view .bottom_actions a i{
  width: 40px;
  line-height: 40px;
  text-align: center;
  background: #000;
  color: #fff;
  margin-left: 5px;
  text-decoration: none;
  font-size: 17px;
  border-radius: 2px;
  display: inline-block;
}

#container flextop .solapas{
  margin-top: 20px;
  width: 100%;
  display:flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
}

#container flextop .solapas a{
  margin-left: 5px;
  background: #999;
  color: #fff;
  font-size: 16px;
  padding:3px 15px 3px 25px;
  border-top-right-radius: 3px;
  border-top-left-radius: 15px;
  text-decoration: none;
  place-self: flex-end;
  white-space: nowrap;
  max-width: 85px;
}

#container flextop .block_folder label{
  display: inline-block;
  border:0;
  width: 240px;
  text-transform: capitalize;
  border-bottom: 1px dotted #999;
}

#container flextop .block_files label{
  display: inline-block;
  border:0;
  width: 120px;
  padding-left: 20px;
  text-transform: capitalize;
    border-bottom: 1px dotted #999;
    border-left: 1px dotted #999;
    padding-top: 10px;
}

#container flextop .block_folder input{
  display: inline-block;
  width: 20px;
  margin-left: -20px;
}

#container flextop .block_folder{
border:0;
margin-top: 50px;
width: auto;
}

#container flextop .block_files{
margin-left: 100px;
border:0;
}

#container flextop form div.check_group{

  display:flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  border:0 !important;
  width: 100%;

}

#container flextop form div.check_group div{
  width: 100%;
  border: 0;
  display:flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  margin: 0;
}

#hints{
  position:absolute;
  top:0;
  left:0;
  padding:10px;
  background:#FFF;
    -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  z-index:100;
  display:none;
  width:240px;
  overflow:hidden;
  -webkit-box-shadow: 0 5px 20px 0 rgba(0,0,0,1);
  box-shadow: 0 5px 20px 0 rgba(0,0,0,1);
  }

#hints .encabezado{
  background:#ddd;
  color:#000;
  border-top:8px solid #063;
  width:calc(100% + 20px);
  width:-moz-calc(100% + 20px);
  margin-top:-10px;
  margin-left:-10px;
  font-size:13px;
  padding:10px;
  border-bottom:1px dotted #ddd;
}
#hints .close_btn{
  color:#000;
  padding: 2px;
  padding-top: 12px;
  cursor:pointer;
  -webkit-border-radius: 1px;
  -moz-border-radius: 1px;
  border-radius: 1px;
  position:absolute;
  z-index:150;
  top:-1px;
  left: auto;
  right: 2px;
  font-size:18px;
}
.table_hints{
	font-size:14px;
	margin-top:10px;
	}

.table_hints td{
	padding:3px;
	border-bottom:1px solid #CCC;
	margin-top:25px;
  font-size: 17px;
	}

.table_hints .thead{
	color:#FFF;
	font-weight:bold;
	font-size:12px;
	}
.table_hints em.timestamp{
    color:#c30;
    display: block;
    text-align: right;
    font-size: 12px;
}
.table_hints div.back_blanco{
    background:#fff;
    display: initial;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px;
}

.btn_hints{
	font-size:20px !important;
	color:#000;
	text-decoration:none;
	}

.btn_hints:hover{
	color:#333;
	}

td .icon-btn-status{
  text-align:center;
  display: block;
}
div.field .icon-btn-status{
  display: initial;
  margin-left: 10px;
}
td .div_actions_right{
  text-align:right!important;
}
div.field .div_actions_right{
  text-align: left;
  display: inline;
  margin-left: 10px;
}
td .div_actions_center{
  text-align:center!important;
}
div.field .div_actions_center{
  text-align: center;
  display: inline;
  margin-left: 10px;
  padding-left: 5px;
  padding-right: 5px;
}
.alertas_agenda .agenda_vencida{
  margin: 10px;
  padding: 10px;
  color: #fff;
  background: #9e0101;
  border: solid 2px #000;
  position: relative;
  max-width: 400px;
  cursor: pointer;
  user-select: none;
  border-radius: 5px;
  display: inline-grid;
  max-height: 75px;
  overflow: hidden;
  min-width: 250px;
}
.alertas_agenda .agenda_vencida:hover{
  filter:drop-shadow(1px 1px 2px black);
}
.agenda_vencida div{
  display: initial;
}
.agenda_vencida .id_dato_agenda_vencida{
  font-weight: bold;
  margin-top: 5px;
}
.agenda_vencida .texto_agenda_vencida{
  display: block;
  font-size: 16px;
}
.agenda_vencida .fecha_agenda_vencida{
  position: absolute;
  font-size: 12px;
  right: 10px;
}
.content-tags{
  background: #fff;
  min-width: 100px;
  border: dashed 1px;
  display: block;
  cursor: pointer;
  padding-left: 4px;
  padding-right: 4px;
}
.tag{
    display: inline-block;
    font-size: 13px;
    padding: 3px;
    border-radius: 8px;
    margin-left: 3px;
    margin-top: 2px;
}
.tag .remove_tag{
  font-size: 12px;
}
.destello_resaltar{
  animation-name: example;
  animation-duration: 2s;
}
.void {
	margin-right:5px;
	opacity:0.2;
	cursor:not-allowed;
	}
.grey-backround{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0003;
  overflow: hidden;
}
.layout-novedades{
  max-height: 80%;
  overflow: auto;
  position: absolute;
  width: 400px;
  min-height: 300px;
  background: #fff;
  margin: auto;
  margin-top: 80px;
  left: 0;
  right: 0;
  text-align: center;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}
.layout-novedades .btn-link{
  margin: 5px;
display: block;
background: #70ade4;
text-decoration: none;
color: #fff;
margin-top: auto;
margin-bottom: 20px;
margin-left: 20px;
margin-right: 20px;
}
.layout-novedades table{
  width: 100%;
  color: #000;
  padding: 20px;
}
@keyframes example {
  0%   {background-color: white;}
  25% {background-color: #70ff4c;}
  100%   {background-color: white;}
}
