.bgframe{
  background: #5b527f;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #2d5875, #5b527f);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #2d7571, #7262b4); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  width:100%;
  padding:30px;
  color:#e6e6e6;

}
.bgframe.light{
  background: #d4e3ec !important;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #d4e3ec, #e0ddec) !important;  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #d4e3ec, #e0ddec) !important; /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  width:100%;
  padding:30px;
  color:#212b32 !important;
}
.bgframe.light a{
  color:#2e3192 !important;
  text-decoration: none;
  font-size:20px;
  font-weight:300;
  border-bottom:2px solid #2e3192 !important;
}
.bgframe h2{
  font-weight:400 !important;
  font-size:35px;
}
.bgframe p{
  font-size:20px;
  font-weight:300;
}
.bgframe a{
  color:#e6e6e6;
  text-decoration: none;
  font-size:20px;
  font-weight:300;
  border-bottom:2px solid #e6e6e6 !important;
}
.pimg{

  background-repeat: no-repeat !important;
background-size: cover !important;
  height:auto;
  min-height:70vh;
  width:100%;
  position:relative;

}
@media only screen and (device-width: 768px) {
  .pimg{

    background-repeat: no-repeat !important;
  background-size: cover !important;
    height:auto;
    min-height:47vh !important;
    width:100%;
    position:relative;

  }
}
@media only screen and (device-width: 1024px) {
  .pimg{

    background-repeat: no-repeat !important;
  background-size: cover !important;
    height:auto;
    min-height:34vh !important;
    width:100%;
    position:relative;

  }
}
.pimg.left{
background-position: 0 0;
}
.pimg.right .nhsuk-quote-callout{
right:20px;
left:auto;
}
.pimg.right{
background-position: 100% 0;
}
.alert{
  background: #ffeb3b;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #ffeb3b, #fff59b);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #ffeb3b, #fff59b); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
width:100%;
padding:30px;
color:#212b32;
font-weight:300;
}
.quote{
  background: #e4e6f1;  /* fallback for old browsers */
width:100%;
padding:30px;
color:#2f3e94;
font-weight:300;
}
.quote p{

font-weight:300;
}
.homewelcome {
position: relative;
width:100%;
height:calc(100% - 78px);
background: #5b527f;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #2d5875, #5b527f);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #2d5875, #5b527f); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */


}
.flexbox {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
}
.flexbox .col {
  flex: 1;
  padding: 30px;
}
.flexbox .col.right {

  -webkit-order: 1;
      -ms-flex-order: 1;
          order: 1;
}
.flexbox .col.left {

  -webkit-order: 0;
      -ms-flex-order: 0;
          order: 0;
}
@media screen and (max-width: 685px) {
  .flexbox {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: block;
    overflow: hidden;
    width:100%;
  }
  .flexbox .col {
    flex: 1;
    padding: 30px !important;
  }
}
.resp-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    border:0px solid #efefef;
    margin-bottom:20px;
        box-shadow: inset 0 -3em 3em rgb(0 0 0 / 10%), 0.3em 0.3em 1em rgb(0 0 0 / 30%);
}
.resp-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.layer {

    position: absolute;
background:url('../assets/images/church.png');
background-size:cover;
background-position: bottom;
background-repeat: no-repeat;
    width: 100%;
  height:100%;
    bottom:0px;
    -webkit-mask-image:-webkit-gradient(linear, left bottom, left top, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
          mask-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1));
}
.scrolldown{

width:100%;
padding-top:50px;
  margin:0 auto;
  color:#fff;
z-index:999;
text-align: center;
    padding-bottom: 1px;
}
.scrolldown i{
  display:block;
  margin-bottom:40px;
  -webkit-animation: pulse 3s infinite;
    animation: pulse 3s infinite;
}
@-webkit-keyframes pulse {
  0% {
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0); }
  50% {
    -webkit-transform: translate(0, 10px);
            transform: translate(0, 10px); }
  100% {
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0); } }

@keyframes pulse {
  0% {
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0); }
  50% {
    -webkit-transform: translate(0, 10px);
            transform: translate(0, 10px); }
  100% {
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0); } }
.strap{

  padding:120px 0 0 0;
  margin:0 auto;

z-index:999;

}
.strap h1{
  color:#fff;
  font-size:1.7em;
  font-weight:300;
text-align: center;
}
.strap span{
  color:#fff;

    font-weight:600;
}
.clr{
  clear:both;
}
.home .nhsuk-header__logo{
  display:none;
}
.home .thumbnail_right{
  width:100%;
  min-height:350px;
    max-height:500px;
  object-fit:cover;
}
.home .thumbnail_left{
  width:100%;
    min-height:350px;
    max-height:500px;
  object-fit:cover;
}
.thumbnail_right{
  width:100%;
  min-height:350px;
    max-height:200px;
  object-fit:cover;
}
.thumbnail_left{
  width:100%;
    min-height:350px;
    max-height:200px;
  object-fit:cover;
}
.nhsuk-quote-callout {
  padding: 14px;
background: rgba(255, 255, 255, 0.9);
color: #2e3192;
padding-top: 0!important;
position: absolute;
width: 30%;
min-width: 250px;
bottom: 20px;
left: 20px;
}
.nhsuk-quote-callout-right{
  right: 20px;
}
.nhsuk-quote-callout>:first-child {
    margin-top: 0;
}
@media (max-width: 40.0525em)
.nhsuk-quote-callout__label {
    margin-left: -24px;
    margin-right: 0;
    padding: 8px 24px;
    top: -8px;
}
.nhsuk-quote-callout p {
    font-size: 20px;
    line-height: 1.5;
    display: block;
    margin-top: -33px;
    margin-bottom: 16px;
}
.nhsuk-quote-callout__label {
  font-size: 67px;
  line-height: 1.1;
  background-color: #2e3192;
color:#fff;
  display: inline-block;
  margin: 0 0 8px 0px;
  padding: 8px 10px 8px 10px;
  position: relative;
  top: -33px;
  height: 50px;
  width:50px;
  overflow:hidden;
  text-align:center;
}
.nhsuk-quote-callout>:last-child {
    margin-bottom: 0;
}


/* SUBNAV */

.subnav{
  position: -webkit-sticky; /* Safari */
    position: sticky;

    overflow-x: scroll !important;
    overflow-y: hidden !important;
    display: block !important;
    height: 75px !important;
  top:0;
  left:0;
  background:#fff;
padding:15px;
  width:100%;
      z-index: 9999;
}

  .subnav ul{
    margin:0;
    padding:0;
    list-style:none;
    white-space: nowrap;
  }
    .subnav li{
      display:inline-block;

    }
    .subnav   a{
        padding:10px 20px;
        display:block;
font-size: 1.2rem;
        text-decoration:none;
        transition:all 0.3s ease-in-out;
      //  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
      }
    .subnav     a:hover{
          color:#2e3192;
        }
        .subnav     a:visited{
              color:#2e3192;
            }
      .subnav  a:focus {
        background: none !important;
        box-shadow: none !important;
    color: #2e3192 !important;
    outline: 0px solid transparent;
    text-decoration: none;
}
.subnav  a:visited {
color: #2e3192 !important;
}



      .subnav .active:after {
        content: "" !important;
        display: block !important;
        margin: 0 auto !important;
        width: calc(100% - 30px) !important;
        margin-top: -5px !important;
        border-top: 3px solid #2e3192 !important;
        padding:10px 20px;
        animation: createBox .25s;
}
@keyframes createBox {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* NAV SECTIONS */

.section_dark{
padding: 0 10%;
max-width: none;
margin:0px;
}
.section_light{
padding: 0 10%;
max-width: none;
margin:0px;
background:#fff;
}
.section_light h2, h3{color:#2E3192;}
.section_light .pimg{margin-bottom:20px;}
.section_dark h2, h3{color:#2E3192;}
.section_dark .pimg{margin-bottom:20px;}
.pulloutbox_dark{
  padding:20px;
  background:#EFF1F8;
  color:#2E3192;
  margin-top:40px;
}
 .pulloutbox_dark p:last-child{
   margin-bottom: 0px;
   }
.pulloutbox_dark_contact{
  padding:20px;
  background:#EFF1F8;
  color:#2E3192;
  margin-top:40px;
  width:100%;
  text-align:center;
}
.pulloutbox_light{
  padding:20px;
  background:#FFFFFF;
  color:#2E3192;
  margin-top:40px;
}
.pulloutbox_light p:last-child{
  margin-bottom: 0px;
  }


/* Events list */
.fas{
  margin-right:0px;
}
.nhsuk-promo img{
  width:100%;

}
.center-cropped {
  width: 100%;
  height: 200px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size:cover;
  overflow: hidden;
}

/* Set the image to fill its parent and make transparent */
.center-cropped img {
  min-height: 100%;
  min-width: 100%;
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  /* IE 5-7 */
  filter: alpha(opacity=0);
  /* modern browsers */
  opacity: 0;
}
.logo_my {
    color: #9999cc;
    font-size: 19px;
    margin-left: 17px;
    text-shadow: 0 0px 0 #fff;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}
.logo_bcc {
    color: #fff;
    margin-left: 6px;
    font-size: 19px;
    text-shadow: 0 0px 0 #fff;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}
.nhsuk-promo{
    position: relative;
  }
.ribbon {
  width: 150px;
      height: 150px;
      overflow: hidden;
      position: absolute;
      float: left;
      z-index: 999;
}

.ribbon span {
  position: absolute;
display: block;
width: 249px;
padding: 6px 0;
background-color: #6ddb34;
box-shadow: 0 5px 10px rgba(0,0,0,.1);
color: #fff;
font: 700 18px/1 'Lato', sans-serif;
text-shadow: 0 1px 1px rgba(0,0,0,.2);
text-transform: uppercase;
text-align: center;
}
.ribbon.green span {
background-color: #2e3192;
}
.ribbon.red span {
background-color: red;
}
.ribbon.orange span {
background-color: orange;
}

/* top left*/


.ribbon-top-left span {
  right: -25px;
  top: 30px;
  transform: rotate(-45deg);
}


.nhsuk-promo {
  display: inline-block;
  width: 100%;

  margin-right: 3%;

  vertical-align: top;
}

.no-link h3{
  color:#2e3192 !important;
      text-decoration: none;


}
.no-link i{
  color:#2e3192 !important;

}
.no-link .info{
  color:#2e3192 !important;

}
.no-link .nhsuk-promo__link-wrapper:active {
    background-color: #fff;
    box-shadow: none;
    top: 0px;
}



  @media (min-width: 641px) {
    .nhsuk-promo {
      width: 29%;
    }
    .section_dark .nhsuk-promo {
      width: 46%;
    }
    .section_light .nhsuk-promo {
      width: 46%;
    }
  }

.nhsuk-header__logo a:hover path{
fill:#eff1f8;
}
.nhsuk-header__logo a:focus{
box-shadow:none;
}
.logout{
  float:right;padding:12px 20px 0px 0px;
}
.contactshortcuts ul{
text-align:center;
    padding-left: 0px;
}
.contactshortcuts ul li{
margin:0 20px;
 font-size:18px;
 display:inline-block;
 width:50px;
}
.contactshortcuts ul li a{
    text-decoration: none;
  }
  .contactshortcuts ul li a:focus {
    background: none;
    box-shadow: none;
    color: #212b32;
    outline: 4px solid transparent;
    text-decoration: none;
}
.contactshortcuts ul li i{
background:#2e3192;
color:#fff;
width:50px;
height:50px;
padding:12px;
font-size:25px;
border-radius:50px;
margin-bottom:5px;
}
.contactshortcuts ul li i:hover{
background:#7c2855;
}
.contactshortcuts ul li i:hover span{
background:#7c2855;
}
.contactshortcuts ul li span{
  display:block;
  font-size:12px;
  text-decoration:none;
}
.contact_user .nhsuk-grid-column-three-quarters a{
font-size: 1.2rem;
}
.nhsuk-breadcrumb__back {
   display: block;
}


/* ROTA */

.clash a{
  background: red;
padding: 5px;
color: #fff;
}


.nhsuk-icon__search {
    fill: #fff;
}
.nhsuk-search__submit {
    background-color: #2e3192;
  }
  .autocomplete__input {
    width: 535px;
    border: 1px solid #ccc;
}
.nhsuk-header__search {
float:none;
    text-align: center;
        margin-top: 20px;
            margin-bottom: 20px;
}
.searchbox{
display: flex;
    flex-wrap: wrap;
    height: auto !important;
    background:#fff;
    }
.searchbox.focus{
  box-shadow: 0 0 0 4px #ffb81c;
outline: 4px solid transparent;
outline-offset: 4px;
}

.searchbox input {

    border: none;
    box-shadow: none;
    outline: none;
    background-color: transparent;
    padding: 0 6px;
    margin: 0;
    width: auto;
    max-width: inherit;
    font-size: 1.1875rem;
line-height: 1.47368;
width: 150px;
    flex: 1;
}
.tag.highlight{
background:  #ffb81c;
}
.tag{
position: relative;
background: #2e3192;
color: #fff;
border-radius: .2rem;
font-weight: 700;
    font-size: 18px;
    padding-left: 24px;
padding-right: 24px;
margin-right:10px;
margin-bottom:5px;
cursor: pointer;
flex: none;
}
.tag .cross{
      position: absolute;
      right: 6px;
      top: 3px;
        font-size: 14px;

}
.usericona{
position: absolute;
left: 5px;
  top: 2px;
  font-size: 14px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
  }
  .nhsuk-button {
    margin-bottom: 8px;
}
.users{
      list-style-type: none;
      margin:0px;
      padding:0px;
}
.users li{
    margin-bottom: 0px;
  }
  .useritemhref:link{
    text-decoration: none;
    display: block;
  }
  .useritemhref.highlight{
    background: #e8f5fa;

        box-shadow: 0 0 0 4px #ffcd60;
        color: #212b32;
        text-decoration: none;
  border-radius: 6px;
  }
  .useritemhref.highlight:before{
    content: "↵";
    float:right;
    padding:20px 15px 0px 0px;
    color:#555555;
  }
.useritemhref:hover{
  background: #e8f5fa;

border-radius: 6px;
}
.useritem{
  position: relative;
  align-items: center;
  font-size: 15px;
  color: #616061;
  font-weight: 400;
  width: 100%;
      min-height: 73px;
  cursor: pointer;
  border: 1px solid transparent;
  border-top: 1px solid #ddd;
  padding-left: 10px;
  padding-right: 12px;
  padding-top: 11px;
  padding-bottom: 11px;

  }
  .usericon{
    float: left;
    width: 49px;
    height: 49px;
    line-height: 49px;
    font-size: 25px;
    margin-right: 20px;
    background: #2e3192;
    border-radius: 5px;
    padding-left: 0px;
    text-align:center;
    color: #fff;
    }

    .userdetails{
text-transform: capitalize;
    }
    .userdetails .user{
      color: #1d1c1d;
      font-weight: 700;
      display:block;
          font-size: 1.2em;
          text-decoration: none !important;
    }
    .userdetails .user i{
      color: #007f3b;

    }
    .userdetails .info{
      color: #1d1c1d;
      font-weight: 300;
      display:block;
          font-size: 1.1em;
    }
    .disabled{
      opacity: .5;
pointer-events: none;
    }
    @media screen and (min-width: 640px) {
.nhsuk-panel-with-label{

            box-shadow: 0 19px 38px rgba(0, 0, 0, 0.12), 0 15px 12px rgba(0, 0, 0, 0.22);
        }
      }

  .dialognav{
    width: 100%;
    display: block;
    height: 70px;

  }
  .dialogbutton{
    float: right;
    width: 70px;
    height: 70px;
    background: none;
    border: none;
        padding: 12px;
    cursor: pointer;
  }
  .dialogbutton:hover{
    color:#2e3192;
  }
    .dialogbutton i{
      font-size: 3em;
    }
  .buttonlabel{
    font-size: 1.5em;
    display: block;
  }
  .users::-webkit-scrollbar {
      width: 1em;
      border-radius: 50px;
      position:absolute;
      -webkit-appearance:none;
      width:8px;
  }

  .users::-webkit-scrollbar-track {
  background-clip:padding-box!important;border-radius:3px;color:#fff;
  background:#f3f3f3;box-shadow:inset 0 -4px 0 0,inset 0 4px 0 0;
  border-radius:50px;
  }

  .users::-webkit-scrollbar-thumb {
    background:rgba(29,28,29,.52);box-shadow:none;min-height:36px;
    border-radius:50px;
  }
  .users::-webkit-scrollbar-corner{background:#fff}

.users{
  overflow-y: auto;
max-height: 300px;
padding: 3px 15px 3px 5px;
}

#list{
background: #fff;
margin: 25px 0px;
padding-left: 0px;
}
#list li{
list-style-type:none;
padding:0;
margin:0;
}
.curemove{
  float: right;
    width: 49px;
    height: 49px;
    line-height: 49px;
    font-size: 25px;
    margin-left: 20px;
    background: #6b6b6b;
    border-radius: 5px;
    padding-left: 0px;
    text-align: center;
    color: #fff;
}
/* Bible */

.biblenavframe{

background:rgba(255,255,255,1);
  width:100%;

}
.sticky{
background:rgba(255,255,255,1);
  position: sticky;
  top: 0;
  width:100%;
  margin: 0px;
  z-index:9;
}
@media (min-width:61.875em) {

  .biblenavframe{
position:static !important;
    width:100%;
    margin-top:30px;

  }
  .sticky{
background:none;
position: static;
  }
  .navfix{
      padding: 0 6% 0 10%;

      }
}
.biblenav {

  width: 100%;
text-align: center;
display: flex;
margin: 0 auto;


}

.biblenav .item{
text-align: center;
min-width: 100px;
margin-right: 0px;
color: #2E3192;
font-size: 1.2rem;
text-decoration: none;
padding:20px 0px 20px 0px;
margin: 0 auto;
}
.biblenav .item span{
  font-size:10px;
  color:darkgrey;
  display:block;
      white-space: nowrap;
}
.biblenav a{
  text-decoration: none;
  width: 25%;
}
.biblenav a:focus{
background-color: inherit;
box-shadow: none;
color: #212b32;
outline: 0px solid transparent;
text-decoration: none;
}
.biblenav a:hover div{
  background:#f7f7f7;
}
.biblebooks{
  padding:0px;
  margin:0;
}
.biblebooks li{
  list-style-type: none;
}
.navchapters{
display:none;
margin: 0px 0px 30px 0px;
height: auto;

}
.navchapters a{
  display: inline-block;
  padding: 0px;
  text-align: left;
  /* background: lightgray; */
  text-decoration: none;
  margin: 15px;
  min-width: 40px;
  font-size: 1.5rem;
}
.navbook{
  padding: 0px;
  font-size: 1.5rem;
  color: #2e3192;
  text-decoration:none;
  display:block;
}
.navbook:focus{
 background-color: #fff;
box-shadow: 0 0px #fff, 0 0px lightgrey;
}
.devotionalmessage{
  background:white;
  padding:20px;

}
