@import url("https://fonts.googleapis.com/css?family=Merienda");

@import url("https://fonts.googleapis.com/css?family=Roboto");

.activity-item h3 {
    font-family: 'Merienda', cursive;
    text-transform: capitalize;
    background-color: #007138;
    font-weight: 400;
    padding: 6px;
    color: #fff;
    border-radius: 5px;
}

.activity-item {
    padding-bottom: 20px;
}

.hail-row p {
    margin: auto;
}

.top-intro {
    background: #ecfff5;
    margin-top: 0;
}

.top-note-row {
    margin-top: 0;
}

.subhead-text {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    color: #432715;
}

.mass-event h4 {
    font-family: 'Merienda', cursive;
    text-align: center;
}

.mass-event h5 {
    font-family: 'Merienda', cursive;
    text-align: center;
}

.mass-event h6 {
    text-align: center;
    font-family: monospace;
    color: #432715;
}

.null-text {
    color: #54321b;
    text-align: center;
    padding: 25px 0px;
}

.date-box {
    background: #017239;
    background: repeating-linear-gradient(45deg, transparent, transparent 2px, #9bff9b 2px, #9bff9b 4px);
    text-align: center;
    font-weight: 400;
    padding: 4px;
    border: 1px solid #78febb;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    transform: scale(0.8);
}

.date-box h5, .date-box h6 {
    margin: 4px auto;
    padding: 3px;
}

.date-box h3 {
    margin: 0 auto;
    padding: 12px;
}

.date-data {
    padding-top: 15px;
}

.date-row {
    margin-bottom: 5px;
    transition: all 0.3s linear;
    -webkit-transition: all 0.3s linear;
}

.date-row:hover .date-box {
    border: 1px solid #017239;
}

.date-data button.view-event {
    padding: 2px 15px;
}

.pastors-section {
    padding-top: 20px;
}

.pastor-header {
    font-family: 'Merienda', cursive;

    /* padding-top:10px; */
}

/* .pastor-carousel .slides li img{
  width:100%;
  height:auto;
}
.pastor-carousel .img-cont{
  width:310px;
  height:310px;
  border-radius:50%;
  overflow: hidden;
  margin-left:auto;
  margin-right:auto;
}
.text-cont{
  width:100%;
  padding:10px;
  box-sizing: border-box;
  left:0;
  bottom:0;
}
.text-cont h3{
  font-size:16px;
  background-color:#019249;
  color:#fff;
  padding:10px;
}
.text-cont h4{
  font-size:14px;
  color:#1d0f06;
  text-align:center;
  font-weight:bold;
}
.flex-direction-nav a:before{
  content: "\f137";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  color:#019249;
  z-index:2 !important;
}
.flex-direction-nav a.flex-next:before{
  content: "\f138";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  color:#019249;
  z-index:2 !important;
}
.flex-direction-nav a {
  top:40%;
} */
/* .thumb-cont{
  height:140px;
  width:100%;
  transform: scale(0.80);
  -wekit-transform:scale(0.8);
} */

.flexslider .slides .contain .img-section {
    width: 100%;
    height: 310px;
}

.flexslider .slides .contain .img-section img {
  width: 100%;
  height: 100%;
}

.flexslider .slides .contain {
    overflow: hidden;
    border: 5px solid #fafafa;
    background-color: #fafafa;
    border-radius: 3px;
}

.flexslider ul li h6 {
    color: #3c763d !important;
    margin-bottom: 10px;
}

.flexslider ul li h5 {
    font-weight: bold;
    margin-bottom: 0px;
}

.flex-direction-nav a:before {
    content: "\f053";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    color: #fafafa;
}

.flex-direction-nav a.flex-next:before {
    content: "\f054";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    color: #fafafa;
}

.flexslider:hover .flex-direction-nav a {
  opacity: 0.15 !important;
}
.flex-direction-nav a {
    top: 40%;
    height: auto;
}

.news-item {
    margin-bottom: 10px;
    padding: 10px;
    background: #fefefe;
    clear: both;
}

.news-item .news-title {
    margin-bottom: 2px;
}

.news-item .news-content {
    text-align: justify;
    transition: all 0.3s ease-in;
    word-wrap: break-word;
}

.news-item .news-content:hover {
    color: #4b2710;
}

.nav-item .btn-news {
    display: block;
}

.calendar-content {
    overflow: hidden;
    width: 90%;
    margin: 10px auto;
}

.cal-list {
    padding: 0;
    list-style-type: none;
    overflow: hidden;
    display: block;
}

.cal-list li {
    float: left;
    font-size: 13px;
    font-family: monospace;
    font-weight: 400;
    line-height: 16px;
    padding-left: 12px;
    padding-right: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.cal-list li .color-box {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 1px solid #ddd;
}

.link-row {
    padding-top: 20px;
    padding-bottom: 25px;
}

.link-box {
    height: 200px;
    background: #eee;
    margin-bottom: 12px;
    background-size: contain;
    border: 3px solid #bbb;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    background-clip: padding-box;
    padding: 5px;
    transition: all 0.28s ease-in;
    -webkit-transition: all 0.28s ease-in;
}

.link-box-text {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 4px;
    background: #bbb;
    opacity: 0.89;
    transition: all 0.28s ease-in;
    -webkit-transition: all 0.28s ease-in;
}

.link-box-text h4 {
    font-size: 16px;
    margin: 0;
    text-align: center;
}

.link-box:hover .link-box-text {
    opacity: 1;
    padding: 10px;
}

.link-box:hover .link-box-text h4 {
    color: #007138;
}

.link-box:hover {
    background-position: center top;
}

/*mobile view*/
@media screen and (max-width: 768px) {
    .flexslider .slides .contain {
        height: auto;
    }
    .flexslider:hover .flex-direction-nav a {
      opacity: 0.15 !important;
    }
    .flexslider .flex-direction-nav a {
      opacity: 0 !important;
    }
}
