/** 
 * int-meetings
 * dic 2020
 */





/** MAIN COLORS  


texto: #3a3a3a

gris oscuro: #404040
gris más oscuro: #333

gris claro -fondo cajas- #f5f5f5
bordes: #DDDDDD

rojo gencat:#c00000

 */



body,h1,h2,h3,h4,h5,h6{
    font-family: 'Open Sans', sans-serif;
    font-weight:400;
    color:#3a3a3a;
}

h1,h2,h3,h4,h5,h6{
    font-weight:600;    
    margin-bottom: .5rem;
}
h2{
    font-size: 3rem;
    line-height: 1em;
}
@media (max-width: 576px) { 
    h2{
        font-size: 2rem;
    }
}
@media (min-width: 577px) and (max-width:768px) { 
    h2{
        font-size: 2.5rem;
    }
}


h5{
    font-size:1.6em;
}

h6{
    font-size:1.2em;
}



img{
    max-width: 100%;
    height:auto;
}


a,a:hover{
    color:#c00000;
}


/* Layout: header + body */
body{	
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    font-size:1rem;
}
#page-content{
    display: flex;
    flex: 1;
    flex-direction: column;
}




/* HEADER ======================================================== */
#pre-header{
    width:100%;
    position:absolute;
    z-index:9;padding:5px 15px;
}
@media (max-width: 768px) { 
    #pre-header{
        position:relative;
    }

}

.btn-download{
    font-size: 0.9em;
    letter-spacing: 1px;
}
.btn-download span{
    font-size: 1.4em;
    line-height: 0;
}


.btn-logout{
    font-size: 0.7em;
}
.btn-logout span{
    font-size: 1.4rem;
    line-height: 0;
    vertical-align: sub;
}



#header{
    padding:1.4em 0;
}

@media (max-width: 576px) { 
    #header img{
        max-width: 100%;
        height: auto;
    }
}







.phone{
	display:inline-block;
	font-size: 1em;
    padding-right: 0.4em;
	white-space:nowrap;
	margin:auto;
}
@media (max-width: 576px) { 
	.phone{
		display:block;
		width: 100%;
		text-align: center;
		padding: 0.3em 0;
	}
}
img.svg-icon{
	width: 1.4em;
    margin-right: 0.2em;
}

img.svg-icon.white{
    filter:brightness(0) invert(1);
}


.btn-radius{
    border-radius:1.5em!important;
}

/* BODY ======================================================== */
body{
    background-image: url(../img/img-bg-c.png);
    background-repeat: no-repeat;
    background-size: auto;
    background-position: right bottom;
    background-color:#fff;
}
@media (max-width: 1050px) { 
    body{
        background:#fff;
    }
}


@media (max-width: 576px) { 
    form button.btn{
        width: 100%;
    }
}


.politica{
    font-size:.9em;
}

.modal-header{
	border-bottom-color:white;
}


/* Pestañas */
.nav-tabs {
    border-bottom: 0!important;
}
.nav-tabs .nav-link{
    border-radius:0;
    background-color: #d6d6d6;
    color:#495057;
    padding-left: 2rem;
    padding-right: 2rem;
}
.nav-tabs .nav-link.active{
    pointer-events:none;
}
.nav-tabs .nav-link:not(.active):hover{
    background-color:#74a0d2;
    color:white!important;
}



/* Formulario pregunta */
#contactForm{}
#contactForm span.error{
	font-size:0.8em;
	color: #dc3545!important;
}
#sendLoader{display: none;}
#msg{
	margin-left:5px;
    margin-right:5px;
    color:#000;
}
#enviar{
    width:100%;
}

.contact{
    font-size:1em;
}
@media (min-width: 577px) and (max-width:768px) { 
    #pregunta{
        height:60px;
    }
}

#contactForm label{
    font-weight: 600;
    color: #707070;
    vertical-align: text-top;
    font-size: 0.96em;
    line-height: 1.6em;
}

/* Listado preguntas (modo moderador) */
#preguntas{
    position: absolute;
    top: 220px;
    right: 0;
    z-index: 1;
    width: 40vw;
    height: calc(99.9vh - 95px);
    padding: 0;
    overflow-y: hidden;
}

#preguntas .container{
    height: 100%;
    padding:1em;
    overflow-y: auto;
}

#preguntas .pregunta{
    width:100%;
    cursor:pointer;
}
#preguntas .pregunta .btn-leido{
    color:#007bff;
}


#preguntas .pregunta.status-leido,
#preguntas .pregunta.status-leido .toast-header{
    background-color:#e3e3e3;
    background-color:rgba(227, 227, 227, 0.85);
}
#preguntas .pregunta.status-leido .btn-noleido,
#preguntas .pregunta:not(.status-leido) .btn-leido{
    display:none;
}
#preguntas .pregunta.status-leido .btn-leido,
#preguntas .pregunta:not(.status-leido) .btn-noleido{
    display:block;
}


#preguntas .pregunta{
    -webkit-animation: fx-fade-in 1s forwards; /* Safari 4+ */
    -moz-animation:    fx-fade-in 1s forwards; /* Fx 5+ */
    -o-animation:      fx-fade-in 1s forwards; /* Opera 12+ */
    animation:         fx-fade-in 1s forwards; /* IE 10+, Fx 29+ */
}


@-webkit-keyframes fx-fade-in {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}
@-moz-keyframes fx-fade-in {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}
@-o-keyframes fx-fade-in {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes fx-fade-in {
    0%   { opacity: 0; }
    100% { opacity: 1; }
}




/* FOOTER ======================================================== */


#footer p{
	margin-bottom: 0;
    font-size: 0.8em;
}

#footer .link-logo{
    display:inline-block;
}







/* Bootstrap Overrides =============================================== */

.bg-primary{
    background-color:#0072bc!important;
    color: #fff;
}
.bg-degree{
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 60%, rgba(255,255,255,0) 100%);
}
.bg-white{
    background-color:#fff;
}
.bg-gray{
    background-color:#d6d6d6;
}
.bg-light{
    background-color:#f7f7f7!important;
    color: #0072bc!important;
}
.bg-semitransp{
    background-color:#fff;
    background-color:rgba(255,255,255,0.7);
}
.bg-dark{
    background-color:#404040;
    color:#fff;
}


.btn-light{
    background-color:#74a0d2;
    color: #fff;
    border-color:  #74a0d2; 
}
.btn-light:hover{
    background-color:#a5c5ea!important;
    color: #fff!important;
    border-color:  #a5c5ea; 
}
.btn-outline-light{
    background-color:transparent;
    color: #fff;
    border-color:  #74a0d2; 
}
.btn-outline-light:hover{
    background-color:#74a0d2!important;
}

.btn-primary{
    background-color:#c00000;
    color: #fff;
    border-color:  #c00000; 
}
.btn-primary:hover,
.btn-primary:focus{
    background-color:#c00000!important;
    color: #fff!important;
    border-color:  #c00000; 
}
.btn-outline-primary{
    background-color:transparent;
    color: #c00000;
    border-color:  #c00000; 
}
.btn-outline-primary:hover{
    background-color:#c00000!important;
    color: #fff!important;
}

.btn-transparent{
    background-color:transparent!important;
    color: #c00000;
    border-color:transparent!important;
}
.btn-transparent:hover{
    background-color:#c00000!important;
    color: #fff!important; 
}

.btn-whatsapp{
    background-color:#18af50;
    color: #fff;
    border-color:  #18af50; 
}
.btn-whatsapp:hover{
    background-color:#067d33!important;
    color: #fff!important;
    border-color:  #067d33; 
}

.whatsapp_link{
    color: #c00000;
}


.text-primary{
    color: #3a3a3a!important;
}
.text-light{
    color: #fff!important;
}


.bg-danger{
    background-color: #dc3545!important;
    color: #f8f9fa!important;
}


.alert-danger{
	background-color: #dc3545!important;
    color: #f8f9fa!important;
	border-color: #dc3545!important;
}

.alert-danger .close:focus, 
.alert-danger .close:hover {
    color: #f8f9fa!important;
}

.card-body{
    background:#f5f5f5;
    border: 1px solid #DDDDDD;
}

/* remove rounding from cards, buttons and inputs */
.card, .card-header, 
.card-header:first-child, 
.alert, 
.btn, 
.form-control { 
	border-radius: 0; 
}
/* highlight focus */
.form-control:focus {
    border-color: #95afb1;
    box-shadow: 0px 1px 1px rgba(149, 175, 177, 0.075) inset, 0px 0px 8px rgba(170, 200, 202, 0.5);
}

:root{
    --light:#aac8ca;
}

