/* 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 */

.home span.image-overlay.overlay-type-extern,
.home .pcwt_transform a:hover .image-overlay {
    display: none !important;
}

#top .av-main-nav ul {
    width: 275px;
}

.read-more-link a {
    border: 1px solid #cecfd0;
    padding: 10px 20px;
	transition: 0.3s all;
}

.read-more-link a:hover {
	color:#FFF;
	background:#3e4a52;
	border-color:#3e4a52;
}


.container .av-content-small.units {
    width: 70%;
}

.sidebar_left .content {
    padding-left: 26px;
}

.sidebar_left .inner_sidebar {
    margin-right: 24px;
}

.container .av-content-small.units,
#top #main .sidebar_left .sidebar {
	border-color:#FFF;
}

#top textarea {
    height: 100px;
}

#top #header {
    background: #FFF;
}

.boxed #wrap_all {
    box-shadow: 0 0 10px 0 rgb(136, 136, 136);
}

.html_av-overlay-side #top #wrap_all div .av-burger-overlay-scroll #av-burger-menu-ul a:hover {
    background-color: #fbfbfb !important;
}

.av_seperator_small_border .av-main-nav > li > a > .pcwt-menu-text {
    font-weight: 500;
}

.av-main-nav > li > a {
    padding: 0 18px;
}

.av_seperator_small_border .av-main-nav > li > a > .pcwt-menu-text {
    padding-left: 18px;
    margin-left: -18px;
}

#top .alternate_color h1.main-title.entry-title a,
#top .av_phone_active_right .phone-info span,
#top .av_phone_active_right .phone-info a {
    color: #FFF;
}

#top #av-burger-menu-ul {
    vertical-align: initial;
}


#top .pcwt-button.pcwt-color-dark {
	border: 1px solid #bbbbbb;
    border-radius: 0;
	margin-top: 14px;
}

.hr-short .hr-inner-style {
	display: none;
}

.hr-short {
	margin: 16px 0 30px
}

.av-icon-style-border a {
	transition: 0.3s all;
}

.av-icon-style-border a:hover {
    background: #55606E;
    color: #FFF !important;
}

.av_font_icon.av-icon-style-border .av-icon-char {
    border-color: #c05f5f;
}

.av-special-heading {
    margin-top: 20px;
}

/* Frankley Specifics */

#top .welcome-intro .av-flex-placeholder {
    display: table-cell;
    width: 4.5%;
}

.pcwt_textblock.welcome-header {
    background: #c05f5f;
    padding: 14px 20px 12px;
    margin-bottom: 20px;
	margin-right: -20px;
	margin-left: -20px;
}

.welcome-box .pcwt-image-container-inner, .welcome-box img.pcwt_image {
    width: 100%;
}

.welcome-box {
	background:#FFF;
	padding:0 20px;
    box-shadow: 0 0 10px 0 rgb(210, 210, 210);
}

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

#top #searchform .ajax_search_response {
    position: absolute;
    z-index: 100;
    background: #FFF;
    border: 1px solid #f0f0f0;
}

.html_header_top.html_bottom_nav_header #top #header_main .widget:nth-child(3) {
    padding-left: 40px;
}

#top .header_color .input-text,
#top .header_color input[type='text'],
#top .header_color input[type='input'],
#top .header_color input[type='password'],
#top .header_color input[type='email'],
#top .header_color input[type='number'],
#top .header_color input[type='url'],
#top .header_color input[type='tel'],
#top .header_color input[type='search'],
#top .header_color textarea,
#top .header_color select,
#top .widget_search form input[type="text"] {
    background: #f2f2f2;
}

#top #header_main .widget {
	clear: none;
}

#top #header_main .widget {
	padding: 0;
}

#top #header_main .widget.widget_media_image {
    float: left;
    width: 40%;
}

#top #header_main .widget.widget_search {
	padding-top: 26px;
    float: left;
    width: 20%;
    padding-left: 0;
}

#top .document-wid-row span {
    margin: 0px;
    padding: 0px;
    display: inline-block;
    width: 80%;
}

#top #header_main .widget.widget_custom_html {
    float: left;
    width: 20%;
    padding-left: 50px;
    height: 90px;
    display: flex;
    align-items: center;
}

#top #header_main .clearfix:before,
#top #header_main .clearfix:after,
#top #header_main .flex_column:before,
#top #header_main .flex_column:after,
#top #header_main .widget:before, .widget:after {
	content: none;
}

#top .av-main-nav ul a {
    border-right: 0;
    border-left: 0;
    border-bottom: 0;
    border-top: 1px solid #b74040;
}

.office-hours {
	background:url(../images/layout/open-times.svg) center left no-repeat transparent;
	padding-left: 75px;
	background-size: 56px 56px;
}
 
.office-hours p {
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
    padding: 0;
    line-height: 20px;
}

.office-hours span {
    display: block;
    line-height: 18px;
}

.office-hours .times {
}

.office-hours .address {
	font-size: 11.5px;
}

.contact-widget {
	background:url(../images/layout/contact.svg) center left no-repeat transparent;
	padding-left: 75px;
	background-size: 56px 56px;
}
 
.contact-widget p {
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
    padding: 0;
    line-height: 20px;
}

.contact-widget span {
    display: block;
    line-height: 18px;
}

.contact-widget .times {
}

.contact-widget .address {
	font-size: 11.5px;
}

@media screen and (min-width:990px) {
	.container.av-logo-container {
	    display: none;
	}
	.html_header_top.html_bottom_nav_header #header_main {
	    z-index: 3;
	    position: relative;
		padding: 0 20px
	}
	
	#header_main_alternate {
	    z-index: 2;
	    background: #FFF;
		margin-left: -20px;
		margin-right: -20px;
	}
	.container.av-logo-container span a {
	    display: flex;
	    align-items: center;
	    justify-content: center;
	}
	ul#pcwt-menu li:nth-last-of-type(-n+3) {
	    border-right: 1px solid #e1e1e1!important;
	}

	ul#pcwt-menu li ul li:nth-last-of-type(-n+3) {
	    border-right: 0 !important;
	}
	ul#pcwt-menu {
	    display: flex;
	    flex-direction: row;
	    margin: 0;
	    padding: 0;
	}
	ul#pcwt-menu li {
	    list-style: none;
	    flex-grow: 1;
	    text-align: center;
	}
	ul#pcwt-menu li a {
	    display: block;
	}
	span.pcwt-menu-text {
	    /* white-space: nowrap; */
	}
	#top #header .av-main-nav > li.current-menu-item > a span,
	#top #header .av-main-nav > li.current-menu-ancestor > a span,
	#top #header .av-main-nav > li.current-menu-parent > a span {
	    color: #FFF !important;
	}
	#top #header .av-main-nav > li.current-menu-item,
	#top #header .av-main-nav > li.current-menu-ancestor,
	#top #header .av-main-nav > li.current-menu-parent {
	    background: #c05f5f;
	}
}

li#menu-item-search {
    display: none;
}

@media screen and (max-width: 1384px) and (min-width: 1090px) {
	.responsive .boxed#top,
	.responsive.html_boxed.html_header_sticky #header, 
	.responsive.html_boxed.html_header_transparency #header {
	    width: 1260px;
	    max-width: 96%;
	}
	#top #header_main .widget.widget_custom_html {
	    padding-left: 30px;
	}
	#top #header_main .widget.widget_search {
	    width: 14%;
	}
	#top #header_main .widget.widget_custom_html {
	    width: 22%;
	}
}

@media screen and (max-width: 1089px) and (min-width: 989px) {
	#top #header_main .widget.widget_search {
	   display: none;
	}
	#top #header_main .widget.widget_custom_html {
	    width: 35%;
	}
	#top #header_main .widget.widget_media_image {
	    float: left;
	    width: 30%;
	    height: 108px;
	    display: flex;
	    align-items: center;
	}
	li#menu-item-search {
		display: block;
	}
	#top .av_seperator_big_border#header .av-main-nav > li > a {
	    padding: 0 10px;
	}
	div#header_main_alternate .container {
	    padding: 0;
	}
}

@media screen and (max-width: 989px) {
	div#header_main .widget {
	    display: none !important;
	}
	li#menu-item-search {
		display: block;
	}
	.welcome-box {
	    padding: 0 20px 16px;
		margin-bottom: 0;
		margin-top: 20px;
	}
	.responsive #top.home  .container .av-content-small {
		margin-bottom: 0
	}
	.home .content {
	    padding-top: 30px;
	    padding-bottom: 14px;
	}
}

/* Slideshow */

.flex_column .pcwt-slideshow {
    margin: 20px 0;
    box-shadow: 0 0 10px 0 rgb(210, 210, 210);
}

.pcwt-slideshow-dots {
    display: none;
}

.pcwt-caption {
    position: absolute;
    z-index: 10;
    bottom: 0;
    left: 0;
    padding: 0;
    color: #fff;
    border-radius: 3px;
    width: 100%;
}

h2.pcwt-caption-title {
    width: 100%;
    font-size: 14px;
}

/* Widgets */

#top .main_color aside {
	border-color: #f0f0f0;
}

h3.widgettitle {
    color: #FFF;
    background: #c05f5f;
    padding: 14px 20px;
	margin-bottom: 20px;
	margin-left: -20px;
	margin-right: -20px; 
}

.sidebar section.widget {
    box-shadow: 0 0 10px 0 rgba(210, 210, 210, 0.53);
    overflow: auto;
	padding: 0 20px 20px;
    margin-bottom: 40px;
    width: 98%;
}

.sidebar .widget li a:hover {
	text-decoration: underline;
}

.sidebar .widget li:before {
    content: "";
    border-color: transparent #f3b1b1;
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.65em;
    display: block;
    height: 0;
    width: 0;
    left: -1em;
    top: 11px;
    position: absolute;
}

#top .sidebar .widget ul {
    padding-left: 12px;
}

/* Attachments */

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

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

.councillor-data {
    display: block;
    clear: right;
    float: left;
}

.image-caption p {
    background: #F5F5F5;
    padding: 10px 4px;
    display: BLOCK;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

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

@media screen and (min-width: 990px) and (max-width: 1120px) {
	.container.av-logo-container {
		padding: 0 10px;
	}
	.av-main-nav > li > a {
	    padding: 0 16px;
	}
	.av_seperator_small_border .av-main-nav > li > a > .pcwt-menu-text {
	    padding-left: 16px;
	    margin-left: -16px;
	}
}


/* Abberley */

.sidebar section.widget {
    margin-left: 2% !important;
}

.simple-weather-table {
    padding: 0 20px;
}

.sidebar section.widget.simple-weather {
    padding: 0;
    margin: 0;
}

.simple-weather-widget .widget_title {
    margin: 0;
    width: 100%;
    color: #FFF;
    background: #c05f5f;
    padding: 14px 20px;
    text-align: left;
}


nav.widget.widget_nav_menu.widget_nav_hide_child {
    box-shadow: 0 0 10px 0 rgba(210, 210, 210, 0.53);
    overflow: hidden;
    padding: 11px 20px 0px;
    margin-bottom: 40px;
    width: 98%;
    margin-left: 2%;
}

li.page_item.current_page_item:before {
    left: 1em;
    top: 14px;
}

sidebar_left.sidebar_align_left .widget_nav_menu ul:first-child>.current-menu-item,
.sidebar_left.sidebar_align_left .widget_nav_menu ul:first-child>.current_page_item,
.sidebar_left.sidebar_align_left .widget_nav_menu ul:first-child>.current-menu-ancestor {
    padding-left: 30px;
    padding-right: 0;
    left: 0;
    right: auto;
    top: 1px;
    box-shadow: none !important;
    background: #f7f7f7;
}

#top .widget_nav_menu .nested_nav {
    padding-bottom: 10px;
}


/*
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 */

}



/*
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 */
	.responsive #top #wrap_all .container.av-logo-container {
		width: 92%;
		max-width: 92%
	}
	.responsive .logo img {
	    max-width: 88%;
	}
	.responsive #top .av_seperator_big_border .pcwt-menu.av_menu_icon_beside {
	    border-right-style: solid;
	    border-right-width: 0;
	    padding-right: 0;
	}
}

/* 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 */