html, body { height: 100%; }
body { font-weight: 100; background-color:#fff; color:#000; }
.content { margin-top: 50px; }
.fright { float:right; }
.fleft { float:left; }
.limpia { clear:both; font-size:1px; }
#translates, #conf { display: none; opacity: 0; width: 0; height: 0; }

/* ESTRUCTURA */
#wrapper { min-height: 100%; }
.navbar-static-top { background-color: #337ab7; }
.navbar-top-links li a { color:#ffdede; }
.nav>li>a:focus, .nav>li>a:hover { background-color:transparent; }
.navbar-default .navbar-brand:focus, .navbar-default .navbar-brand:hover { color:#fff; }
.navbar-default .navbar-toggle, .navbar-default .navbar-toggle:hover { background-color: #fff!important; }
.navbar-top-links li:last-child:hover { background-color:#7b0000; border:2px solid #fff; }
.navbar-top-links li:last-child, .navbar-top-links li:last-child a { -webkit-border-radius: 100%; -moz-border-radius: 100%; border-radius: 100%; height:30px; width:30px; }
.navbar-top-links li:last-child { float:right; border:2px solid transparent; margin: 10px; }
.navbar-top-links li:last-child a { min-height:unset; padding:3px 7px; }
.navbar-brand { color:#fff!important; padding: 5px; }
.navbar-brand > div { float:left; }
.navbar-brand > span { float:left; margin: 10px 0 0 8px; }
.logout-menu { background-color:#7b0000; }
.logout-menu *, .logout-menu *:hover { color:#fff; }
footer { float: right; margin-top: -20px; padding: 0 10px; cursor: pointer; }
footer a { float: right; font-size: 10px; color: #ccc; }
footer:hover a, footer:focus a { color: #888; }
.input-group { width: 100%; }
.showTransPopup { border-left: 0; cursor: pointer; }
.showTransPopup > .fa { color: #337ab7; }
.iPanelLanguages { position: relative; }
.iPanelLanguages .otherLanguages {
	display: none;
	position: absolute;
	width: 50px;
	padding: 0 0 8px 0;
	background-color: #337ab7;
	text-align: center;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
}
.navbar-top-links li.iPanelLanguages .otherLanguages a {
	display: block;
	min-height: auto;
	padding: 5px 0;
	opacity: 0.8;
}
.navbar-top-links li.iPanelLanguages .otherLanguages a:hover { opacity: 1; }

/* GENÉRICOS */
#page-wrapper { padding-bottom:30px; }
.highlight { background-color: yellow; }
.fa-spin { animation:fa-spin .5s infinite linear; -webkit-animation:fa-spin .5s infinite linear; }

/* ICONOS LINK */
a:hover, a:focus { text-decoration:none; }
.fa:hover, .fa:focus { text-decoration:none; }
.fa:focus { outline:none; }

/* LISTADOS */
#mod_list_table tbody tr td:last-child a:hover { text-decoration:none; }
#mod_list_addfield { float:right; clear:both; }
.mod_list_counter { padding:10px; }
.mod_list_counter p { float:left; margin:6px 0; }
.mod_list_counter .pagination { margin-top:0; display:inline; }
.search-mod-list { float:right; max-width:180px;  }
.alert-grey { color: #777; background-color: #f9f9f9; border-color: #ddd; }
th .fa { float:right; margin:3px 0 0 5px; }
.draggable, .sortable { cursor:move; }
th .fa-chevron-down { margin-left:0; }
table td .btn-group { display:flex; }

/* LOGIN */
.page-wrapper-login { position:relative; width:100%; height:100%; }
.page-wrapper-login #page-wrapper { max-width:600px; width:100%; margin: 10% auto 0!important; border:none; }

/* FORMULARIOS */
.panel-multiple .panel-footer { min-height:41px; }
.panel-multiple .panel-footer a:first-child { float:left; }
.panel-multiple .panel-footer a:last-child { float:right; }
.panel-multiple > div .panel-footer a:first-child { display:none; }
.panel-multiple > div:last-child .panel-footer a:first-child { display:block; }
.help-block { margin-top:-2px; line-height:15px; }
.form-group .fa-pencil { margin: 0 5px 0 0; }
.noresize { resize: none; }
.radio { margin:0; }
.radio label:first-child { margin: 0 10px 0 0; }
.panel-heading label { margin:0; }
.panel-heading input { float:left; margin:4px 3px 0 0; }
.mod_form_field_options { float:right; }
.mod_form_field_options a { margin: 0 5px; }
.mod_form_field_options a:first-child { margin:0; }
.placeholder-sortable { border: 1px dotted black; margin: 0 1em 1em 0; background-color:#FCFB98; height: 100px; }
.add_field_combo { float:right; margin: 0 0 0 5px; }
.alert_form_related .form-group { margin-bottom:0; }
.alert_form_related .row .col-md-6:first-child { margin:6px 0 0 0; }
.form-group input[type="file"]{ width:100%; }
.has-error .cke_chrome { border-color: red; }

.datetime_layer { float:left; width:100%; margin: 0 0 15px 0; }
.datetime_date { float:left; width:50%; }
.datetime_time { float:left; width:calc(50% - 10px); margin-left:10px; }
.datetime_hour { float:left; width:calc(50% - 9px); }
.datetime_min { float:left; width:calc(50% - 9px); margin-left:6px; }
.datetime_separator { font-weight:bold; float:left; max-width:8px; font-size:18px; margin: 3px 0 0 6px; }

/* FIRMA */
.mod_signature_layer { position:relative; }
.mod_signature_layer button { position:absolute; bottom:5px; right:5px; }
.mod_signature_wrapper { margin-bottom:20px; }
.mod_signature_wrapper, .mod_signature_layer { float:left; width:100%; }
.mod_signature_wrapper canvas { float:left; width:100%; height:300px; border:1px solid #ccc; border-radius:4px; }
.mod_signature_image { border:1px solid #ccc; }

/* MEDIA */
.mod_media_view, .mod_media_file, .mod_media_options { float:left; }
.mod_media_view { width:100%; }
.mod_media_file { width:102px; margin: 0 10px 0 0; }
.mod_media_file img { width:100%; }
.mod_media_options .checkbox, .mod_media_options .radio { margin: 0; }
.mod_media_view input[type="file"] { width:calc(100% - 112px); }
.mod_media_view a img, .mod_media_in_list { border:1px solid; }
.galery_delete_all_checkbox, .galery_delete_checkbox, .galery_table { display:none; }
.galery_table .preview img { max-width: 200px; max-height: 100px; }
.galery_table .gallery_options > label { float: left; width: 100%; font-weight: 400; }
.galery_table .gallery_options > label > span { float: left; width: 125px; }
.galery_table .gallery_options > label > select { float: left; width: 90px; }

/* AUTOCOMPLETE */
.ui-autocomplete { border-radius: 4px; }
.ui-autocomplete-loading { background: white url('../img/icons/loading.gif') right 5px center no-repeat; }
.ui-widget { font-family: Arial; font-size:14px; }

/* IFRAME DE PROCESO */
#iframeDebug { position:fixed; z-index:10001; bottom: 0; border:1px dashed #337ab7; border-left:none; width:35px; height:35px; background-color:#fff; }
#iframeDebug a { text-decoration:none; float:right; margin: 10px; }
#iframeDebug a:first-child { margin-left:0; }
#iframeDebug a:hover { text-decoration:none; }
#iframeDebug iframe { background-color:#fff; border:none; width:100%; height:calc(100% - 34px) }

/* SÓLO PARA PANTALLAS MD O SUPERIORES */
/* Formularios con borde de las pestañas */
@media (min-width: 768px) {
	.nav-tabs { margin-bottom: 0!important; }
	.tab-content { border-left: 1px solid #ddd; border-right: 1px solid #ddd; border-bottom: 1px solid #ddd; margin: 0 0 20px 0; padding: 20px 0 0; }
}
@media (max-width: 767.9px) {
	footer, footer a { float: right; }
}