/* stylelint-disable selector-list-comma-newline-after */
@import url("fonts/webfonts/Montserrat.css");

body {
    background-color:#edeef0;
    font-family: "Montserrat", "sans-serif";
}

/* menu en móvil */

.bg-light {
    background-color: rgba(242,177,175,1) !important;
}


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

.blog-header-logo {
    font-family: "Montserrat", "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/botica0.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size:cover;
    background-attachment: fixed;
    margin-right: -0px !important;
    margin-left: -0px !important;
}

.especias {
    background: url('../images/especias_0_b.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    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: "Montserrat", "sans-serif";
}

nav a {
    color: white;
    height: 2.75rem;
}

nav a:hover {
    color: white;
    text-decoration: none;
    background-color: pink;
}

nav a:active, nav a.active {
    color: pink;
    text-decoration: none;
    background-color: white;
}

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


#textoCab.notepegues {
    z-index:2000;
    right: 0px;
    bottom: 0px;
    position: absolute;
}

#textoCab.pegate {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 100;
  border-top: 0;
  display: flex;
  flex-flow: row nowrap;
  max-width: 1140px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(242,177,175,1);
}

#textoCab.pegate #titleCab {
    flex-basis: 30%;
    height: 2.75rem;
    align-self: start;
    flex-grow: 2;
}

#textoCab.pegate #h1Cab {
    height: 2.75rem;
    font-size: 26px;
    line-height: 36px;
}


#titleCab {
    display: inline-block;
    width: 100%;
}

#h1Cab {
    color: white;
    background-color: rgba(242,177,175,0.85);
    font-weight:800;
    font-size:50px;
    padding:5px;
}

#textoCab.pegate #menuCab.nav-scroller {
    align-self: end;
    flex-basis: 70%;
}

#menuCab.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
    padding: 0px 15px !important;
    max-width: 660px;
    margin-bottom: 0px !important;
    background-color: rgba(242,177,175,0.85);
    line-height: 28px;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-light .navbar-toggler {
    color: rgba(255,255,255,.8);
    border-color: rgba(255,255,255,.5);
}

.navbar-light .navbar-nav > .nav-link, .navbar-light .navbar-nav .nav-link, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show > .nav-link {
    font-family: "Montserrat", "sans-serif";
    font-weight: 800;
    color: rgba(255,255,255,.9);
    padding: 8px;
}

.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show > .nav-link {
    color: rgba(255,255,255,.9);
    padding: 8px;
}

.navbar-light .navbar-nav .active > .nav-link {
    font-family: "Montserrat", "sans-serif";
    font-weight: 800;
    color: pink;
    text-decoration: none;
    background-color: white;
}

.nav-scroller .nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: 0px;
    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
 */
.page-footer .img-fluid {
    max-height: 60px;
}

footer .container .row {
    justify-content: center;
}

.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 {
    display: flex;
    flex-flow: column nowrap;
    font-family: "Montserrat", "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.horario > div.hora {
    display: flex;
    flex-flow: column nowrap;
    flex-grow: 1;
    justify-content: space-between;
    margin: 10px 0;
}

.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;
    align-self: center;

}

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

.filaflex > p.moderador {
    flex-grow: 1;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0 1rem;
    align-self: center;
    font-style: italic;
    font-size: 1.2rem;
    color: #495057 !important;
    font-weight: bold;
}

.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: "Montserrat", "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;
}

 .venuedate {
     color: #f2b0af;
     margin-top: 24px;
 }

#return-to-top {
    z-index: 10000;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(242,177,175,0.85);
    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(242,177,175,1);
}
#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;
}
