/* stylelint-disable selector-list-comma-newline-after */

body {
    background-color:#edeef0;
}

/* menu en móvil */

.bg-light {
    background-color: #FFFFFF !important;
}


.blog-header {
    line-height: 1;
    border-bottom: 1px solid #e5e5e5;
}

.blog-header-logo {
    font-family: "Raleway", "sans-serif";
    font-size: 2.25rem;
}

.blog-header-logo:hover {
    text-decoration: none;
}

.jbbgimage {
    width:100%;
    height:300px;
    background: url('../images/palacio_del_malferit.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size:cover;
    background-attachment: fixed;
}
.jbbgimage h2 {
    color:white;
    /*  text-shadow:2px 2px #333; */
}

.anuncio {
    background: url('../images/cab/sn_cupu.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size:cover;
    background-attachment: fixed;
    margin-right: -0px !important;
    margin-left: -0px !important;
}

.comittee:after {
    position: absolute;
    bottom: 0;
    content: ""; /* This is necessary for the pseudo element to work. */ 
    display: block; /* This will put the pseudo element on its own line. */
    margin: 0; /* This will center the border. */
    width: 10%; /* Change this to whatever width you want. */
    max-width: 53.9px;
    padding-top: 15px; /* This creates some space between the element and the border. */
    border-bottom: 1px solid grey; /* This creates the border. Replace black with whatever color you want. */
}

.comittee > p:last-child {
    margin-bottom: 2.5rem;
}

.comittee ol li:last-child {
    margin-bottom: 1rem;
}

.comittee > p:first-child {
    margin-top: 1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Raleway", "sans-serif";
}

nav a {
    color: black;
}

nav a:hover {
    color: grey;
    text-decoration: none;
}

.display-4 {
    font-size: 2.5rem;
}
@media (min-width: 768px) {
    .display-4 {
        font-size: 3rem;
    }
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.nav-scroller .nav-link {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: .875rem;
}

.card-img-right {
    height: 100%;
    border-radius: 0 3px 3px 0;
}

.flex-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.h-250 { height: 250px; }
@media (min-width: 768px) {
    .h-md-250 { height: 250px; }
}

/*
 * Blog name and description
 */
.blog-title {
    margin-bottom: 0;
    font-size: 2rem;
    font-weight: 400;
}
.blog-description {
    font-size: 1.1rem;
    color: #999;
}

@media (min-width: 40em) {
    .blog-title {
        font-size: 3.5rem;
    }
}

/* Pagination */
.blog-pagination {
    margin-bottom: 4rem;
}
.blog-pagination > .btn {
    border-radius: 2rem;
}

/*
 * Blog posts
 */
.blog-post {
    margin-bottom: 4rem;
}
.blog-post-title {
    margin-bottom: .25rem;
    font-size: 2.5rem;
}
.blog-post-meta {
    margin-bottom: 1.25rem;
    color: #999;
}

/*
 * Footer
 */
.blog-footer {
    padding: 0;
    color: #999;
    text-align: center;
    background-color: #edeef0;
    border-top: none;
}
.blog-footer p:last-child {
    margin-bottom: 0;
}

/* programa */

div[role="tabpanel"] {
    width: 100%;
}

#myTab, #myTab2 {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: stretch;
    padding: 1rem;
    width: 100%;

}

ul.nav #myTab > li.nav-item,
ul.nav #myTab2 > li.nav-item {
    flex-grow: 1;
    align-items: stretch;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
    border: none !important;
    font-weight: bold;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    border: none !important;

}


.filaflex {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: stretch;
    padding: 1rem;
    flex: 1 1 auto;
    /*    border: 1px solid grey;*/

}

.filaflex > div.horario {
    font-family: "Raleway", "sans-serif";
    flex: 0 0 4rem;
    font-size: 1.5rem;
    /*    border: 1px solid green;*/
    text-align: right;
    margin-right: 1rem;
    font-weight: bold;

}

.filaflex > div.session {
    flex-grow: 1;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: stretch;
    border-left: 1px solid grey;
    padding: 0 1rem;

}

.filaflex > div.session > p.evento {
    font-weight: bold;
    flex-grow: 1;
    font-size: 1.5rem;
    /*    border: 1px solid pink;*/
}

.filaflex > div.session > p.chair {
    /*    font-weight: bold;*/
    font-style: italic;
    font-size: 1.2rem;
}

.filaflex > div.session > p.lugar {
    flex-grow: 1;
    font-style: italic;
    font-size: 1.2rem;
    /*    border: 1px solid magenta;*/
}

.filaflex > div.session > div.charla {
    flex-grow: 1;
    /*    border-bottom: 1px solid brown;*/
    margin: 0.5rem 1rem;
    padding: 0.5rem 1.5rem;
}

.filaflex > div.session > div.charla > p.titol {
    font-family: "Raleway", "sans-serif";
    font-size: 1.2rem;
    flex-grow: 1;
    /*    border: 1px solid purple;*/
}

.filaflex > div.session > div.charla > p.participantes {
    flex-grow: 1;
    /*border: 1px solid orange;*/
}

.filaflex > div.session > div.charla > blockquote {
    flex-grow: 1;
    padding-left: 2rem;
    /*    border: 1px solid yellowgreen;*/
}
.filaflex > div.session > div.charla > .spacer {
    border-bottom: 1px solid grey;
    align-self: auto;
    flex: 0 0 4rem;
    padding-top: 15px;
    max-width: 53.9px;
} 

#return-to-top {
    z-index: 10000;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}
#return-to-top:hover i {
    color: #fff;
    top: 5px;
}

@media only screen and (max-width: 575px) {
    body {
        background-color:#fff;
    }
    .filaflex {
        flex-flow: column nowrap;
        padding-left: 0rem;
        padding-right: 0rem;
    }
    .filaflex > div.horario {
        text-align: left;
    }
    /*    #return-to-top {
            display: none !important;
        }*/

}
#galeria-esrarc2019 {
    max-width: 443px;
}

#galeria-esrarc2019 > .carousel-inner {
    /*    width: 443px;*/
    height: 249px;
    background-color:#edeef0;
}

#galeria-esrarc2019 .carousel-item-next,
#galeria-esrarc2019 .carousel-item-prev,
#galeria-esrarc2019 .carousel-item {
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

#galeria-esrarc2019 .carousel-item-next,
#galeria-esrarc2019 .carousel-item-prev,
#galeria-esrarc2019 .carousel-item.active {
    display: flex;
}

#galeria-esrarc2019 > .carousel-inner > .carousel-item > img {
    width: auto;
    /*    height:249px;*/
    max-height:249px;
    margin-left: auto;
    margin-right: auto;
}
