/* /*
Theme Name: On Tap Theme Options
Template: enfold
Author: James Currie / wunderdojo
*/


/** header styles */
#header{
    padding-top: 8px;
    padding-left: 30px;
    padding-right: 30px;
}

/** news ticker at top of site -- unused as of Sept. 14, 2016 but left here in case they opt to re-enable
#mtphr-dnt-3106{
    background-color: black;
    position:fixed;
    top: 0px;
    left: 0px;
    z-index: 9999;
    width: 100%;
}

/** if admin bar is showing then push it down
body.admin-bar #mtphr-dnt-3106{
    top: 30px;
}

#mtphr-dnt-3106 a{
    color: white;
    font-size: 14px;
}

#mtphr-dnt-3106 .mtphr-dnt-tick:after {
  content: '|';
  position: absolute;
  right: -30px;
  top: 14px;
  color: #ffffff;
}

/** adjust the page content to account for the ticker
#header{
    padding-top:30px;
}
*/

/** primary nav menu
#avia-menu.av-main-nav{
    margin-top:18px!important;
} */

.avia-menu-text{
    font-weight:500;
}

/** Change the point at which the mobile nav menu kicks in to prevent overlap with the logo */
@media only screen and (max-width: 1060px) {
    .main_menu, #header_main_alternate{
        display:none;
    }
    .container #advanced_menu_toggle, #advanced_menu_hide{
        display:block;
    }
    #mobile-advanced{
        display:block;
    }
}

/** Adjust Avia page layout 1/3 column when displaying ads */
div .av_one_third.ad-rail{
	margin-left: 4.405498233%;
	width: 30.9278351%;
}


/** make social buttons in the header bigger */
ul.social_bookmarks, .phone-info{
	font-size:24px;
}

ul.social_bookmarks > li{
    margin-left: 10px;
}

/** center main banner ad at top of pages */
#main-banner{
    text-align: center;
}

/** remove padding from top of homepage content block */
.home #after_section_1 .content{
    padding-top: 0px;
}

/** fix transition in homepage slider */
.main_color .avia-content-slider .slide-image{
    background-color: white!important;
}

/** fix issue with image loading partially and then filling in */
.slide-entry-wrap{
    -webkit-backface-visibility: hidden!important;
    -webkit-transform: translateZ(0) scale(1.0, 1.0)!important;
}

/* make the homepage featured slider arrows stay in a fixed position vertically */
#top.home .avia-content-slider .avia-slideshow-arrows a{
    top: 220px;
}

/** give it a fixed height so the page doesn't shift up/down based on excerpt length
 *  at screensizes above the breakpoint for single column display */
@media only screen and (min-width: 768px) {
    .homepage-slider-block{
        height: 580px;
        margin-bottom: 22px;
    }
}

.home .avia-content-slider1 .slide-entry-title{
    font-size: 1.7em;
}

.home div.read-more-link{
    position:relative;
    float:right;
    margin-top:8px;
}

body .column-top-margin{
    margin-top:20px;
}


/** homepage section heading line after title */
.main_color .special-heading-inner-border{
    border-color:#B90303;
}
.special-heading-inner-border{
    opacity: 1;
}

/** Homepage featured events & articles title style */
.home h3.av-masonry-entry-title{
    font-size: 16px;
}

/** Homepage featured articles byline */
.av-masonry-author{
    display: block;
    margin-top: 5px;
}

/** Homepage featured events */
.av-masonry-event-start-date, .av-masonry-event-venue, .home .av-masonry-author{
    font-family: 'Raleway', Helvetica, Arial, sans-serif;
    font-size: .9em;
    line-height: 1.5em;
}

/** For homepage featured articles & events and issue archives make more of the image show */
.av-fixed-size .av-masonry-entry .av-inner-masonry-sizer{
    padding-bottom: 120%;
}

/** fix banner ad iframe alignment*/
.wp-dfp-ad-slot{
    text-align:center;
}

.wp-dfp-ad-slot iframe img{
    max-width: 100%;
}

.content{
    padding: 10px 0 25px!important;
}

/* hide ad slots that aren't currently filled */
aside .widget_black_studio_tinymce br, aside .widget_black_studio_tinymce p{
  display:none;
}

aside .widget_black_studio_tinymce iframe{
  margin-bottom:10px;
}

/** Single article styles */

/** */
.template-single-blog{
    padding-top: 25px;
}

/** author box */
.spab-author-box{
    margin: 0px;
}

.avatar{
    margin-left: 0px !important;
}

.spab-author-box .spab-author-info{
    padding-left: 0px;
}

.spab-author-box .spab-avatar{
    position: static;
}

.spab-author-info img{
    display: block;
    float: left;
    margin-right: 20px;
    border-radius: 8px;
}

/** hide the author box on contest posts */
article.category-win .spab-author-box{
    display: none;
}

/** photo credit */
.photo-credit{
    font-size:10px;
    text-align:right;
}

/** spacing after image */
.big-preview.single-big{
    margin-bottom:20px;
}

/** block quotes */
blockquote{
    margin:50px 20px;
}

/** images */
img.attachment-entry_with_sidebar{
    border-radius:0;
}

/** headline */
article.post-entry-type-standard h1.post-title{
    font-size: 40px;
    font-family: 'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: normal;
}

/** paragraph spacing */
article.post-entry p{
    margin-bottom:25px;
}

/** right rail ad blocks */
.ad-block .wp-dfp-ad-unit.display-block{
    padding-bottom: 20px;
}

/** make sure the map clears any event meta */
.ai1ec-map{
  clear:both;
}

/** right rail ads on single events */
aside.ad-block{
    padding-top: 10px;
}

.widget{
    padding: 0px;
}

.sidebar{
    padding-top: 10px;
}

/** remove the left margin on the right rail on single events */
aside.ad-block .inner_sidebar{
    margin-left: 0px;

}

/** add support for jQuery infinite scroll */
nav.pagination{
    display:none;
}

/** modify Gravity Forms styles */

/* make text area inputs resizable */
.gform_wrapper textarea{
    resize: both!important;
}

/** Custom event styles -- placed here since their override.css doesn't seem to work */
div.ai1ec-single-event{
   /* border: 1px solid #e2e2e2; */
}

.ai1ec-single-event .ai1ec-gmap-container, .ai1ec-multi-event .ai1ec-gmap-container{
    border-radius: 0;
}

/** hide the fotomoto links everywhere, then show only in foobox galleries */
.FotomotoToolbarClass{
    display: none!important;
}

.single-foogallery .FotomotoToolbarClass{
    display: block!important;
}

.single-foogallery .FotomotoToolbarClass a{
    color: white;
}
