/* estilos extras comunes a todos los sites */

section.transparent .kpis-home{margin-bottom:-64px;margin-top:-40px}

body.withAlert .ifm-alert {
    background-color: #333;
}
body.withAlert .ifm-alert .ifm-alert-container .ifm-alert-content span,body.withAlert .ifm-alert .ifm-alert-close{
    color: #fff;
}
body.withAlert .ifm-alert .ifm-alert-close:hover {
    color: #000;
    background: #fff;
}
body.withAlert .publi-bottom {
    bottom: 70px;
}
.modal-link-content .modal-content-wrapper {
    z-index: 10;
	overflow: hidden;
}
#iframe_news_modal{
	min-height: 410px;
}
/* Set the preloader to be invisible by default */
.preloader-cognito {
  display: none;

}

/* Override the default invisibility if the preloader doesn't have a form after it. */
.preloader-cognito:last-child {
  display: block;
text-align:center;width:100%
}

/* Create a spinning animation and name it "spin" */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/*
  Apply "spin" animation to the image inside the preloader.
   -  animation-duration is set to "3s" and so each
      rotation will last 3 seconds.
   -  animation-timing-function is set to "linear"
      and so the speed of rotation is constant.
   -  animation-iteration-count is set to "infinite"
      which means what it says.
*/
.preloader-cognito img {
  display: block;
  animation-name: spin;
  animation-duration: 3s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
margin:0 auto;
	width: 72px;
}
/*Para que se ajuste bien el tamano de publicidad de resolucion tablet y escritorio (1024px y 1240px), se tiene que incluir esos saltos*/
.box .cognito .c-forms-form .c-add-item, .box .cognito .c-forms-form .c-fileupload-dropzone .c-upload-button button, .box .cognito .c-forms-form button:not(.c-icon-button), .box .cognito .c-forms-form input[type=button] {
    background-color: #000!important;
    border-color: #000!important;
}
.box .cognito .c-forms-form .c-add-item:hover, .box .cognito .c-forms-form .c-fileupload-dropzone .c-upload-button button:hover, .box .cognito .c-forms-form button:hover:not(.c-icon-button), .box .cognito .c-forms-form input[type=button]:hover {
    background-color: #444444!important;
    border-color: #444444!important;
}
/* --- tablas ---*/
.tb-especificaciones-publicidad{width:100% !important;display:table}
.tb-especificaciones-publicidad tbody tr:nth-child(2n){background-color:#fff}
.tb-especificaciones-publicidad th{border-bottom:1px solid #dee2e6;font-weight:300;background: #f1f2f3;color: #000;}
.tb-especificaciones-publicidad thead tr{background-color: #f9f9f9}
.tb-especificaciones-publicidad .img-fluid{max-width:400px}
.tb-especificaciones-publicidad td,.tb-especificaciones-publicidad th,.tb-especificaciones-publicidad tr{vertical-align:middle !important}
.tb-especificaciones-publicidad .txt_precio{width: 100%;text-align: center;display: block;}
/*Estilos generales para todas las publicidades*/
.transparent.anuncio{
	margin-bottom: 60px!important;
	margin-top: 50px!important;
}

[class^="publi"] {
	width: 100%;
	max-width: 1360px;
	overflow: hidden;
}

.publi-top > div > div, .publi-middle > div > div, .publi-bottom  > div > div{
	position: relative;
}

.publi-top.conFondo{
	max-width: 2560px!important;
	overflow: hidden;
}

.publi-bottom {
	position: fixed;
    bottom: 0;
    z-index: 20;
    margin: auto;
    width: 100%;
	max-width: 2560px;
}

.publi-bottom.conFondo{
	display: flex;
	box-shadow:0px -1px 4px 0px rgba(0,0,0,.4);
}

.publi-bottom.conFondo > div, .publi-bottom.conFondo > div > div{
	background-color: inherit;
}

.publi-bottom.conFondo > div > div{
	position: static;
}

.publi-bottom div{
	max-width: 1190px;
    margin: auto;
}

.bot_close {
	background-color: #fff;
    color: #9e9e9e;
    z-index: 20;
	position: absolute;
    right: 1px;
    float: right;
	top: 1px;
    width: 25px;
	height: 25px;
    line-height: 25px;
    border-radius: 0px 0px 0px 5px;
	cursor: pointer;
}
.bot_close:hover{
	color: #000;
}

.publi-bottom.conFondo .bot_close{
	position: absolute;
    right: 10px;
    top: -24px;
    background-color: inherit;
    border-radius: 5px 5px 0px 0px;
    box-shadow: 0px -3px 4px 0px rgba(0,0,0,.4);
}

.anuncio.anuncio{
	display: none;
}

aside.anuncio, .minibanners {
	padding-bottom: 20px!important;
}

/* ---------- ESTILOS A INCOORPORAR EN REBRANDING ------------------*/
.ifr-mailjet{width:70% !important;margin-left:auto;margin-right:auto}
@media (max-width: 1024px) {
	.ifr-mailjet{width:100% !important;height: auto;
    min-height: 363px;}
}
@media (min-width: 1024px) {
	.ifr-mailjet{width:100%}
	.transparent.anuncio{
		margin-bottom: 80px!important;
		margin-top: 65px!important;
	}
	.d-tablet-block{
		display: block!important;
	}
	.d-tablet-none{
		display: none!important;
	}
}
@media (min-width: 1600px) {
	.d-desktop-big-block{
		display: block!important;
	}
	.d-desktop-big-none{
		display: none!important;
	}
	.d-tablet-block{
		display: none!important;
	}
}
@media (min-width: 1280px) {
	.transparent.anuncio{
		margin-bottom: 100px!important;
		margin-top: 80px!important;
	}
	.d-escritorio-block{
		display: block!important;
	}
	.d-escritorio-none{
		display: none!important;
	}
}
@media (max-width: 767px){
	body.withAlert .publi-bottom {
		bottom: 100px;
	}
	.box-with-title .publi-middle{
		margin-bottom: 1rem;
	}
	.minibanners .banner{
		margin: 0 !important;
	}
	.minibanners .list-no-wrap{
		margin-bottom: 1.5em;
	}
	.minibanners .list-no-wrap .banner{
		margin: auto 0 !important;
	}
	.minibanners .list-no-wrap .minibanner{
		line-height: 1em;
	}
	.kpis-home{
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		margin-bottom: -30px !important;
	}
	.kpis-home .col{
	    -webkit-flex-basis: initial;
		-ms-flex-preferred-size: initial;
		flex-basis: initial;
		max-width: 50%;
    	width: 50%;
	}
}
/*Estilos de flechas para modo carrusel de minibanners*/
@media (max-width: 575px){
	.minibanners .grid-slider-left{
		margin-left: -20px;
	}
	.minibanners .grid-slider-right{
		margin-right: -20px;
	}
	.minibanners .publi-content{
		margin: 0;
	}
	.minibanners .banner{
		padding: 0 !important;
		overflow: hidden;
	}
}

/*Estilos para modales publicitarias */
.modal-link-content.publi-js .modal-card {
    padding: 0;
    overflow: visible;
}
.modal-link-content.publi-js .modal-content-wrapper {
    display: flex;
    margin: 0;
    padding: 0;
}
.modal-link-content.publi-js .modal-close {
    top: -25px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    padding: 0;
    width: 25px;
    height: 25px;
    background-color: #ffffff;
    color: #9e9e9e;
}
.modal-link-content.publi-js .modal-close::before {
    font-size: 17px;
}
.modal-link-content.publi-js .modal-close:hover {
    color: #000000;
}