/* -------------------------------------------------------- */


/*               Gestor de imagenes                         */


/* -------------------------------------------------------- */

#add_imagen {
	text-align: left;
	width: 100%;
	display: block;
	margin: 15px auto;
}

#add_imagen fieldset {
	border: none;
}

#add_imagen fieldset form {
	text-align: center;
}

#add_imagen fieldset form a {
	font-weight: bold;
	text-decoration: none;
	background-color: #335871;
	padding: 10px;
	color: white;
	display: block;
	width: 50%;
	min-width: 80px;
	margin: 2px auto;
}

#add_imagen fieldset form a:hover {
	background-color: #69B7EB;
	color: dimgray;
}

h2.titulo {
	text-align: center;
}

#add_imagen p {
	text-align: center;
	margin: 15px;
	display: block;
}

#lista_imagenes_banner {
	float: left;
	display: block;
	overflow: hidden;
	width: 100%;
	border: thin #0099CC solid;
	text-align: center;
}

a.seleccionar {
	display: block;
	background: white;
	padding: 5px;
	text-decoration: none;
	font-weight: bold;
	text-align: center;
}

#lista_imagenes_banner a.seleccionar:hover,
#lista_imagenes_banner a.borrar:hover {
	background: rgb(66, 115, 148);
	color: white;
}

#lista_imagenes_banner img {
	max-width: 150px;
	max-height: 150px;
}

#lista_imagenes_banner a.borrar {
	position: absolute;
	bottom: 0;
	right: 0;
	padding: 7px 0px 6px 27px;
	text-decoration: none;
	font-weight: bold;
	background: #fff url(../images/borrar.png) no-repeat left center;
	width: 0px;
	-webkit-transition: width 1s, padding 1s;
	/* Safari */
	transition: width 1s, padding 1s;
	overflow: hidden;
}

#lista_imagenes_banner a.borrar:hover {
	padding: 7px 7px 6px 27px;
	width: 47px;
}

#lista_imagenes_banner .foto_banner {
	/* float: left; */
	margin: 10px;
	display: inline-block;
	border: 1px solid #DDE9F0;
	padding: 5px;
	position: relative;
}

form#form_crear_banner fieldset {
	border: none;
}

#posicion span,
#datos_banner span {
	display: block;
	margin: 3px 0px 3px 0px;
}

fieldset#posicion,
fieldset#orden {
	border: none;
	float: left;
	display: block;
	clear: none;
	width: 120px;
}
fieldset#posicion{
	display: none;
}
fieldset#posicion input[type="radio"] {
	width: 15px;
	margin: 0px;
}

form#form_crear_banner fieldset#orden label {
	display: block;
	margin: 5px 0;
	text-align: left;
}

form#form_crear_banner fieldset#orden label.opcion {
	display: inline-block;
	width: 45px;
}

fieldset#orden input[type="text"] {
	width: 15px;
	text-align: right;
}

form#form_crear_banner {
	text-align: left;
	width: 800px;
	display: block;
	margin: 15px auto;
}

form#form_crear_banner label {
	display: inline-block;
	text-align: left;
	width: 65px;
}

#crear_codigo, #reset {
    margin: 20px auto;
    width: 100px;
}

fieldset#datos_banner {
	width: 530px;
	float: left;
	display: block;
	clear: none;
}

#datos_banner label {
	width: 50px;
	text-align: left;
}

#datos_banner input {
	width: 440px;
}

#form_crear_banner fieldset {
	padding-top: 0px;
	padding-bottom: 0px;
}

label.primera_opcion {
	margin-bottom: 10px;
}

fieldset#botones_banner {
	text-align: center;
	display: block;
	width: 526px;
	height: 60px;
}
th {
	background: #006FA2;
	color: #FFFFFF;
	height: 30px;
}

th a:link {
	color: #FFFFFF;
	text-decoration: none;
}

tr:nth-child(2n) {
	background: #c9edfd;
}

td {
	border-bottom: 1px dashed #015176;
	padding: 4px 0;
}

td.t_banner a {
	width: 100%;
	text-align: center;
	text-decoration: none;
}

td.t_banner a img {
	max-width: 150px;
	max-height: 150px;
}

tr.foot_tabla td {
	height: 2px;
	padding: 0px;
	border-bottom: 0;
	background-color: #006FA2;
}

.art-article td.t_orden {
	text-align: right;
}

fieldset.fileReader span.contenedor_barra {
	height: 35px;
	border: 1px solid #69b7eb;
	background: #ccc;
}

fieldset.fileReader span.contenedor_barra span.barra {
	height: 100%;
	background: #006FA2;
}

.teditar {
	width: 110px;
	text-align: center;
}


/* BOTONES */

.btn {
	height: 28px;
	border: none;
	border-radius: 3px;
	width: 85px;
}

.btn-editar {
	background: url('../images/wrench.png')left center no-repeat;
	border: 1px solid #333;
	background-color: #f7f7f7;
}

.btn-editar:hover {
	background: url('../images/wrench.png')left center #009fe3 no-repeat;
	color: #FFF;
}

.half-7 {
	width: 60%;
	float: left;
	padding-left: 10px;
}

.half-4 {
	width: 30%;
	float: left;
	text-align: center;
	height: 190px;
	overflow: hidden;
	border-left: 2px solid #69b7eb;
}

.half-4 img {
	max-width: 200px;
	max-height: 190px;
}

h4 {
    font-weight: bold;
    color: #006fa2;
    text-align: center;
}
/*
* Estilos para el fileManager
*/

#armiManager {
	border-top: 2px solid #333;
	border-bottom: 2px solid #333;
	width: 90%;
	margin: 50px auto;
}

.ficheros {
	display: flex;
	justify-content: space-around;
    align-items: flex-start;
    align-content: center;
	flex-wrap: wrap;
}

.directorio,.imagen_f {
	flex: 1 1 150px;
	border: 1px solid #DDE9F0;
	padding: 5px;
	min-height: 205px;
	margin: 10px;
	overflow: hidden;
	border-radius: 3px;
}
.directorio {
	background: url('../images/folder.png')center center no-repeat;
	width: 100px;
	height: 100px;
}
.directorio:hover{
	transition: all ease-in 0.1s 0s;
-webkit-box-shadow: 6px 10px 12px -1px rgba(219,219,219,1);
-moz-box-shadow: 6px 10px 12px -1px rgba(219,219,219,1);
box-shadow: 6px 10px 12px -1px rgba(219,219,219,1);
}

.imagen_f {
	text-align: center;
	display: block;
	width: 150px;
	overflow: hidden;
	position: relative;
}
.imagen_f img{
	max-width: 150px;
	height: auto;
}
.imagen_f a{
	text-decoration: none;
}
.imagen_f a.seleccionar:hover, #lista_imagenes_banner a.borrar:hover {
    background: rgb(66, 115, 148);
    color: white;
}
.seleccionado{
    border: 2px solid #f8d486;
    border-radius: 3px;
    font-weight: bold;
}
/*
* Dentro del Armi manager la toolbar
*/
.toolbar {
	width: 100%;
	height: 41px;
	background: #FAFAFA;
	margin-bottom: 34px;
	border: 1px solid #333;
	padding: 2px 10px;
}
.toolbar strong {
    height: 40px;
    line-height: 40px;
    display: inline-block;
    border-right: 1px solid black;
    vertical-align: bottom;
    padding-right: 25px;
}
.btn-dir {
 height: 40px;
    width: 40px;
	border: none;
	cursor: pointer;
}

#subirdir {
	background: url('../images/toolbar/folderUp.png')center center no-repeat;
}

.anadirdir{
	background: url('../images/toolbar/folderNew.png')center center no-repeat;
}

#borrardir {
	background: url('../images/toolbar/folderDel.png')center center no-repeat;
}
/*Cada Elemendo de la foto*/
#armiManager a.borrar {
	position: absolute;
    bottom: 0px;
	display: block;
	padding: 7px 0px 6px 27px;
	text-decoration: none;
	font-weight: bold;
	background: #fff url(../images/borrar.png) no-repeat left center;
	width: 0px;
	-webkit-transition: width 1s, padding 1s;
	/* Safari */
	transition: width 1s, padding 1s;
	overflow: hidden;
}

#armiManager a.borrar:hover {
	padding: 7px 7px 6px 27px;
	width: 47px;
}
.fileReader {
    display: inline-block;
    height: 40px;
    width: 40px;
    background: url('../images/toolbar/upload.png')center center no-repeat;
	margin: 0px 16px;
    padding: 0px;
    vertical-align: top;
	cursor: pointer;
}
.fileReader a{
	color: rgba(0,0,0,0);
	height: 40px;
    display: inline-block;
}
.aviso, .aviso_ban{
	color: darkred !important;
	display: none;
	background: #FAFAFA;

}
a.btn-default {
    height: 16px;
    width: 16px;
    margin: 2px;
    display: inline-block;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    padding: 1px 14px;
    background: #333;
}
.td_carpeta{
	width: 11%;
    text-align: center;
}
/*
	Buscador sobre la tabla
*/
.clearfix{
	clear:both;
}
.area_busqueda{
	width: 95%;
    margin: auto;
    border: 1px solid #69b7eb;
    background: #fafafa;
    padding: 0px 10px;
    border-radius: 3px;
}
.zona{
	display:inline-block;
	margin: 10px auto;
}
.zona_l{
	width: 39%;
	margin: auto;
	display: inline-block;
}
.zona_l form{
	display: inline-block;
}
.zona select {
    width: 146px;
    padding: 2px;
}
#add_banner {
    border-top: 2px solid #69b7eb;
}