/* ++++++++++++++++++++++++++++++++ */
/* 	GUS ULTIMOS CAMBIOS (29/9/2020)   */
/* ++++++++++++++++++++++++++++++++ */

.text-primary {
	color: #274f83 !important;
}



body {
	background-color: #f4f6f9;
}

.bg-cyan {
	background-color: #3580BB !important;
}

.note-editable * {
    line-height: inherit!important;
    padding-top: 5px;
 }
/* .note-editor .note-editable p, .modal-body p { margin-bottom: 0 !important; }  */

*[disabled]{
    color:silver !important;
}

.input-url{
    color:#00a64e !important;
    background-color: #f8f8f8 !important;
    font-style: italic;
    font-size: 98%;
}

#gasto {
    padding-right: 40px !important;
}

.swal2-container {
    z-index: 99999 !important;
}

.main-sidebar {
    z-index: 3002 !important;
}

.text-muted {
    color: #a6afb6!important;
}

.modal {
	z-index: 5000 !important;
}

.sombra {
	-webkit-box-shadow: 0px 0px 6px 2px rgba(62,100,138,1);
-moz-box-shadow: 0px 0px 6px 2px rgba(62,100,138,1);
box-shadow: 0px 0px 6px 2px rgba(62,100,138,1);
}

.seleccionado {
	-webkit-box-shadow: 0px 0px 0px 5px rgba(40,103,171,1);
-moz-box-shadow: 0px 0px 0px 5px rgba(40,103,171,1);
box-shadow: 0px 0px 0px 5px rgba(40,103,171,1);
}

#liAnuncios.list-group {
 height: 55vh;
 overflow-y: scroll;
}





.embedded-daterangepicker .daterangepicker {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  float: left;
  width: 100%;
  margin-top: 0;
  margin-bottom: 10px !important;
  z-index: 1 !important;
}
.embedded-daterangepicker .daterangepicker .drp-calendar {
  width: 80%;
  max-width: 50%;
}

#rs .sticky{
 position: -webkit-sticky !important;
  position: sticky !important;
  top: 30px;
}

table td{
	vertical-align: middle!important;
}

td .fa,td .fas, td .far{
	font-size: 1em !important;
}

table th a{
	color: #001d80 !important;
}
table th{
	font-weight: normal !important;
}

td.ellipsis {
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      font-style: italic;
      color: grey;
      max-width: 0;
}

.w-1 {
	max-width:100%;
	white-space:nowrap;
	text-align: center;
}

.bg-warning {
    background-color: #fff0c1!important;
}


.card {
	padding: 2px 3px;
}

.card-footer {
    border-top: 1px solid rgba(0,0,0,.125);
}

.note-editor.note-frame {
    border:none; 
}

.note-toolbar.card-header {
	padding: 0 0 5px 5px;
}

.content-body {
	padding: 0 10px;
}

label:not(.form-check-label):not(.custom-file-label) {
	font-weight: normal !important;
}

.select2-selection__choice {
	background: #28a745;
    color: #fff !important;
	clear: left;
}

.list-group-item {
    padding: .5rem 1.25rem;
    border: 0;
    border-bottom: 1px solid rgba(0,0,0,.125);
    margin-bottom: 0px;
}

.grid-square {    
    height: auto;
    display: inline-block;
    background-color: #fff;
    padding: 5px;
    cursor:all-scroll;
}



 

.delImg {
    position: absolute;
    bottom:2px;
    right:1px;
} 
.editImg {
    position: absolute;
    top:2px;
    right:1px;
}

.highlight {
    opacity: 0.50;
    border: 1px solid navy;
}



.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active,
[class*=sidebar-dark-] .nav-sidebar>.nav-item.menu-open>.nav-link, 
[class*=sidebar-dark-] .nav-sidebar>.nav-item:hover.menu-open>.nav-link, 
[class*=sidebar-dark-] .nav-sidebar>.nav-item:hover>.nav-link.active,  
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:hover {
    background-color: rgba(255,255,255,.3);
    color: #fff;
}

[class*=sidebar-dark-] .nav-sidebar>.nav-item:hover>.nav-link, 
[class*=sidebar-dark-] .nav-sidebar>.nav-item>.nav-link:focus,
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active,
[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:focus {
    background-color: rgba(255,255,255,.1);
    color: #fff;
}



/*
.select2-container--bootstrap4 .select2-selection {
    border-color: #007bff !important;
}  
*/  

/* del jazny */

/*
.fileinput-new {
    top:-30px;
}
*/


.fileinput .img-thumbnail {
    position: relative;
}
   
.fileinput-exists.close {
    /* float: right; */
    top: -5px;
    position: absolute;
    right: 23px;
}


.preview {
    width: 120px;
    height: 90px;
    overflow: hidden;
    text-align: center;
}

.preview img {
    margin: auto;
    max-width: 120px;
    max-height: 80px;
  
}

.previewBanner {
    width: 400px;
    height: 60px;
    overflow: hidden;
    text-align: center;
    margin: 10px 0;
}

.previewBanner img {
    margin: auto;
    width: 400px;
    height: 60px;
  
}





 .visible2 td, .visible0 td{
        color: grey !important;
        background-color: #f4f6f9 !important;
    }



footer {
    background: #fff;
    border-top: 1px solid #dee2e6;
    color: #869099;
    padding: 1rem;
}


/* VISTA PREVIA NOTICIA */

.previaNoticia {}

.previaNoticia p a {
	color: #e50b19;
}
.previaNoticia p a:hover {
	text-decoration: underline;
}

.previaTitulo {
	font-size: 2rem;
	margin: 0 0 0.5rem 0;
}

p.previaFecha {
	font-size: 0.7rem;
	text-transform: uppercase;
	margin-bottom: 0.5rem !important;
}

.previaFecha span {
	font-weight: 700;
}


.previaEtiquetas {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.previaEtiquetas span {
    background-color: #e50b19;
    border: 1px solid #000;
    color: #fff;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.previaEtiquetas a {   
	border: 1px solid #c9c9c9;
    color: #777;
    font-size: 0.875rem;
    display: inline-block;
    padding: .25rem;
    margin: .25rem;

}
.previaEtiquetas a:hover {
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
}

.previaGaleria {
    display: flex;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.previaGaleria > a {
    display: block;
    height: 150px;
    position: relative;
    margin: 0 0.3rem;
}

.previaGaleria > a:first-child {
	margin-left: 0;
}

.previaGaleria > a img,
.previaGaleria > a iframe {
    height: 150px;
    width: auto;
}

.tobii {
    background-color: rgba(51, 58, 64, 0.94);
}
.tobii>button {
	outline: none;
}
.tobii>button.tobii__prev {
    left: 5rem;
}

[data-type]>figure>figcaption {
	background-color: #000;
    color: #ffffff;
}



.figureImg {
    position: relative;
    display: inline-block;
    width: 100%;
    max-height: 450px;
    padding: 0;
    overflow: hidden;
}

.figureImg img {
    width: 100%;
    height: auto;
    border: 1px solid #c9c9c9;
}




/* CSS PARA PORTADAS */

:root {
	--c-rojo: #6c757d!important;
}

.portada {
	background-color: #e0e0e0;
	margin-top: 1rem;
	margin-bottom: 2rem;
	padding: 1rem 1rem 0 1rem;
}

.publicidad {
	display: block;
	background-color: #404040;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 1rem;
	padding-bottom: 1rem;
	margin-bottom: 1rem;
}


.noticia:hover,
.publicidad:hover {
	color: #fff;
	text-decoration: none;
    box-shadow: 0 0 2px 1px rgba(0,0,0,0.4);
}



/*
.publi-c {
	height: 128px;
    min-height: 128px;
}
*/
.publi-c {
    width: 100%; /* O el valor que necesites */
    position: relative;
}

.publi-c::before {
    content: "";
    display: block;
    padding-top: 100%; /* Esto hace que la altura sea siempre igual al ancho */
}

.publi-r {
	height: 64px;
    min-height: 64px;
}


.noti-mini {
	height: 45px;
    min-height: 45px;
}

/* ver con manu */
/*
.publi-v {
	height: 90%;
    min-height: 128px;
}
*/
.publi-v {
    width: 100%;
    position: relative;
}

.publi-v::before {
    content: "";
    display: block;
    padding-top: 150%; /* Esto hace que la altura sea siempre casi el doble que el ancho */
}


.header {
	display: flex;
	justify-content:flex-start;
/* 	align-items: center; */
	color: #fff;
	margin-bottom: 1rem;
	text-align: center;
}

.logo {
	background-color: #e0e0e0;
	border: 2px solid #404040;
	color: #404040;
	align-items: center;
	padding: 0.8rem 1rem;
	width: 20%;
	margin-right: 1rem;
}

.header .publicidad {
	flex-grow: 1;
	margin-bottom: 0;
}


.menu {
	display: flex;
	justify-content:space-between;
	align-items: center;
	color: #fff;
	margin-bottom: 1rem;
	padding: 1rem;
	text-align: center;
	background-color: #e0e0e0;
	border: 2px solid #404040;
	color: #404040;
}

.menu:hover {
	color: #404040;
}

.menu > span {
	display: block;
	width: 8%;
	height: 2px;
	background-color: #404040;
}


.noticia {
	display: block;
	background-color: var(--c-rojo);
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	margin-bottom: 1rem;
	padding: 1rem;
	text-align: center;
}

.noticias-hoy {
	padding: 0.5rem 1rem;
	background-color: #e0e0e0;
	border: 2px solid #404040;
	color: #404040;
	justify-content: space-between;
}

.noticias-hoy:hover {
	color: #404040;
}

.noticias-hoy .linea {
	display: block;
	width: 8%;
	height: 2px;
	background-color: #404040;
}

.principal {
	height: 150px;
}

.principal-titulo,
.principal-subtitulo {
	height: 50px;
}

.principal-texto {
	height: 212px;
}


.noticia-c {
	height: 128px;
}

.noticia-des {
	height: 48px;
	
}

.noticia-p {
	height: 30px;
    font-size: 0.8rem;
}


.destacadas {
	background-color: #e0e0e0;
	border: 2px solid #404040;
	padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 1rem;
    justify-content: space-around;
}

.destacadas-noticia {
	height: 25px;
	border-bottom: 2px solid #404040;
	border-top: 2px solid #404040;
	margin-bottom: 2rem;
}

.destacadas-noticia:last-child {
	margin-bottom: 0;
}


#plantillas span,
#plantillas .destacadas,
#plantillas .menu,
#plantillas .logo {
	opacity: .5;
}
	
#plantillas span[data-type="noti"],
#plantillas span[data-type="publi"],
#plantillas span.t {
	opacity: 1;
}

#plantillas span[data-type="noti"]:hover, 
#plantillas span[data-type="publi"]:hover {
	box-shadow: none;
	cursor: pointer;
	border:2px dotted red;

}













