/* GENERALES */
*{
	padding:0;
	margin:0;
	box-sizing: border-box;
	color:#565656;
}
code{
	color: #FF5722;
	background-color: #fffde9;
  padding: 5px;
  display: inline-block;
  border: 1px solid #fffac4;
}
a{
	color:#03A9F4;
	text-decoration:none;
}
body{
	background-color:#f9fbfd;
	font-family:Poppins;
}

p{
	padding:4px 0;
}
.items-menu-tipo::before,
#wrap-menu::before{
    display: table;
    content: " ";
}
.items-menu-tipo::after,
#wrap-menu::after{
    display: table;
    content: " ";
    clear: both;
}
#message{
    top: -60px;
    left: 50%;
    width: 100%;
    max-width: 400px;
    position: fixed;
    background-color: #FFFDD6;
    z-index: 9999; /* Debe sopreponerse a todo */
    box-shadow: 1px 1px 20px gray;
    padding: 20px 30px;
    color: gray;
    transform: translate(-50%,0)!important;
    text-align: center;
}
/* CABECERA */
.fixed{
	top: 52px;
	position: fixed;
	opacity: 1;
	z-index: 5000;
	width: 100%;
	background-color: #F7F7F9;
	left: 0;
	border-top: 1px solid #E2E2E2;
	border-bottom: 1px solid #E2E2E2;
}

#out,
#config,
#modules{
	position:absolute;
	right:15px;
	top:11px;
	font-size:0.9em;
}
#config{
	right:60px;
}
#modules{
	right:105px;
}
#search-form input[type="text"]{
	width:calc(100% - 30px);
	padding:5px 8px;
	border:0;
}
#search-form input[type="text"]:focus {
    outline-width: 0;
}
#search-form{
	border:1px solid gray;
	width:100%;
	max-width:400px;
	padding:2px;
}
#search-form .search{
	background:url('../img/search-white-20.png') #fff;
	width:20px;
	height:20px;
	border:0;
	text-indent:-9999px;
}
#search-form .search:hover{
	background:url('../img/search-gray-20.png') #fff;
}
.btnMenuOpen,
.CoverBtnMenuClose,
.Cover_additem{
	display:none;
}

/* PAGINA INICIAL */
.wrap-home{
	padding:5px;
}
.colInicial{
	padding:10px 5px;
}
.btn-goto-web{
	position:absolute;
	right:150px;
	top:10px;
}
/* CONTENIDOS */
#contenedor .subtitle{
	margin-bottom:5px;
	font-size:1.05em;
}
section.seccion {
    box-shadow: 1px 1px 4px #e2e2e2;
    border-radius: 4px;
    background-color: #fff;
    margin-bottom: 30px;
    position: relative;
    border:1px solid #E4E4E4;
	overflow:auto;
}
.seccion picture{
	position: relative;
}
.seccion picture img{
	max-width:100%;
}
.seccion picture .filename{
	position: absolute;
		right:0;
		bottom: 0;
		background-color: #fff;
		font-size: .85em;
		padding: 5px;
}
.info{
	font-size: 0.85em;
	color: #7B7B7B;
	margin:2px 0 5px;
	display: block;
	font-weight: initial;
	line-height:12px;
}
.seccion .info2{
	font-size: 0.8em;
    color: #7B7B7B;
    margin: 4px 0 9px 0;
    display: block;
    margin-left: 15px;
}
.seccion .seccion-header{
	border-bottom: 1px solid #E4E4E4;
	color: #000;
	padding: 1.125em;
}
.seccion-header .buttons {
    position: absolute;
    right: 20px;
    top: 15px;
}
.seccion-header .buttons li{
	display:inline-block;
}
.seccion .seccion-body{
	padding: 1.125em;
}
.seccion .seccion-scroll{
	overflow:auto
}
.seccion .seccion-body li{
	list-style-type:none;
}
.seccion-body .gallery-items li{
	width:15.66%;
	margin:5px .5%;
	padding:5px;
	float:left;
	list-style-type:none;
	position:relative;
}
.seccion-body a.link-small{
	font-size:.95em;
	font-weight:bold;
	padding:0 4px;
}
.seccion-list-margin-left{
    margin-left: 15px;
}
.seccion-subtitle{
	margin:10px 15px 0 15px;
	padding-bottom:10px;
	border-bottom:1px solid #CCCCCC;
}
.gallery-items li:hover > .gallery-items-del{
	display: block;
}
.seccion-body .gallery-items li img{
	max-width:100%;
}
.seccion-body .gallery-items-del{
	position:absolute;
	display:none;
	right:5px;
	top:5px;
	color:red;
	cursor:pointer;
}
.seccion-body pre {
    word-wrap: break-word;
    white-space: pre-wrap;
    border: 0;
    background-color: #37474F;
    padding: 10px;
    color: #fff;
}
section.seccion .more{
    position: absolute;
    top: 18px;
    right: 20px;
    text-decoration: none;
}
section.seccion .popup {
	position: absolute;
    top: 5px;
    right: 30px;
    text-decoration: none;
}
.help{
    background: url('../img/icon_info.png') no-repeat #0094DA;
		background-position: 102% 110%;
    display: block;
    margin: 5px 0 20px;
    background-color: #FFFDE9;
    box-shadow: 1px 1px 4px #E4E4E4;
    padding: 22px;
    font-size: 1em;
    position:relative;
}
.help li{
	margin-left: 20px;
}
.help-close{
	top:22px;
	right:22px;
	position:absolute;
	height:23px;
	width:23px;
	border-radius:50%;
	text-align:center;
	font-weight:bold;
	display:table-cell;
	vertical-align: middle;
    background-color: #858D9A;
    color: white;
    transform:scale(.8);
}
.help-close:hover{
	box-shadow:1px 1px 5px gray;
	transform:scale(1);
}
#btnshowDateTimeCover{
	display:inline-block;
	padding:10px 0 5px;
}
#coverFechaPublicacion{
	background-color: #EFEFEF;
    border: 1px solid #DADADA;
    padding: 5px;
    display:none;
}
.seccion .mitad{
	width:50%;
	padding:5px;
	float:left;
}
.seccion .add{
	font-size:.8em;
}

.content-edit{
	float:left;
	width:calc(100% - 300px);
}
.seccion label input[type="checkbox"]{
	margin-right:5px;
}
.seccion .lbl-listoptions{
	padding:2px 0;
	color:gray;
	max-width:500px;
	width:100%;
}
#sidebar{
	width:300px;
	float:right;
	padding:0 5px;
}
.seccion h3.subtitle {
	background-color: #858D9A;
    color: #fff;
    padding: 5px;
		    font-weight: 500;
}
.seccion .subform{
	background-color:#F7F7F7;
	padding:10px;
}
#catlist{
	overflow: auto;
    height: 200px;
}
#alblist{
	overflow: auto;
    max-height: 140px;
    border: 1px solid #E4E4E4;
    padding: 0px 10px;
}
/* BOTONES DE TOOLBAR */
#toolbar{
	margin-bottom:10px;
}
.edit-config{
	float:right;
	margin-right:10px;
	margin-top:3px;
}

/* LISTADOS - BOTONES DE EDICION */
.buttons-edition img {
    float: left;
    margin-right: 5px;
}
.buttons-edition {
	margin-bottom:10px;
}
.buttons-edition li{
	display:inline-block;
	list-style-type:none;
}
.buttons-edition li input[type="text"] {
    padding: 4px;
}

/* PAGINATION */
.navs table{
	width:100%;
}
.pagination{
	background-color:#fff;
	overflow:hidden;
}
.pagination ul{
	float: right;
	margin-left:1px;
}
.pagination ul li{
	float:left;
	border: 1px solid  #ddd;
	list-style-type:none;
	margin-left: -1px;
	background-color:#fff;
}
.pagination ul li:first-child{
	border-radius:4px 0 0 4px;
}
.pagination ul li:last-child{
	border-radius: 0 4px 4px 0;
}
.pagination ul li a,
.pagination ul li span{
	padding: 6px 12px;
	display:block;
	font-size:.9em;
	color:#1E90FF;
}
.pagination .pbutton:hover{
	background:#e2e2e2;
}
.pagination ul li span{
	color:#333;
}
.page-disabled{
	cursor:not-allowed;
}
.page-disabled a{
	background-color:#F1F0F0;
	pointer-events: none;
}
a.page-resalt {
	font-weight:bold;
	pointer-events: none;
}
#pagination table{
	font-size:0.9em;
}
#pagination select{
	padding:0;
	width:auto;
}

/**** EXPLORADOR DE ARCHIVOS *****/
/* Load image */
#img_loading {
    position: fixed;
    z-index:9998;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.bg-opacity{
	background-color:#000;
	opacity:0.7;
	width:100%;
	height:100vh;
	position:fixed;
	display:none;
	z-index:8000;
}

.cover-input-dialog{
	position:relative;
}
.cover-input-dialog .icons{
	position:absolute;
	top:50%;
	right:5px;
	transform:translate(0, -50%);
	background-color:#fff;
}
.cover-input-dialog .icons img{
	margin:0 2px;
}

/* GRID */
.wrap-grid::before {
    display: table;
    content: " ";
}
.wrap-grid::after{
	display: table;
    content: " ";
	clear:both;
}
.grid-1{
	width:calc( 10% * 1 );
	float:left;
}

@media screen and (max-width: 1400px) {
	.grid-1{
		width:calc( 12.5% * 1 );
		float:left;
	}
}
@media screen and (max-width: 1100px) {
	.grid-1{
		width:calc( 16.6666% * 1 );
		float:left;
	}
}
.grid-1{
	padding:6px;
	list-style-type:none;
	border: 1px solid #F3F3F3;
	background-color:#DEDEDE;
}
.cover-img{
	overflow:hidden;
	background: #eee;
	box-shadow: inset 0 0 15px rgba(0,0,0,.1),inset 0 0 0 1px rgba(0,0,0,.05);
	position:relative;
	height: 120px;
	background-position: center;
	background-size: cover;
}
.cover-img span a{
	color:gray;
}
.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cover-img > a{
	display:table-cell;
	max-width:100%;
	vertical-align: middle;
}
.cover-img a img{
	text-align:center;
}
.cover-img .checkbox{
	position:absolute;
	top:5px;
	right:5px;
	z-index:0;
	padding:10px;
}
.cover-img span.edit{
	position:absolute;
	display: none;
	text-align:center;
	left: 20%;
	top: 50%;
	transform: translate(0, -50%);
}
.cover-img span.delete{
	position:absolute;
	display: none;
	text-align:center;
	right: 20%;
  top: 50%;
  transform: translate(0, -50%);
}
.cover-img span i{
	color:#fff;
	font-size:1.6em;
	text-shadow:1px 1px 5px #000;
}
.cover-img .other-file{
	position: absolute;
	left:50%;
	top:50%;
	transform:translate(-50%, -50%);
}
.cover-img span.filename{
	position:absolute;
	width:100%;
	bottom:0;
	overflow: hidden;
	font-size: .8em;
	padding: 4px 0;
	text-align: center;
	background-color: #fff;
}
.cover-img span.delete a{
	color:red!important;
}
.cover-img:hover > span{
	display:block;
}
.grid-1 label{
	margin: 0;
}

/* BIBLIOTECA DE MEDIOS */
.library li{
	width:20%;
	float:left;
	list-style-type: none;
	padding:10px;
}
.library li label input[type="checkbox"]{
	text-align:right!important;
}
.library li label{
	width:100%;
	text-align:center;
	display:block;
	border:1px solid #EFEFEF;
	border-radius:5px;
	background-color:#fff;
}
.library li img.thumb{
	max-width:90%;
}

.library li span{
	display:block;
}
/* MENU EDITION STYLES */
.menu-edition{
	margin: 10px 0;
    padding: 10px;
    min-height: 200px;
    background:url('../img/back-menu.png') center center no-repeat;
}

.menu-edition ul li{
	list-style-type:none;
	background-color:#fff;
	position:relative;
}
.menu-edition ul li ul{
	margin-left:20px;
	padding: 5px 0 0 0;
}

.menu-edition .margen_1{
	margin-left: calc(10px * 1);
}
.menu-edition .margen_2{
	margin-left: calc(10px * 2);
}
.menu-edition .margen_3{
	margin-left: calc(10px * 3);
}
.menu-edition .margen_4{
	margin-left: calc(10px * 4);
}
.menu-edition .margen_5{
	margin-left: calc(10px * 5);
}
.menu-edition .margen_6{
	margin-left: calc(10px * 6);
}
.menu-edition .margen_7{
	margin-left: calc(10px * 7);
}
.menu-edition .margen_8{
	margin-left: calc(10px * 8);
}
.menu-edition .margen_9{
	margin-left: calc(10px * 9);
}
.menu-edition .margen_10{
	margin-left: calc(10px * 10);
}
.menu-edition .margen_11{
	margin-left: calc(10px * 11);
}
.menu-edition .margen_12{
	margin-left: calc(10px * 12);
}

.header{
	cursor:all-scroll;
    padding: 10px;
    border:1px solid #efefef;
    background-color:#FBFBFB;

}
.header span{
	color:#000;
}
.placeholder {
    border: 1px dotted gray!important;
    margin: 0 1em 1em 0;
    height: 50px;
  }
.info-menu{
	display:block;
	font-size:.9em;
	visibility:hidden;
}
.header:hover .info-menu{
	visibility:visible;
}

/* ITEMS MENUS*/
.item-header{
	cursor:all-scroll;
    padding: 5px 10px;
    border:1px solid #efefef;
    background-color:#FBFBFB;
    position:relative;
}
.item-body{
	padding: 5px 10px;
	border-left:1px solid #efefef;
	border-right:1px solid #efefef;
	border-bottom:1px solid #efefef;
	background-color:#fff;
}

.items-menu-tipo li{
	float:left;
	width:25%;
	list-style-type:none;
	margin:0!important
}
.items-menu-tipo li a{
	display:block;
	text-align:center;
	border-bottom: 0!important;
	overflow: hidden;
	padding:5px 0;
	text-overflow: ellipsis;
}
.list-pag,
.list-art,
.list-per,
.list-cat{
	height: 400px;
    overflow-y: auto;
}
.item-menu-selected{
	background-color:#F9F9F9;
	border: 1px solid #EFEFEF;
}
#list-pag,
#list-art,
#list-per,
#list-cat{
	padding:15px 10px;
	margin-top: -1px;

}

/* SECCION DE MENSAJES */
.header-message {
    padding: 15px;
    background-color: #f7f7f7;
    border: 1px solid #CCC;
    border-radius: 5px;
}
.header-message h1{
	font-family:Arial, Helvetica, sans-serif;
}
.header-message p{
	padding:5px 0px 5px 0px;
}

/* Mensaje de resultados */
#message_result {
    background: url('../img/accept-16.png') no-repeat 10px center yellow;
    padding: 10px 20px 10px 35px;
    border: 1px solid #FFEB3B;
    margin: 10px;
    color: brown;
    font-weight: bold;
    display:none;
}

/* OPCIONES MENU LIST EDIT */
.menu-list-edit li{
	padding:8px 6px;
	background-color: #f9f9f9!important;
}
.menu-list-edit li span{
	display: inline-block;
	margin-left: 10px;
	font-weight: bold;
}
.menu-list-edit li label{
	cursor:pointer;
	float:right;
	display: inline-block!important;
	margin: 0;
}
.ui-state-highlight{
	border: 1px dashed gray!important;
	background-color: #fffef3!important;
	height: 36px;
}
/* TODOS LOS BOTONES */
.button-sm {
    font-size: .8em!important;
    padding: 3px 12px!important;
}
.button-lg {
    font-size: 1em!important;
    padding: 5px 16px!important;
}
input[type="button"],
input[type="submit"],
.button{
	transition: color 0.1s linear 0s,background-color 0.1s linear 0s,opacity 0.2s linear 0s!important;
	padding: 4px 15px;
	display: inline-block;
  margin: 2px 0;
  border-radius: 4px;
	color: #737373;
	background-color: #E0E0E0;
	border: 1px solid #BDBDBD;
	font-family: Poppins;
	font-size: .9em;
}
input[type="button"] .button-label,
input[type="submit"] .button-label,
.button .button-label{
	color: #737373;
}
input[type="button"] i,
input[type="submit"] i,
.button i{
	color: #737373;
}

/* TODOS LOS BOTONES: HOVER */
input[type="button"]:hover,
input[type="submit"]:hover,
.button:hover{
	background-color: #f5f5f5;
	box-shadow: 1px 1px 5px #b9b9b9;
}

/* TODOS LOS BOTONES: ACTIVE */
input[type="button"]:active,
input[type="submit"]:active,
.button:active{
	transform: translateY(1px);
}

/* BOTON PRINCIPAL */
.btn-primary{
	color:#fff!important;
	background-color: #388E3C!important;
	border: 1px solid #2E7D32!important;
}
.btn-primary *{
	color:#fff!important;
}
.btn-primary:hover{
	background-color: #43a047!important;
	border: 1px solid #388E3C!important;
}

/* BOTON DELETE */
.btn-delete{
	color:#fff!important;
	background-color: #ca3c3c!important;
	border: 1px solid #ca3c3c!important;
}
.btn-delete *{
	color:#fff!important;
}
.btn-delete:hover{
	background-color: #e24444!important;
	border: 1px solid #e24444!important;
}

/* REVISION */
.button-success {
	background: rgb(28, 184, 65);
}
.button-error {
  background: rgb(202, 60, 60);
}
.button-warning {
  background: rgb(223, 117, 20);
}
.button-secondary {
  background: rgb(66, 184, 221);
}
/* SPLIT BUTTON - BOTON MENU DESPLEGABLE */
.x-split-button {
  position: relative;
  text-align: left;
	margin-right: 5px;
}
.x-split-button button:first-child{
	border-top-right-radius: 0!important;
	border-bottom-right-radius: 0!important;
	border-right: 1px solid #00a06f!important;
}
.x-split-button .x-button-drop{
	border-top-left-radius: 0!important;
	border-bottom-left-radius: 0!important;
	padding: 4px 5px!important;
}
.x-button {
  position: relative;

  float: left;
  outline: none;
}

.x-button:hover {
  cursor: pointer;
  background: #E0E0E0;
}

.x-button:active {
  background: #D3D3D3;
}

.x-button.x-button-drop {
  border-left: 0;

}
.caret {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 2px;
	vertical-align: middle;
	border-top: 4px dashed #fff;
	border-top: 4px solid\9;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}

.open > .x-button-drop-menu {
  display: block;
}

.x-button-drop-menu {
	position: absolute;
	top: 22px;
	z-index: 1000;
	display: none;
	float: left;
	min-width: 160px;
	padding: 5px 0;
	margin: 2px 0 0;
	font-size: 14px;
	list-style: none;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #E0E0E0;
	box-shadow: 1px 1px 6px #E0E0E0;
	border-radius: 4px;
}

.x-button-drop-menu li a {
  display: block;
  padding: 6px 20px;
  clear: both;
  font-family: arial;
  color: #444;
  text-decoration: none;
}

.x-button-drop-menu li a:hover {
  background: #f9f9f9;
}
