/**
 * If using a CSS pre-processor, tell it to overwrite this file. If not, place
 * your custom CSS modifications here.
 */

@font-face {
    font-family: Loving Saskia;
    src: url(LovingSaskia.woff);
    font-weight: 600;
}

@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400,700&display=swap');

body {
    margin-top: 0;
    font-family: "Roboto Condensed",sans-serif;
    font-weight: 100;
}


a:hover {
    color: #a5bc23;
    text-decoration: none;
}

.RotatedTitle h2.block-title {
    font-size: 28px;
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    color: #FFF;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
}

.RotatedTitle h1.block-title {
    font-size: 45px;
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    color: #FFF;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
}

#block-views-block-delegacions-block-3 p,
article p {
    font-size: 18px;
    line-height: 2;
    text-align: justify;
}

article {
    text-align: justify;   
}


h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    line-height: 1.2;
}

.RotateLeft h2.block-title,
.RotateLeft h1.block-title {
    transform: rotate(-1.5deg);
}

.RotateRight h2.block-title,
.RotateRight h1.block-title {
    transform: rotate(1.5deg);
}



.blue h2.block-title,
.blue h1.block-title{
    background-color: #474e9c;
}

.green h2.block-title,
.green h1.block-title {
    background-color: #a5bc23;
}


.orange h2.block-title,
.orange h1.block-title{
    background-color: #e56500;
}

.darkblue h2.block-title,
.darkblue h1.block-title{
    background-color: #474e9c;
}

.yellow h2.block-title,
.yellow h1.block-title{
    background-color: #fecf04;
}


.blue-t {
    background-color: #474e9ca8;
}

.green-t {
    background-color: #a5bc23a8;
}

.orange-t {
    background-color: #e56500a8;
}

.darkblue-t {
    background-color: #474e9ca8;
}

.yellow-t {
    background-color: #fecf04a8;
}




.RoundedImage img {
    border-radius: 100%;
}

.BlocContent .RoundedImage img {
        width: 250px;
        max-width: none;
}


.breadcrumb {
    margin-left: -15px;
    margin-right: -15px;
}

.breadcrumb a {
    color: #000000;
}

a:hover {
    color: #a5bc23;
}

/******HEADER*********/

#navbar-sticky-wrapper {
    height: auto !important;
}

.is-sticky .navbar-nav {
    margin-top: 0px;
}

.is-sticky .logo img {
    max-width: 200px;
    transition: all 0.2s;
}


.is-sticky .navbar-btn {
    margin-top: 5.5px;
    margin-bottom: 5.5px;
}

.is-sticky .navbar {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.page-header {
    padding-bottom: 10.5px;
    margin: 46px auto -7px;
    border-bottom: none;
}

.navbar {
    box-shadow: none;
    margin-bottom: 0;
}


.navbar-nav {
    float: right;
    margin-top: 25px;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
     color:#a5bc23;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #a5bc23;
    background-color: transparent;
}

.logo img {
    max-width: 350px;
}

.navbar-default .navbar-nav > li > a {
    color: #545358;
    font-size: 17px;
    font-weight: 400;
    text-transform: uppercase;
}

.Banner,
.HeaderBlocBackground {
   padding-left: 0;
    padding-right: 0;
    height: 400px;
    display: flex;
    align-items: center;
}

.sijcountdown {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px 0;
}
p.text-align-center.pbuttonsij {
    padding: 25px  0 50px 0;
}

a.buttonsij {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 20px;
    border: 2px solid #000;
}

.page-node-type-actualitat .Banner {
    align-items: inherit;
}

.path-frontpage .Banner{
   /* height: 600px;*/
   /*height: 700px;*/
    height: auto;
    background-color: #000;
    margin-top: 38px;
}

.path-frontpage .Banner .region-banner{
    max-width: 1400px;
    margin: 0 auto 0 auto;
    background-color: #000;
} 

.path-bloc .Banner {
    background: transparent url(../images/bloc.jpg) no-repeat  center;
    background-size: cover;
}

.path-actualitat .Banner {
    background: transparent url(../images/actualitat.jpg) no-repeat  center;
    background-size: cover;
}

.path-recursos .Banner,
.page-node-type-recursos .Banner {
    background: transparent url(../images/recursos.jpg) no-repeat  center;
    background-size: cover;
}

.node-21 .Banner,
.page-node-type-delegacions .Banner{
    background: transparent url(../images/qui-som.jpg) no-repeat  center;
    background-size: cover;
}


.path-webs-amigues .Banner{
    background: transparent url(../images/webs-amigues.jpg) no-repeat  center;
    background-size: cover;
}

.spacer {
    padding: 50px 0;
}

/*****HOMEBANNER*****/

.region-banner {
    width: 100%;
}

#views_slideshow_cycle_teaser_section_banner_homepage-block_1,
#views_slideshow_cycle_div_banner_homepage-block_1_0,
#views_slideshow_cycle_div_banner_homepage-block_1_1,
#views_slideshow_cycle_div_banner_homepage-block_1_2,
#views_slideshow_cycle_div_banner_homepage-block_1_3,
#views_slideshow_cycle_div_banner_homepage-block_1_4 {
    width: 100% !important;
}

.view-banner-homepage .field-content img {
    object-fit: cover;
    width: 100%;
    height: 600px;
    object-position: center;
}

.HomeBannerTextContainer {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    padding: 30px;
    text-align: center;
    /*font-family: 'Loving Saskia', cursive; */
}

.HomeBannerTextContainer a {
    font-size: 60px;
    color: #FFF;
    line-height: 93px;
    line-height: 65px;
}

.HomeBannerTextContainer a:hover {
    color: #ebefc0;
    text-decoration: none;
}

.views-slideshow-controls-bottom {
    position: absolute;
    left: 50%;
    bottom: -11px;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    z-index: 300;
}

.views-slideshow-controls-bottom .views-slideshow-pager-bullets li {
    text-indent: -9999px;
    cursor: pointer;
    display: inline-block;
    border-radius: 16px;
    padding: 5px 11px;
    background: #ffffffab;
    margin: 0.4em;
    line-height: 12px;
    border: 3px solid #FFF;
}

a#backlink {display:none !important;}

.BannerTextContainer {
    background-color: #ffffffab;
   /* transform: rotate(-1.5deg);*/
    color: #e56500;
    display: table;
    padding: 20px;
}

.HeaderBlocBackground .views-field-field-image,
.HeaderBlocBackground .views-field-field-actualitat-imatge-pr {
    display: none;
}

.HeaderBlocBackground {
    background-size: cover !important;
}

/********VIDEO RESPONSIVE*****/
.container-video {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
/*******HOME*********/


.HomeBlocImage{
    max-width: 250px;
}

.HomeBloc {
    display: flex;
    align-items: center;
    margin-bottom: 63px;
}

.path-frontpage .HomeBloc {
    margin-bottom: 0;
}

.HomeBlocText {
    padding-left: 25px;
}


#block-views-block-actualitat-block-8 {
    margin-bottom: 75px;
}


.block-views-blockactualitat-block-1 {
    margin: 75px auto;
}

.block-views-blockdelegacions-block-1 {
    margin-top: 75px;
}

.ActualitatContainer {
    margin-bottom: 65px;
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.ActualitatContainer2 {
    margin-bottom: 65px;
    margin-left: auto;
    margin-right: auto;
    background-color: #e5650f;
    height: 275px;

}

.colorid38 {
   background-color: #B68CC9;
}

.colorid68 {
   background-color: #FFAF92;
}

.colorid11 {
   background-color: #A7C5DF;
}

.colorid14 {
   background-color: #0CAE5B;
}

.colorid67 {
   background-color: #F6AC3D;
}

.colorid15 {
   background-color: #2E5090;
}

.colorid9 {
   background-color: #2DA18C;
}

.colorid12 {
   background-color: #CD5E77;
}

.colorid10 {
   background-color: #5DADEC;
}

.colorid13 {
   background-color: #F8C785;
}

.colorid1 {
   background-color: #8593f9;
}



.MoreLink {
    text-align: center;
    position: relative;
    bottom: -55px;
    margin-left: auto;
}

.MoreLink a {
    font-size: 17px;
    line-height: 20px;
    color: #000;
}

.MoreLink2 a {
    position: absolute;
    width: calc(100% - 30px);
    top: 0;
    left: 0;
    margin-left: 15px;
    height: 275px;
}

.MoreLink2 a:hover{
   -webkit-filter: opacity(.5);
    filter: opacity(.5);
    background-color: #FFF;
}

#block-views-block-bloc-block-1 {
    background: transparent url(../images/blochomebackground.jpg) no-repeat bottom center;
    background-attachment: fixed;
    background-size: cover;
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 49px;
    padding-bottom: 40px;
}

#block-views-block-bloc-block-1 h2.block-title {
  margin-top: -17px;
}

.ActualitatTitle {
    text-align: center;
    justify-content: center;
    width: 250px;
    border-bottom: 3px solid #a5bc23;
    font-size: 28px;
    line-height: 28px;
    background-color: #FFF;
    margin-top: -95px;
    height: 126px;
    display: flex;
    align-items: center;
    z-index: 2;
    position: relative;
    padding: 0 5px;
    font-weight: 400;

}

.ActualitatTitle2 {
    text-align: left;
    font-size: 28px;
    line-height: 30px;
    height: 126px;
    z-index: 2;
    padding: 40px 10px 0 20px; 
    font-weight: 400;
    color: #FFF;
}

.ExtraContent .ActualitatTitle {
    text-align: center;
    width: 193px;
    border-bottom: 3px solid #a5bc23;
    font-size: 18px;
    line-height: 22px;
    background-color: #FFF;
    margin-top: -93px;
    height: 97px;
    display: flex;
    align-items: center;
    z-index: 2;
    position: relative;
    padding: 0 5px;
    justify-content: center;
    font-weight: 400;
}

.ActualitatTitle a,
.HomeBlocTextTitle a {
    color: #494949;
}

.ActualitatTitle2 a {
   color: #FFF;
}

.HomeBlocTextTitle2 a {
    color: #494949;
}


.ActualitatTitle a:hover,
.HomeBlocTextTitle a:hover {
    text-decoration: none;
        color: #a5bc23;
}

#block-views-block-actualitat-block-8 .ActTitle a:hover,
.MoreLink a:hover {
   color: #a5bc23;
}



.ActualitatData {
    background-color: #a5bc24;
    color: #FFF;
    text-align: center;
    width: 90px;
    height: 90px;
    border-radius: 100%;
    position: absolute;
}

.ActualitatData2 {
   background-color: #55564f;
    color: #FFF;
    text-align: center;
    width: 90px;
    height: 90px;
    border-radius: 100%;
    margin-left: -9px;
    margin-top: -18px;
    float: left;
    z-index: 1000;
    position: absolute;
}

.ExtraContent  .ActualitatData {
    width: 69px;
    height: 69px;
}

.ActualitatImg img {
    border-radius: 100%;
}

.ActualitatImg2 {
    display: flex;
    justify-content: flex-end;

}

.ActualitatImg2 img {

}

.Organitza2 {
    text-align: right;
    padding: 14px;
    color: #FFF;
}


.ActualitatDataDia {
    font-size: 33px;
    margin-bottom: -22px;
}

.ActualitatDataDia2 {
    font-size: 33px;
    margin-bottom: -22px;
}

#views-bootstrap-actualitat-block-6 .ActualitatDataDia {
    font-size: 32px;
    margin-bottom: -16px;
}

.ExtraContent  .ActualitatDataDia {
    font-size: 26px;
    margin-bottom: -13px;
}

.ActualitatDataMes {
    text-transform: uppercase;
    font-size: 20px;
}

.ActualitatDataMes2 {
    text-transform: uppercase;
    font-size: 20px;
}

.ExtraContent .ActualitatDataMes {
    font-size: 15px;
}

.field--name-field-activitat-enllac-extern {
    font-size: 20px;
    padding: 15px 0;
}

.Dele {
    width: 60px;
    height: 60px;
    background: transparent url(../images/esglesiajove-fav.jpg) no-repeat center center;
    background-size: cover;
    border-radius: 100%;
    position: absolute;
    top: 80px;
}

/*
#block-views-block-actualitat-block-1 .ViewsMore {
    position: relative;
    bottom: -39px;
}
*/

.ViewsMore {
    padding-top: 32px;
}

#block-views-block-actualitat-block-1 .ViewsMore {
    padding-top: 0;
}

h4.ViewsMore a {
    font-size: 20px;
    color: #505051;
}


h4.ViewsMore a:hover {
    color:#a5bc23;
    text-decoration: none;
}

.AltresHeader {
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 27px;
}

.page-node-type-recursos  .field,
.page-node-type-actualitat  .field,
.page-node-type-article  .field {
    padding-top: 20px;
    font-size: 15px;  
}

.page-node-type-actualitat .field--label,
.page-node-type-article .field--label {
    font-weight: bold;

}

.file-link,
.file {
    width: auto;
    font-size: 15px;
}

.field--name-field-activitat-enllac-extern a {
    font-size: 20px;
    font-weight: 800;
}

.Organitza {
    height: 30px;
}



.path-bloc h3 {
      font-size: 28px;
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    color: #FFF;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    background-color: #474e9c;
    transform: rotate(-2.5deg);
    margin-top: 60px;

}
/**************DELEGACIONS*************/

#views-bootstrap-delegacions-block-2  .panel-title {
    text-align: center;
}

#views-bootstrap-delegacions-block-2 {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#views-bootstrap-delegacions-block-2 .panel-collapse {
     border: 1px solid rgb(229, 102, 15);
     text-align: center;
}

#views-bootstrap-delegacions-block-2  .panel-default > .panel-heading {
    color: #212121;
    background-color: #ffffff;
    border-color: #dddddd;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 4px solid #e5650f;
}

.img-center img {
    margin-left: auto;
    margin-right: auto;
}

#views-bootstrap-delegacions-block-2 .panel {
    box-shadow:none;
}

#block-views-block-delegacions-block-3 .views-field-field-delegacio-logotip {
        margin-bottom: 40px
}

.DeleLogoHome {
    padding: 10px;
}

.DeleLogoHome img {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.DisplayFlex {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

/********CARROUSEL******/

.jcarousel-wrapper.jcarousel-skin-tango {
    width: 100%;
    box-shadow:none;
    border:none;
    height: 125px;
}

.jcarousel-skin-tango .jcarousel li {
    width: 150px;
    height: 125px;
    margin-right: 75px;
    display: flex;
    align-items: center;
}

/******Recursos*********/

.field--name-field-actualitat-imatges .field--item,
.field--name-field-recursos-imatges .field--item {
  float: left;
  padding: 13px;
}

.field--name-field-actualitat-data {
    padding-bottom: 30px;
}

.gdoc-filename {
    margin-top: 0;
    margin-bottom: 1.5em;
    font-style: normal;
    font-family: Roboto;
    font-size: 15px;
    text-align: center;
}

.path-recursos .views-field-title,
.page-node-type-recursos .views-field-title {
    padding-top: 30px;
}

.path-webs-amigues h3 {
    text-align: center;
    background-color: #e56500;
    font-size: 28px;
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    color: #FFF;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: rotate(1.5deg);

}

.path-webs-amigues h4 {
    margin-bottom: 0;
}

.path-webs-amigues a {
    color: #545458;
}

.path-webs-amigues a:hover {
    color: #a5bc23;
}

/*******FOOTER********/

.footer {
    background-color: #353535;
    padding-bottom: 0;
}

.FooterLogo img {
    max-width: 300px;
}

.FooterEmail a {
    font-size: 24px;
    color:#FFF;
}

.FooterEmail p {
    padding-top: 16px;
    text-align: center;
}

.legal a:hover,
.FooterEmail a:hover {
    text-decoration: none;
    color: #a5bc23;
}

.SocialIcons {
    display: inline-flex;
    float: right;
}

.SocialIcons img{
    width: 40px;
}

.SocialIcons a img:hover  {
  -webkit-filter: opacity(.6);
  filter: opacity(.6);
}

.FacebookIcon {
    margin-right: 10px;
}

.copyright,
.legal a {
    color: #FFF;
}

.legal {
    text-align: right;
 }

#block-footerbottom .row {
    background-color: #000;
    padding: 5px 0;
}

#block-footertop {
    margin-bottom: 20px;
}

p.FooterEmail {
    float: right;
    clear: right;
}

/***** VIDEO HEaDER BANNER****/
video {
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;

}
.video-wrapper {
  height: 700px;
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}





/****************RESPONSIVE************************/
.navbar-toggle .icon-bar {
    display: block;
    width: 31px;
    height: 4px;
    border-radius: 21px;
}

@media (max-width: 992px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
        text-align: center;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 15px;
        padding-bottom: 15px;
        font-size: 23px !important;
    }
    .collapse.in{
        display:block !important;
    }
    .logo {
        display: none;
    }
    .region-navigation .logo {
        display: block;
        max-width: 200px;
    }
    .region-navigation .logo img{
        max-width: 200px;
    }
}

@media (min-width: 992px) {
    
    .region-navigation {
        display: none;
    }
}

@media (max-width: 991px) {
    
   .HomeBloc {
    display: block;
   }
   
   .HomeBlocText {
    text-align: center;
    padding-left: 0;
   }
   
   .HomeBlocImage {
    margin-left: auto;
    margin-right: auto;
    }
    
    .ExtraContent .ActualitatTitle {
    margin-top: -48px;
    }
    
    #block-footertop .col-md-4 {
        text-align: center;
    }
    .SocialIcons,
    p.FooterEmail {
        float: none;
    }
    
    .copyright,
    .legal {
        text-align: center;
    }

}

@media (min-width: 767px) {
    
   #block-views-block-delegacions-block-4{
        display:none;
    }
}

@media (max-width: 768px) {
    
   #block-views-block-delegacions-block-1{
        display:none;
    }
    /*
    .path-frontpage .Banner,
    .view-banner-homepage .field-content img {
    height: calc(100vh - 77px);
    }
    */
    .path-frontpage .Banner{
    height: 400px;
    }
    .video-wrapper {
    height: 300px;
    }
}

@media (max-width: 767px) {
   
   
   .MoreLink {
    bottom: 5px;
   }
    
  #views-bootstrap-actualitat-block-8 {
    
  }
  
  .ActualitatContainer2 {
    margin-bottom: 36px;
  }
  
  .ActualitatFullContainer {
    padding-left: 30px;
  }
  .ActualitatContainer2,
  .ActualitatTitle2 {
    height: auto;
  }
  
  .ActualitatDataDia2 {
    font-size: 19px;
    margin-bottom: -15px;
    }
    
    .ActualitatData2 {
    width: 50px;
    height: 50px;
    }
    
    .ActualitatDataMes2 {
    font-size: 16px;
   }
   
  .ActualitatTitle2 {
    margin-top: -10px;
    padding: 0 10px 20px 20px;
  }
  
}

@media (max-width: 425px) {
   #views-bootstrap-actualitat-block-3 .col-xs-6,
   #views-bootstrap-actualitat-block-4 .col-xs-6 {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
}
