#filter-list{
    margin-bottom: 30px;
}
body *{
    font-family: "Lato", sans-serif;
}


#lista-items{
    max-width: 100%;
    width: 1200px;
}

#lista-items .item{
   padding: 20px; 
   font-size: 13px;
}

.btn-outline-primary{
    color: #000;
    border-color: #000;
}

#filter-user{
    width: 120px;
    display: inline-block;
    margin-left: 10px;
}
.btn-outline-primary:hover{
    color: #fff;
    background-color: #000;

}

.hidden-text{
    font-size: 0 !important;
    color: transparent !important;
}

#lista-items .item .imagen-item{
    background: #000 center center no-repeat; 
    background-size: auto 110%; 
    display: block; 
    width: 100%;
    height: 170px;
    border: solid 4px #222222;
    border-radius: 10px;
}

.link-editar, .link-eliminar, .link-greenhouses, .link-action{
    margin-right: 10px;
}

.link-logout, .link-greenhouses{
    font-size: 12px;
}

.btn-outline-primary i.fa{
    color: #000 !important;
    margin-right: 5px;
}

.btn-outline-primary:hover i.fa{
    color: #fff !important;
}

#lista-items .item .fecha-item, #lista-items .item .acciones-item{
    width:100%;
    text-align: center;
    padding: 5px 0;
}

#lista-items .item i.fas{
    font-size: 18px;
    color: #222222;
}

#lista-items .item .fecha-item i.fas{
    margin: 0 7px 0 0;
}

#lista-items .item i.fas:hover{
    color: #333;
}

#sortable > div{
    cursor: grab !important;
}

a.btn{
    cursor: pointer;
}

a.btn i.fas{
    color: #fff; 
}

.d-lg-block.btn-primary  {
	display: inline-block !important;
}

#lista-items .item a.link-editar{
    margin: 10px 10px;
}

.paginacion-lista{
    display: block; margin: 20px 0;
}

.page-content h1.display-5 {
	font-size: 25px;
}

.paginacion-lista a.btn-primary.active{ background: #444; border-color: #444; }

#lista-items .item a.link-eliminar{
    margin-left: 10px;
}

#lista-items .item .fa-calendar-alt{
    margin-left:10px;
}
#reglas-editor .ql-editor p{ margin-bottom:10px; }
#lista-items .item h2 {
	font-size: 14px;
	text-align: center;
    margin: 12px auto 5px;
    color: #333;
}
.ql-editor img{
    display: block;
    margin: 20px auto;
}
.ql-editor ul, .ql-editor ol{
    margin-bottom:20px;
}

#field-editor-content{
    width: 900px;
    max-width: 100%;
}

#form-content-editor input#title{
    width: 900px;
    max-width: 100%;
}

#reglas-editor .ql-editor p.ql-align-justify, .ql-align-justify{ text-align: justify !important; }
.ql-align-center{ text-align: center; }
#icono-usuario{ font-size: 18px;	border-radius: 100%;	background: #666;	padding: 5px;	color: #fff;  }

#lista-items .item h2:hover{
    color: #222222;
}

#lista-items .item:hover .imagen-item{
    border-color: #444;
}

#datos-item, #datos-form{
    max-width: 100%;
    width: 1000px;
    box-sizing:border-box;
    padding: 15px;
}

#field-duracion .input-group{
   width: 150px; 
}

.btn-primary{
    background-color: #222222;
    border-color: #222222;
}

.btn-primary:hover, .btn-primary:focus{
    background-color: #444;
}

#datos-item #fecha{ 
    width: 400px;
    max-width:100%;
}

#datos-item .form-group{
    margin-bottom:40px;
}

#datos-item #field-fecha.form-group{
    margin-bottom:30px;
}

#datos-item #field-imagen.form-group{
    margin-bottom:38px;
}

.dropify-wrapper {
	height: 263px;
}

#field-audio .dropify-wrapper {
	height: 90px;
}

#field-tiempo-ms select{
    width: 80px; display: inline-block;

}

.datepicker table tr td.active.active, .datepicker table tr td.active.disabled, .datepicker table tr td.active.disabled.active, .datepicker table tr td.active.disabled.disabled, .datepicker table tr td.active.disabled:active, .datepicker table tr td.active.disabled:hover, .datepicker table tr td.active.disabled:hover.active, .datepicker table tr td.active.disabled:hover.disabled, .datepicker table tr td.active.disabled:hover:active, .datepicker table tr td.active.disabled:hover:hover, .datepicker table tr td .active.disabled:hover[disabled], .datepicker table tr td .active.disabled[disabled], .datepicker table tr td .active:active, .datepicker table tr td .active:hover, .datepicker table tr td .active:hover.active, .datepicker table tr td .active:hover.disabled, .datepicker table tr td .active:hover:active, .datepicker table tr td .active:hover:hover, .datepicker table tr td .active:hover[disabled], .datepicker table tr td .active[disabled], .datepicker table tr td span.active.active, .datepicker table tr td span.active.disabled, .datepicker table tr td span.active.disabled.active, .datepicker table tr td span.active.disabled.disabled, .datepicker table tr td span.active.disabled:active, .datepicker table tr td span.active.disabled:hover, .datepicker table tr td span.active.disabled:hover.active, .datepicker table tr td span.active.disabled:hover.disabled, .datepicker table tr td span.active.disabled:hover:active, .datepicker table tr td span.active.disabled:hover:hover, .datepicker table tr td span.active.disabled:hover[disabled], .datepicker table tr td span.active.disabled[disabled], .datepicker table tr td span.active:active, .datepicker table tr td span.active:hover, .datepicker table tr td span.active:hover.active, .datepicker table tr td span.active:hover.disabled, .datepicker table tr td span.active:hover:active, .datepicker table tr td span.active:hover:hover, .datepicker table tr td span.active:hover[disabled], .datepicker table tr td span.active[disabled], .datepicker table tr td.today, .datepicker table tr td.today.disabled, .datepicker table tr td.today.disabled:hover, .datepicker table tr td.today:hover{
    background-color: #222222 !important;
    color: #fff !important;
    font-weight: normal;
}

.datepicker table tr td.today, .datepicker table tr td.today.disabled, .datepicker table tr td.today.disabled:hover, .datepicker table tr td.today:hover{
    background: #fff !important;
    color: #222222 !important;
    font-weight: bold;
}
.modal-dialog {
	max-width: 800px;
}
nav#editar-nav a{ font-size: 20px; color: #444; }
nav#editar-nav a.active{ font-weight: bold; color: #222222; }
nav#editar-nav i{ color: #222222; }
nav#editar-nav a:hover{ color: #222222; }
nav#editar-nav a.btn-primary{ display: inline-block !important; margin: 20px 0 0; color: #fff; font-size: 15px; }
nav#editar-nav a.btn-primary i{ color: #fff; }

.tabla-items td.pista{ color:#222222; font-weight: bold;  }
.tabla-items th.tiempo{ font-size: 18px; font-weight: bold;  }
.tabla-items td.acciones a i{ font-size: 18px;  color:#222222; margin: 0 5px; }
.tabla-items td.mensaje .imagen-mensaje{ width: 120px; height: 100px; border-radius: 10px; cursor: pointer; display: block; float: left; margin-right: 20px; margin-bottom: 10px; background-size: auto 100%; background-repeat: no-repeat; background-position: center center; background-color: #444; }

.tabla-items td.mensaje audio {
	display: block;
	margin: 10px 0;
	height: 30px;
	border-radius: 5px;
}
.tabla-items th.correcta{
     color: #222222;
}
#boton-nuevo { color: #fff; display: inline-block !important; margin: 0 0 20px !important; }

.width_500{
    width: 500px;
    max-width:100%;
}

.clear{ clear:both; }

table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child::before, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child::before {
background-color: #222222;
}
.page-item.active .page-link {	background-color: #222222;	border-color: #222222; }

.custom-control-input:checked ~ .custom-control-label::before {
	color: #fff;
	border-color: #222222;
	background-color: #222222;
}
.tabla-ranking-wrap{ display: block; width: 100%; height: 500px; overflow: auto; }
.date-without-hour{
    width: 300px; 
    max-width: 100%;
}

.mm-active .active {
	font-weight: bold;
}


#form-event{
    width: 400px;
    max-width: 100%;
}
a { color: #222222; }

h2.display-6{ font-size: 20px; color: #222222;  margin-bottom:20px; }
h2.display-6.inline{ display: inline-block;}
.rankings .filtro-fecha{ margin-left:20px; float: right;  }
.rankings .filtro-fecha, .rankings .filtro-fecha label, .rankings .filtro-fecha input{ display: inline-block;  }
.rankings .filtro-fecha input{ width:90px; margin-left:10px; text-align: center; padding:0 !important; } 

.notificaciones .link-eliminar i{ font-size: 18px; }

#login-page.bg-primary{ background-color: #eee !important; }

#login-page #appbackend-logo-login{ 
    background: url(../images/logo.png) center center no-repeat;
	background-size: 300px;
	background-color: #fff;
	border: solid thin #ccc;
	box-shadow: 0px 0px 10px #ccc;
}

#login-page #appbackend-logo2-login{ 
    background: url(../images/Logo-FondosEU-1.png) center center no-repeat;
	background-size: 400px;
	background-color: #fff;
	border: solid thin #ccc;
	box-shadow: 0px 0px 10px #ccc;
}


#toolbarContainer{
    display: none !important;
}

#form-article{
    width: 600px;
    max-width:100%;
}

#login-page #boton-acceder{ background:#222222; border-color: #222222; }
#login-page #boton-acceder:hover{ background: #fff !important; color:#222222; border-color: #222222; }

#titulo-lista-items{ display: inline-block; margin-right: 30px; }
#settings-wrap{
    width: 400px;
    max-width:100%;
}

#list-filter select.form-control{
    width:200px;
    max-width:100%;
    display: inline-block;
}
#logo-menu {
	background: #f9f9f9;
	width: 100%;
	box-sizing: border-box;
	padding: 5px;
	height: auto;
    box-shadow: 0px 2px 2px #0003;
}


#vertical-menu-close-btn {
	font-size: 24px;
	position: absolute;
	right: -5px;
	top: -15px;
}

#vertical-menu-btn{
    font-size: 18px;
}

.btn-primary {
	background-color: #222222;
	border-color: #222222;
}

.btn-primary:hover {
	background-color: #5eab30;
	border-color: #5eab30;
    color: #222222 !important;
    opacity: 1;
}

#tabla-users_info{
    display: none;
}

.modal.fade.modal-image .modal-dialog{
    width: 100% !important;
    max-width: 1600px !important;
}

.modal.fade.modal-image .modal-dialog .modal-content{
    background: rgba(255,255,255,0.7) !important
}

.modal.fade.modal-image .modal-dialog .modal-content .modal-header{
    background: #fff;
}

#form-article-url #link{
    width: 400px;
    max-width: 100%;
    display: inline-block;
}

#form-article-url #link{
    width: 400px;
    max-width: 100%;
    display: inline-block;
}

#button-new-article{
    margin-bottom: 0;
}

.modal.fade.modal-image img{
    width: auto;
    height: auto;
    
    max-width: 100%;
}

.image-uploading {
    position: relative;
    display: inline-block;
  }
  
  .image-uploading img {
    max-width: 98% !important;
    filter: blur(5px);
    opacity: 0.3;
  }
  
  .image-uploading::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-left: -15px;
    border-radius: 50%;
    border: 3px solid #ccc;
    border-top-color: #1e986c;
    z-index: 1;
    animation: spinner 0.6s linear infinite;
  }
  .ql-html-overlayContainer {
    background: #0000007d;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
  }
  
  .ql-html-popupContainer {
    background: #ddd;
    position: absolute;
    top: 5%;
    left: 5%;
    right: 5%;
    bottom: 5%;
    border-radius: 10px;
  }
  
  .ql-html-textContainer {
    position: relative;
    height: calc(100% - 40px);
    padding: 20px;
  }
  
  .ql-html-textArea {
    background: #fff;
    position: absolute;
    left: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 60px) !important;
  }
  
  .ql-html-textArea .ql-syntax {
    word-break: break-all;
    white-space: pre-wrap;
  }
  
  .ql-html-buttonCancel {
    margin-right: 20px;
  }
  
  .ql-html-popupTitle {
    margin: 0;
    display: block;
    font-style: italic;
  }
  
  .ql-html-buttonGroup {
    position: absolute;
    bottom: 20px;
    transform: scale(1.5);
    left: calc(50% - 60px);
  }
.ql-container.ql-snow{
    background: #fff;
    font-size: 15px;
}
.ql-container.ql-snow p{
    margin-bottom: 20px;
}
#form-content-editor{
    padding-left: 120px;
}

#lista-contenidos{
    width: 1024px;
    max-width: 100%;
    overflow-x: auto;
}

.table.dt-responsive.nowrap{
    overflow-wrap: break-word !important;
}

#content-list-items, #content-list-children{
    padding-left: 120px;
}

#lista-contenidos #tabla-content_info{
    display: none;
}

#lista-secciones{
    width: 600px;
    max-width:100%;
}

  @keyframes spinner {
    to {
      transform: rotate(360deg);
    }
  }

#tabla-chat{
    max-width: 990px;
}
  
  
@media (max-width:990px){
    #form-content-editor{
        padding-left: 0px;
    }
    #content-list-items, #content-list-children{
        padding-left: 20px;
    }
}
@media (max-width:600px){
    .tabla-items th, .tabla-items td{
        display: block !important;
    }

    .tabla-items tr{
        border-top: solid 4px #444 !important;
    }

    .tabla-items thead{
        display: none;
    }
}