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

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

/* General Custom CSS */

#top .pcwt-button-fullwidth {padding: 20px 12px;}

.html_av-overlay-side #top #wrap_all div .av-burger-overlay-scroll #av-burger-menu-ul a:hover,
.html_av-overlay-side #top .av-burger-overlay-scroll {
    background: #FFF;
}

.html_av-overlay-side.av-burger-overlay-active #top #wrap_all #header .menu-item-search-dropdown a,
.html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul a {
	color: #000
}

.html_av-overlay-side-classic #top .av-burger-overlay li li .pcwt-bullet, .html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner, .html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner::before, .html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner::after {
    background-color: #000;
}

/* Style Changes */


.container .av-content-small.units {
    background: #FFF;
}

.home h2.pcwt-caption-title {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.5px !important;
}

h2.pcwt-caption-title {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.5px !important;
}


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

.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;
}

.home .avia_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;
}

.pdfemb-poweredby {
    display: none !important;
}

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

.av-main-nav ul {
    width: 280px;
}

#top .av-main-nav ul ul {
    left: -279px;
}

.main_color .container main.template-page {
    padding-bottom: 20000px !important;
    margin-bottom: -20000px !important;
    overflow: hidden;
}

/* Attachments 2017 */

span.attachment-list {
    display: flex;
    clear: both;
    margin-bottom: 10px;
}

span.attachment-list a {
    margin-left: 10px;
    line-height: 24px;
}

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

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

span.attachment-icon  {
	height: 24px;
	width: 24px;
}

span.attachment-icon.pdf  {background:url(../images/pcw/pdf-icon-24x24.png) no-repeat;}
span.attachment-icon.doc  {background:url(../images/pcw/doc-icon-24x24.png) no-repeat;}
span.attachment-icon {background:url(../images/pcw/docx-icon-24x24.png) no-repeat;}
span.attachment-icon.xls  {background:url(../images/pcw/xls-icon-24x24.png) no-repeat;}
span.attachment-icon.xlsx  {background:url(../images/pcw/xlsx-icon-24x24.png) no-repeat;}


.widget sup,
.widget sub {
  vertical-align: baseline;
  position: relative;
  top: -0.4em;
}
.widget sub { 
  top: 0.4em; 
}


.agenda-minutes.document-wid-row.title {
    background: #002a5d;
    padding: 6px 10px;
    margin-bottom: 10px;
}

.agenda-minutes.document-wid-row.title strong {
	color: #FFF;
}

span.rpwwt-post-title {
    color: #38302e;
    font-weight: 600;
}

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


@media only screen and (min-width: 990px) and (max-width:1290px) {
	div .logo {width: 30%;}
	span.logo a {
	    align-items: center;
	    display: flex;
	}
}


@media only screen and (max-width: 990px) {
	.container.av-logo-container .inner-container {
	    justify-content: left;
	}
}

/*
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 (min-width: 768px) {
	nav.main_menu {
	  background: #7394b2;
	  background-image: -webkit-linear-gradient(top, #7394b2, #3d688d);
	  background-image: -moz-linear-gradient(top, #7394b2, #3d688d);
	  background-image: -ms-linear-gradient(top, #7394b2, #3d688d);
	  background-image: -o-linear-gradient(top, #7394b2, #3d688d);
	  background-image: linear-gradient(to bottom, #7394b2, #3d688d);
	}
	.main_color .container {
		padding: 0 50px 0 0;
	}
	.main_color .container main.template-page {
		padding-left: 50px;
	}
	.main_color.container_wrap_first.container_wrap.sidebar_right {
	    background: #CCC;
	}
}

@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;
	}
}

@media only screen and (max-width: 767px) {
	.responsive .logo img {
	    max-width: 90%;
	}
	.main_color.container_wrap_first.container_wrap.sidebar_right {
	    background: #FFF;
	}
}

@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;
	}
}

/* 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: 'nunito';
    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 */