/* It targets only the app used within the browser */
@media (display-mode: browser) {
}
/* It targets only the app used with a system icon in standalone mode */
@media (display-mode: standalone) {

/*
	body{
		background-color: #113163;
		color: var(--azul);
		overscroll-behavior-y: contain;
	}
*/

}
/* It targets only the app used with a system icon in all mode */
@media (display-mode: standalone), (display-mode: fullscreen), (display-mode: minimal-ui) {
}


.unselectable {
    user-select: none;
}

/*
  If the user has expressed their preference for
  reduced motion, then don't use animations on buttons.
*/
@media (prefers-reduced-motion: reduce) {
    button {
        animation: none;
    }
}

/*
  If the browser understands the media query and the user
  explicitly hasn't set a preference, then use animations on buttons.
*/
@media (prefers-reduced-motion: no-preference) {
    button {
        /* `vibrate` keyframes are defined elsewhere */
        animation: vibrate 0.3s linear infinite both;
    }
}

*{
	box-sizing: border-box;
}
body{
/*    font-family: -apple-system, BlinkMacSystemFont,
        "Segoe UI", system-ui, Roboto, Oxygen-Sans, Ubuntu, Cantarell,
        "Helvetica Neue", sans-serif;*/

	font-family: Causten-Regular, Geneva, Verdana, sans-serif;
	font-size: 18px;

	padding-top: 60px;/**/
	padding-bottom: 60px;/**/
	background-color: #fff;
}

/**/
img{
	max-width: 100vw;/**/
}

h1, h2 ,h3, h4, h5, h6{
	font-family: Moranga-Bold;
/*	font-family: Moranga-Black;*/
}
/*
h1{
	color: var(--rojo);
}
*/
h2{
	color: var(--azul);
}
section > h2{
    color: var(--azul);
    margin: 0;
    height: 80px;
	padding: 0.4em 44vw 0 .4em;
	line-height: 1.1;
    background: center center / cover no-repeat;
	border-radius: 4px;
}
h3{
	margin-bottom: .4em;
	color: var(--azul3);
}
h4{
	color: var(--rojo2);
}
/*
h5{
	color: var(--azul2);
}
h6{
	color: var(--azul2);
}
*/

b{
	font-family: Causten-Bold;
}
p{
    margin: 0 auto .6em;
}
a{
	text-decoration: none;
}
p a{
	text-decoration: underline;/* testing... ? */
}
a.ver{
	background-color: var(--rojo);
	color: white;
	padding: 4px 7px;
	border: 1px solid var(--rojo);
	border-radius: 4px;
}
ul{
	padding: 0;
	list-style: none;
}


hr{
	opacity: 0.5;
}

header,
footer{
	position: fixed;
	width: 100vw;
	z-index: 100;
}

/* header */
header{
	top: 0;
	left: 0;
}
#header-top{
	background-color: white;
	border-bottom: 1px solid #eee;
	box-shadow: 0 0 7px #7777;
}
#logo{
/*	min-width: 188px;	/* manual de marca */
/*	min-height: 47px;	/* manual de marca */

	width: 197px;
	height: 50px;
/*	aspect-ratio: 4/1;*/
}
#menu{
	display: inline-block;
	position: absolute;
	right: 0;
	margin: 10px;
}
#menu a{
	display: inline-block;
	margin-left: 10px;
	line-height: 30px;
	font-size: 30px
/*	border: 1px dotted red; /* TEST */
}
#menu a,
#menu a:link,
a:visited{
	color: var(--azul);
}
#menu a:hover,
a:active{
	color: var(--rojo);
}
#header-bottom{
	background-color: var(--azul);
/*	border-bottom: 1px solid #eeee;/**/

	text-align: right;
	position: relative;
	box-shadow: 0 0 7px #7777;

	padding-top: 1px;/* FIX temporal */
}
#header-bottom a{
	display: block;
	margin: 10px;
	line-height: 30px;
	font-size: 21px;
	color: white;
/*	border: 1px dotted red; /* TEST */
}
#header-bottom a{
	color: white;
}

#nws i{
	color: var(--amarillo);
}
#ctct i{
	color: var(--verde) !important;
}
#user{
	color: var(--morado);
}
#user.logged{
	color: var(--verde);
}
/**/
footer{
	background-color: var(--azul);
	bottom: 0;
}


/* Noticias */
/* Convenios */
/* Créditos */
article{
	clear: both;
}
article img{
	display: block;

/*	max-width: 80vw;*/
	width: 80px;
	height: 80px;
	margin-right: 10px;

	border-radius: 4px;
}
article .row{
	display: flex;
}

/* Banners */
#noticias > h2{
    background-image: url(../img/bg/noticias.jpg);
}
#contacto > h2{
    background-image: url(../img/bg/contacto.jpg);
}
#credito > h2{
    background-image: url(../img/bg/credito.jpg);
}
#convenios > h2{
    background-image: url(../img/bg/convenios.jpg);
}
#administracion > h2{
    background-image: url(../img/bg/administracion.jpg);
}
#formatos > h2{
    background-image: url(../img/bg/formatos.jpg);
	color: var(--amarillo);
}
#asociado > h2{
    background-image: url(../img/bg/asociado.jpg);
}
#estado > h2,
#est > h2{
    background-image: url(../img/bg/estado.jpg);
}
#asegurados > h2,
#ase > h2{
    background-image: url(../img/bg/asegurados.jpg);
}
#certificado > h2,
#cert > h2{
    background-image: url(../img/bg/certificado.jpg);
}
/*
#administracion > h2{
    background-image: url(../img/bg/administracion.jpg);
}
*/

#lower-third{
	width: 100vw;
	position: fixed;
	bottom: 0;
	left: 0;
	padding: 4px 0;
	background-color: var(--rojo2);
	color: white;
	overflow-x: visible;
}
#lower-third marquee{	/**/
	width: 100%;
}


/*contacto*/
.asesor{/**/}
.asesor img{
	width: 90px;
	height: 90px;/* definir cuadradas */
	border-radius: 50%;
	float: left;/*bs*/
}
.asesor i.act{
    font-size: 36px;
    line-height: 36px;
    margin-right: 12px;
}
.asesor sub{
	display: none;/* CORREGIR HTML */
}