/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */

.single-tribe_events .secondary .tribe-events-venue-map {
    width: 100%;
}

div#header_main_alternate .container {
    padding: 0px;
}

@media screen and (min-width:990px) {
	.av_seperator_big_border .av-main-nav > li:nth-last-child(2) {
    	border-right: 1px solid #e1e1e1;
	}
}

.html_header_top.html_logo_center .logo {
    float: none;
    position: inherit;
	left: inherit;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

.logo, .logo a {
	height: auto;
}

.councillors-wrap .btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.councillors-wrap button.btn.btn-primary.ward-button {
    background: #2d5c88;
    border: 0px;
    color: #FFF;
    border-radius: 0px;
    text-transform: uppercase;
    margin: 4px;
	text-shadow: none;
    padding: 10px 20px;
    line-height: 1.6;
    box-shadow: none;
    font-size: 13px;
    font-weight: 700;
	transition: 0.3s all;
}

.councillors-wrap button.btn.btn-primary.ward-button:hover {
	cursor:pointer;
    background: #748ba0;
}

.template-page .entry-content-wrapper h1, 
.template-page .entry-content-wrapper h2,
.widgettitle {
	letter-spacing: 0px;
}

.sidebar_left.sidebar {
    text-align: left;
}

.html_header_top.html_logo_center .logo a img {
	width:500px;
	height:36px
}

.header-scrolled-full strong.logo.bg-logo {
    padding: 0px;
}

.home .pcwt_codeblock {
    border-top: 6px solid #2d5c88;
    border-bottom: 6px solid #2d5c88;
	margin-bottom:30px
}

.entry-content-wrapper a {
    font-weight: bold;
}

.facebook-link a {
    min-width: 30px !important;
    background: #3b5998 !important;
	color:#FFF !important;
}

.facebook-link a span {
    background: #3b5998 !important;
}

.template-event-page.content {
    padding-top: 50px;
}

/* Attachments 2016 */

span.attachment-list {
    display: block;
    margin-bottom: 10px;
}

span.attachment-icon img {
    width: 16px;
    margin-right: 8px;
}

.attachment-block {
    border-top: 1px solid #e1e1e1;
    padding-top: 25px;
    margin-top: 25px;
}

/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */
	.container.av-logo-container .inner-container {
	    display: flex;
	    justify-content: center;
	    align-items: center;
	}
}



/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */
	.container.av-logo-container .inner-container {
	    justify-content: left;
	}
}

@media only screen and (max-width: 989px) and (min-width: 768px) {
	.responsive.html_mobile_menu_tablet.html_header_top.html_header_sticky #top #wrap_all #main {
	    padding-top: 122px;
	}
}

@media only screen and (max-width: 1080px) and (min-width: 989px) {
	.av_seperator_big_border .av-main-nav > li > a {
	    min-width: auto;
	}
}

@media (max-width:590px) {
	.container.av-logo-container .inner-container {
	    justify-content: left;
		float: left;
	}
	.html_header_top.html_logo_center .logo a img {
		margin-top:0px;
	}
}

/* Event Calendar */

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
	padding-bottom: 0;
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

.tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__calendar-event {
    opacity: 1;
}

#tribe-events-pg-template {
    padding: 0;
    max-width: 100%;
}

.tribe-common *,
.tribe-common .tribe-common-h7,
.tribe-common .tribe-common-h8,
*[class^="tribe-events"]{
    font-family: 'Open Sans';
    letter-spacing: 0;
}

.tribe-js strong.main-title.entry-title a  {
    color: #FFF;
    text-align: center;
    font-weight: 600 !important;
    float: none;
    margin: 0 auto;
}

.tribe-events-event-meta {
    flex-grow: 1;
}

.tribe-events-cal-links .tribe-events-gcal, .tribe-events-cal-links .tribe-events-ical {
    border: 1px solid;
    margin: 0 10px 0 0;
    padding-right: 20px;
    padding-left: 20px;
    min-width: 160px;
    text-align: CENTER;
    border-radius: 50px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.tribe-js .tribe-events-cal-links {
    order: 2 !important;
}

.tribe-events-event-meta.primary, .tribe-events-event-meta.secondary {
    order: 1
}

#top #tribe-events-pg-template .tribe-events-notices {
    overflow: hidden;
    padding: 20px;
    display: block;
}

#top #tribe-events-pg-template .tribe-events-notices ul {
	padding: 0;
	margin: 0 !important
}

#top input#tribe-events-top-bar-date {
    color: #000 !important;
}

.tribe-events-cal-links a.tribe-events-button {
    background-color: #FFF !important;
    background-position: 12px center;
    color: #000 !important;
    padding-left: 44px;
}

/* End Calendar */
