body{
  font-family: 'Open Sans', sans-serif;
}

#form-search{
  border:none;
  box-shadow: none;
}

header{
  background-image: url(/themes/AgapeNRB/assets/images/headerbg.png);
  background-repeat: repeat-x;
  min-height: 166px;
  padding-top: 15px;
}
.nopadding{
  padding:0;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.navbar-nav{
  /*margin-left: -28px;*/
}
.divider{
  border-right:1px solid #386BB0;
}
.navbar-top {
  background-color: #062959;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
  font-size: 12px;
}
.navbar-form {
  margin-right: -50px;
  margin-left: 49px;
}
.navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover{
  background-color: transparent;
}
.navbar-inverse:not(.navbar-top){
  background-color: transparent;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
}
.navbar-collapse.collapse.in,.collapsing{
  background-color: #062959;
  position: relative;
  margin-bottom:30px;
}
.navbar-collapse.collapse.in{
  margin-bottom:30px;
}

.navbar-inverse .navbar-nav>li>a {
  color: #5994E4;
  padding: 18px 10px 0 10px;
}
.navbar-inverse.main .navbar-nav>li>a {
  color: #ffffff;
  padding: 15px;
}
.navbar-inverse.main .navbar-nav>li {
  /*border-right:1px solid #2A5B9E;*/
}
.navbar-toggle{
  float: left;
  margin-left: 10px;
}
.nav>li>a:focus, .nav>li>a:hover {
  text-decoration: none;
  background-color: #e2e2e2;
}
.subnav .nav>li>a {
  position: relative;
  display: block;
  padding: 2px 15px;
  color: #000;
}
.subnav .nav>li>ul,.subnav .nav>li>ul>li>ul {
  list-style-type: none;
  margin-left:-10px;
}

.subnav ul.nav>li>a.nav-path-selected{
  background-color: #e2e2e2;
  font-weight: bold;
}
a.nav-selected {
  font-weight: bold;
}
.subnav{
  margin-top:10px;
  margin-bottom:20px;
}
.breadcrumbs{
  margin:10px 0;
  color:#757576;
}
.breadcrumbs a{
  color:#757576;
  text-decoration: underline;
}
.header{
  margin-top:18px;
    height: 82px;
}
.sideBarHeader {
  background-color: #E7AD0F;
  padding: 15px;
  color: white;
  margin-top: 20px;
  font-weight: bold;
  font-size: 24px;
}
.spacer{
  margin-top:20px;
}
.breaking.news{
  display: block;
  background-color: #9F9FA1;
  color: white;
  font-weight: bold;
  font-size: 24px;
  padding: 10px;
  margin: -10px -10px 0 -10px;
}
.logo{
  margin-left: 28px;
}
.slogan{
  margin-left: 20px;
}
.socialIcons{
  padding: 4px;
  margin-top: 4px;
}
.m-t-10{
  margin-top: 10px;
}
.m-t-20{
  margin-top: 20px;
}
.m-t-30{
  margin-top: 30px;
}
.m-t-40{
  margin-top: 40px;
}
.m-t-50{
  margin-top: 50px;
}
.m-b-10{
  margin-bottom: 10px;
}
.m-b-20{
  margin-bottom: 20px;
}
.m-b-30{
  margin-bottom: 30px;
}
.m-b-40{
  margin-bottom: 40px;
}
.m-b-50{
  margin-bottom: 50px;
}
.pad-none{
  padding: 0 !important;
}
.thumbnail {
  border: 0 none;
  box-shadow: none;
  padding:0;
}
.border-right{
  /*border-right:1px solid #9DABC6;*/
  margin-right: 20px;
}
.container .text-muted {
  margin: 20px 0;
}
.text-muted {
  color: #777;
}
.footer {
  width: 100%;
  background-image: url(/themes/AgapeNRB/assets/images/footerbg.png);
  background-repeat: repeat-x;
  min-height: 221px;
  color:#9DABC6;
  font-size: 12px;
  background-color: #10376B;
}
.footer .nav>li>a{
  color:#919FBF;
  font-size: 14px;
}
.img-responsive{
  width: 100%;
}

.news .header{
  display: block;
  background-color: #9F9FA1;
  color: white;
  font-weight: bold;
  font-size: 24px;
  padding: 10px;
}
.news .body{
  display: block;
  background-color: #F3F1F1;
  padding: 10px;
  height:100%
}
.news .body ul{
  list-style-type: none;
  margin:0;
  padding: 0;
}
.news .body ul li{
  border-bottom: 1px solid #BBB8B8;
  padding: 20px;
}
.news .body ul li:last-child{

  border-bottom: none;
  padding: 20px;
}
.advert img {
  display: block;
  max-width: 100%;
  height: auto;
}
.img-caption{
  background-color: #ED7B03;
  color: white;
  padding: 6px 14px;
  font-weight: bold;
  position: relative;
  width: 100%;
  top: -52px;
  margin-bottom: -43px;
}
.img-caption-sm{
  background-color: #ED7B03;
  color: white;
  font-weight: bold;
  position: relative;
  width: 100%;
  padding:4px 10px;
  font-size:12px;
  top:-40px;
  margin-bottom: -30px;
}
@media (max-width: 1199px) {
  .img-caption{
    background-color: #ED7B03;
    color: white;
    padding: 6px 14px;
    font-weight: bold;
    position: relative;
    width: 100%;
    top: -53px;
    margin-bottom: -43px;
  }
  .img-caption-sm{
    background-color: #ED7B03;
    color: white;
    font-weight: bold;
    position: relative;
    width: 100%;
    padding:4px 10px;
    font-size:10px;
    top:-40px;
    margin-bottom: -30px;
  }
}

@media (max-width: 991px) {
  #form-search > .input-group{
    width: 100%;
  }
  #form-search .input-group-btn{
    width:auto;
    display: block;
  }
.navbar-inverse.main {
  margin-top:35px;
}
  .navbar-header {
    float: none;
  }
    .header{
        height: 46px;
    }
  .navbar-toggle {
    display: block;
  }
  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-collapse.collapse {
    display: none!important;
  }
  .navbar-nav {
    float: none!important;
    margin: 7px -15px;
  }
  .navbar-nav>li {
    float: none;
  }
  .navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .navbar-text {
    float: none;
    margin: 15px 0;
  }
  /* since 3.1.0 */
  .navbar-collapse.collapse.in {
    display: block!important;
  }
  .collapsing {
    overflow: hidden!important;
  }
  .navbar-form {
    padding: 10px 15px;
    margin-top: 8px;
    margin-right: -15px;
    margin-bottom: 8px;
    margin-left: -15px;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);
  }
  .advert:not(:first-child) {
    margin-top: 20px;
  }
  .img-caption{
    background-color: #ED7B03;
    color: white;
    padding: 8px 14px;
    font-weight: bold;
    position: relative;
    width: 100%;
    top: -58px;
    font-size: 16px;
    margin-bottom: -48px;
  }
  .img-caption-sm{
    background-color: #ED7B03;
    color: white;
    font-weight: bold;
    position: relative;
    width: 100%;
    padding: 6px 5px;
    font-size: 12px;
    top: -48px;
    margin-bottom: -38px;
  }
  .footer{
    text-align: center;
  }
  .col-xs-center{
    text-align: center;
  }
  .socialIcons{
    padding: 0;
    margin-top: 4px;
    display: table-cell;
  }
  .footer-social-icons{
    margin: 0 auto;
    width: 280px;
  }
}
@media (max-width: 767px) {
  #form-search .input-group-btn{
    display: table-cell;
    width: 1%;
  }

  .img-caption{
    background-color: #ED7B03;
    color: white;
    padding: 12px 14px;
    font-weight: bold;
    position: relative;
    width: 100%;
    top: -75px;
    margin-bottom: -65px;
    font-size: 22px;
  }
  .img-caption-sm{
    background-color: #ED7B03;
    color: white;
    padding: 12px 14px;
    font-weight: bold;
    position: relative;
    width: 100%;
    top: -75px;
    margin-bottom: -65px;
    font-size: 22px;
  }
}

.caption{
min-height: 60px;
}
/*@media (min-width: 767px){*/
/*.navbar-form {*/
/*padding: 10px 15px;*/
/*margin-top: 8px;*/
/*margin-right: -15px;*/
/*margin-bottom: 8px;*/
/*margin-left: -15px;*/
/*border-top: 1px solid transparent;*/
/*border-bottom: 1px solid transparent;*/
/*-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);*/
/*box-shadow: inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);*/
/*}*/
/*}*/
.imgs-responsive img{
    width:100%;
    height:auto;
}