/* ---- Place your custom styles below ---- */

#header .pad {
padding-top: 10px;
padding-bottom: 10px;
}

li.posts-by-tag-item {
padding:10px;
}

.page-title h1{
display:none;
color: #444;
font-size: 24px;
font-weight: 300;
line-height: 1.5em;
letter-spacing: -0.3px;
}

.text ul li {
list-style: none;
}


/* ------------------------------------------------------------------------- *
 *  Video Slider
/* ------------------------------------------------------------------------- */
h1 {
  font-size: 2.125rem; }

h2 {
  font-size: 1.6875rem; }

h3 {
  font-size: 1.375rem; }

h4 {
  font-size: 1.125rem; }

h5 {
  font-size: 1.125rem; }

h6 {
  font-size: 1rem; }
.videoslider h4,
.videoslider h3,
.videoslider h2,
.videoslider h1,
.videoslider h5,
.videoslider h6 {
    margin-bottom: 20px;
    margin-left: 0px;
}
.item {
    padding: 0 10px 0 0;
}
.video_block {
    margin-top: 50px;
}
/* Opera Only */
.modals {
/*    visibility: hidden;*/
}
.video_block object {
    height: 290px;
}
.reveal-modal h2 {
    float: left;
}
a.close-reveal-modal {
    font-size: 30px;
    color: #000;
    top: -5px;
    right: 0px;
    border-radius: 100%;
    display: block;
    height: 30px;
    width: 30px;
    float: right;
    text-align: right;
    cursor: pointer;
}
.item .overlay {
    display: block;
    width: 100%;
    height: 200px;
    background-size: cover !important;
    position: relative;
}
.item .overlay img {
    display: table;
    margin: 0 auto;
    padding-top: 80px;
    opacity: 0.5;
}
.item .overlay img:hover {
    opacity: 1;
}
.owl-next {
    background: url(img/right-arrow.png) no-repeat !important;
    display: block;
    height: 30px;
    width: 30px;
    padding: 0 !important;
    border-radius: 0 !important;
    -webkit-background-size: cover !important;
    background-size: cover !important;
}
.owl-prev {
    background: url(img/left-arrow.png) no-repeat !important;
    display: block;
    height: 30px;
    width: 30px;
    padding: 0 !important;
    border-radius: 0 !important;
    -webkit-background-size: cover !important;
    background-size: cover !important;
}
.owl-buttons {
    position: absolute;
    top: -45px;
    right: 2px;
}
@media only screen and (max-width: 40em)  { 
    .owl-buttons {
        position: relative;
        top: 0;
    }
    .item .overlay img {
        left: 120px;
    }
    .reveal-modal {
        width: 90% !important;
        margin: 0 !important;
        left: 3% !important;
        padding: 5px !important;
    }
}
@media only screen and (min-width: 40.063em) and (max-width: 64em) { 

} 

@media only screen and (min-width: 64.063em) { 
    
} 

.entry-title {
  -webkit-transform: translate3d(0px, 0px, 0px);
  -moz-transform: translate3d(0px, 0px, 0px);
  -ms-transform: translate3d(0px, 0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}

.text ul li {
list-style: none;
}

/*** VIDEO SLIDER FROM ALEX ***/
.slider-box {
    padding: 20px 30px;
}

.video-box {
    padding: 0 5px;
    position: relative;
}

.btn-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -24px;
    margin-top: -24px;
}

.video-title {
	left: 9px !important;
	bottom: 8px !important;
	font-size: 14px !important;
	margin-bottom: 0 !important;
	padding-right: 4px;
}

.btn-video-play img {
    opacity: .5;
    transition: opacity .5s ease;
}

.btn-video-play img:hover {
    opacity: 1;
    transition: opacity .5s ease;
}

.slider-title {
    font-size: 24px;
    padding: 5px 0 10px 3px;
}

.jw-player-modal {
    display: none;
    /*visibility: hidden;*/
    position: relative;
    left: auto !important;
    top: auto !important;
}

.jw-player-modal .modal-close {
    background-color: #9E9E9E;
    border-radius: 15px;
    border: 1px solid #B4B4B4;
    text-align: center;
    position: absolute;
    right: 20px;
    top: 0;
    display: block;
    width: 25px;
    height: 25px;
    color: #fff;
    z-index: 1000;
    line-height: 25px;
    font-size: 19px;
}

.jw-player-modal .modal-close:hover {
    background-color: #696969;
    cursor: pointer;
}

.modals-group > .reveal-modal {
    display: none;
}

.modals-group > .reveal-modal.active {
    display: block;
}

.modals-group .reveal-modal {
    padding: 0 34px 30px 34px !important;
}

.owl-theme .owl-controls .owl-buttons div {
    margin: 5px 3px !important;
}

.video-box img {
    max-width: none !important;
    width: 100% !important;
}

.modal-video-title {
    font-size: 12px !important;
    line-height: 1 !important;
    margin-bottom: 2px !important;
}

.jw-player-modal .modal-close i {
    width: auto !important;
}



@media only screen and (max-width: 740px) {
    .reveal-modal {
        /*top: 50% !important;*/
        /*left: 52% !important;*/
        width: calc(100% - 70px) !important;
        /*margin-left: -50% !important;*/
        /*margin-top: -200px !important;*/
    }

    .modals-group .reveal-modal {
        /*padding: 2% !important;*/
        /*margin: 0 1%;*/
    }
}


@media only screen and (max-width: 480px) {
    .reveal-modal {
        /*margin-top: -120px !important;*/
    }

    .modals-group .jwplayer {
        height: 240px !important;
    }
}

.snp-info {
margin-bottom: 20px;
font-size: 14px;
line-height: 1.5;
}

.metaslider .caption-wrap {
position: absolute;
bottom: 0;
left: 0;
background: white !important;
color: white;
opacity: 0.7;
margin: 0;
display: block;
width: 100%;
line-height: 1.4em;
}
.widget a {
color: black;
font-weight: bold;
}

.tribe-events-back {
  margin: 0 0 20px;
  display: none;
}

.single-tribe_events h2.tribe-events-single-event-title {
  font-size: 33px;
  margin-top: 20px;
}

.tribe-events-venue-map {
  float: right;
  margin: 20px 0 0;
  width: 100%;
}

.content-part .one-half {
  width: 46.1%;
}
.content-part .grid {
  margin-right: 6.5%;
}


@media only screen and (max-width: 480px) {
   .content-part .one-half {
  width: 98.1%;
}
.content-part .grid {
  margin-right: 1.5%;
}

}

.wpbfsb button.wpbfsb-more-button {
  display: none;
}