/*
Theme Name: LancasterCVSThemeUpdated-2
Theme URI: https://lancastercvs.org.uk
Author: Cameron Fitzwilliam
Author URI: https://cameronfitzwilliam.com
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: lancastercvstheme
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

LancasterCVSTheme is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

#mCSB_1_container {
    height: 100% !important;
}


html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	font-family: sans-serif;
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	text-decoration: none;
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: 'Open Sans', sans-serif !important;
	font-size: 16px;
	font-size: 1.4rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	font-family: 'Open Sans', sans-serif;
	/*background: #fff;  Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: royalblue;
}



a:hover,
a:focus {
	color: midnightblue;
}


a:active {
	color: #333;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
	border-right: 0.5px solid rgba(204, 204, 204, 0.41);
}

.main-navigation a {
	font-weight: normal;
	font-size: 19px;
	color: #333;
	border-left: 0px solid #1a4a6b;
	text-shadow: 0 0px 0 #1a4a6b;
    padding: 9px 5px;
    letter-spacing: 1px;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {
    font-weight: normal;
    font-size: 16px;
    color: #333;
    border-left: 0px solid #1a4a6b;
    text-shadow: 0 0px 0 #1a4a6b;
    padding: 9px 0px;
    letter-spacing: 0px;
    text-align: left;
    background: #fff;
	clear: both;
	white-space: nowrap;
	background: #fff;
}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
	border-top: 5px solid #2d6c98;
	text-decoration: none;
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
	border-top: 0px solid #2d6c98;

}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
	border-top: 0px solid #2d6c98;
    background: #2d6c98;
    color: #fff;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
    white-space: nowrap;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
	border-top: 5px solid #2d6c98;
}


@media screen and (min-width: 800px) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

.no-padding {
	padding-left: 0px !important;
	padding-right: 0px !important;
}

.site {
	margin-top: 20px;
}

.nav-row-custom {
	margin-top: 20px;
}

.caption {
	text-align: right;
	font-size: 16px;
}





.social-media-title {
	text-align: center;
	color: #1d7fb8;
	margin-bottom: 30px;
}


.bottom-banner {
    position: relative;
    background: #ffffff;
    height: auto;
    width: 96%;
    overflow: hidden;
    padding: 2%;
}



.bottom-banner img {
    width: 18%;
    margin: 1%;
    float: left;
    height: auto;
}

#hamburger {
    position: fixed;
    display: none;
    height: 5rem;
    width: 7rem;
    background: #0a5783;
    transition: 0.3s;
}

#hamburger span {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 0;
  width: 3rem;
  border: 0.25rem solid white;
  border-radius: 3rem;
  margin: -0.25rem 0 0 -1.75rem;
  transition: 0.3s;
}

#hamburger.open span {
	height: 4rem;
	width: 4rem;
	margin: -1.875rem 0 0 -2.0rem;
	border-width: 0.375rem;
}

#hamburger span:before,
#hamburger span:after {
  content: '';
  position: absolute;
  left: 50%;
  width: 3.5rem;
  height: 0.5rem;
  background: white;
  border-radius: 3rem;
  margin: 0 0 0 -1.75rem;
  transition: 0.3s;
}

#hamburger.open span:before,
#hamburger.open span:after {
  top: 1.2275rem;
  width: 2rem;
  margin: 0 0 0 -1rem;
}

#hamburger span:before {
  top: -1.125rem;
} 

#hamburger.open span:before {
  transform: rotate(-135deg);
}

#hamburger span:after {
  top: 0.625rem;
}

#hamburger.open span:after {
  transform: rotate(135deg);
}

.social-media-icon a {
	color: #35a6ea;
	font-size: 30px;
}

#drop-down {
	display: none;
}

#menu {
    position: fixed;
    right: 2%;
    top: 14%;
    font-size: 2rem;
    cursor: pointer;
    background: #35a6ea;
    z-index: 99;
    padding: 1%;
    color: #f1f1f1;
}

#menu-screen {
    position: fixed;
    background: url(https://lancastercvs.org.uk/wp-content/uploads/2017/03/10842084_944859502200374_5136625716882072289_o.jpg) #fff no-repeat;
    background-size: 20%;
    background-position-x: 5%;
    background-position-y: 90%;
    z-index: 100;
    top: 0%;
    left: -100%;
    height: 100%;
    width: 100%;
    overflow: auto;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.menu-screen-container {
    height: 100%;
    width: 100%;
}
#close-menu {
    position: absolute;
    right: 0%;
    top: 5%;
    text-align: center;
}
.close-menu-text {
    cursor: pointer;
    font-size: 1.7rem;
    text-align: center;
    color: #333;	
    letter-spacing: 0px;
}
.close-menu-text:hover {
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
    letter-spacing: 2px;
}
.mobile-menu {
	display: none;
    font-size: 36px;
    color: #333;
    position: fixed;
    bottom: 0%;
    left: 0%;
    width: 100%;
    z-index: 400;
    background: rgba(255, 255, 255, 0);
    border-color: rgba(255, 255, 255, 0.02) #fff #fff;
}
#mobile-menu {
	display: none;
        
}
.navbar-brand {
	display: none;
}
.navbar {
	margin-bottom: 0px;
}


.navbar-default {
    background-color: rgba(248, 248, 248, 0);
    border-color: rgba(231, 231, 231, 0);
    min-height: 100%;
}

.dropdown-menu {
	width: 100%;
}



.navbar-nav > li {
    float: left;
    width: 33%;
}

@media (max-width: 769px) {  

	.navbar-nav > li {
	    float: left;
	    width: 100%;
	}

	#mobile-menu {
		display: block;
                position: fixed;
                bottom: 0%;
                right: 0%;
                z-index: 99999;
	}

	.navbar-nav {
	    float: left;
	    margin: 0;
	    display: block;
	}

	.image-header {
		height: 200px !important;
	}

	.navbar-nav {
	    margin: 0px 0px !important;
	}

	.navbar-default .navbar-collapse, .navbar-default .navbar-form {
position: fixed;
    border-color: #e7e7e7;
    height: 100vh !important;
    width: 105%;
    top: 0%;
    left: 0%;
    background: #fff;
    z-index: 9999999999999999;
	}

	.navbar-toggle {
	    padding: 9px 10px;
	    margin-top: 8px;
	    margin-right: 15px;
	    margin-bottom: 8px;
	    background-color: #1d7fb8;
	    background-image: none;
	    border: 0px solid transparent;
	    border-radius: 4px;
	    z-index: 191;
	}

	#menu {
		display: none;
	}

	.navbar-default .navbar-toggle .icon-bar {
	    background-color: #fff;
	}

	.navbar-nav > li > a {
	    padding-top: 10px;
	    padding-bottom: 10px;
	    line-height: 1.7 !important;
	}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #1d7fb8;
}

	#drop-down {
		display: block;
	}

	.menu-item-has-children a {
		float: left !important;
		width: 100% !important;
	}

	.main-navigation ul ul li {
		text-align: center;
	}

	.main-navigation ul {
		display: none;
	}
	#primary-menu {
		display: block;
	}
	.main-navigation ul ul {
		display: none;
	}

	.main-navigation ul ul {
		display: none;
	}

	.sub-menu {
		position: absolute;
		top: 100%;
		min-width: 12em;
		display: none;
	}

	.main-navigation ul ul {
	    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2);
	    float: right;
	    position: relative;
	    width: 100%;
	    top: 0em;
	    left: 0em;
	    z-index: 99999;
	}

	#hamburger {
		display: block;
	}

	.mobile-menu {
		display: block;
		font-size: 1rem;
		color: #333;
		position: fixed;
		bottom: 0%;
		left: 0%;
		width: 100%;
		z-index: 400;
		background: rgba(255, 255, 255, 0);
		border-color: rgba(255, 255, 255, 0.02) #fff #fff;
		overflow: auto;
		height: 100%;
	}

	.mobile-menu:focus,
	.mobile-menu:active {
		border-color: #fff #fff #fff;	
	}
	.mobile-navigation {
		position: fixed;
		width: 100%;
		height: 100vh;
		background: rgb(255, 255, 255);
		margin: auto;
		top: 0%;
		left: 0px;
		overflow: auto;
	}
	.main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul {
		left: 0%;
	}
	.main-navigation li {
	    float: left;
	    position: relative;
	    border-right: 0.5px solid rgba(204, 204, 204, 0.41);
	    width: 100%;
	}
	.main-navigation li:hover > a, .main-navigation li.focus > a {
		border-top: 0px solid #2d6c98;
		text-decoration: none;
	}
	.main-navigation ul ul a {
		width: 100%;
		float: left;
		position: relative;
	}
	.main-navigation ul ul {
		box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2);
		float: right;
		position: relative;
		width: 94%;
		top: 0em;
		left: 0em;
		z-index: 99999;
	}
	.main-navigation ul ul ul {
		left: 0em;
		top: 0;
		box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2);
	}

	.nav-row-custom {
		position: fixed;
		z-index: 1111;
		left: 0%;
	}
	.caption {
    	margin-top: 20px;
    	text-align: center;
    	font-size: 13px;
	}


}



/*
	CVS Tiles
*/

.flex-cvs-icons-row {
	 width: 100%;
    height: auto;
}
.cvs-icons {
	text-align: center;
    position: relative;
	width: 31%;
    margin: 1%;
    color: #fff;
    background: #34a5e7;
    float: left;
    background-size: 100%;
    background-position: center;
    position: relative !important;
    padding-bottom: 0%;
    z-index: 11;
    cursor: pointer;
    font-size: 25px;
    letter-spacing: 1px;
    overflow: hidden;
    padding: 5%;
}
.cvs-icons:hover {
	color: #dddddd;
	background: #1d7fb8;
}


.upcomingEvents {
	 background: url(https://lancastercvs.org.uk/wp-content/uploads/2017/07/11.jpg) no-repeat #34a5e7;
    background-size: cover;
    background-position: center center;
    float: left;
}
.howWeCanHelp {
	 background: url(https://lancastercvs.org.uk/wp-content/uploads/2017/07/How-we-can-help.png) no-repeat #34a5e7;
    background-size: cover;
    background-position: center center;
    float: left;
}

.nrth-lanc-con {
	 background: url(https://lancastercvs.org.uk/wp-content/uploads/2017/07/Funding.png) no-repeat #34a5e7;
    background-size: cover;
    background-position: center center;
    float: left;
}


.aboutUs {
	 background: url(https://lancastercvs.org.uk/wp-content/uploads/2017/07/About-us-new.jpg) no-repeat #34a5e7;
    background-size: cover;
    background-position: center center;
    float: left;
}



.bulletin {
	 background: url(https://lancastercvs.org.uk/wp-content/uploads/2017/07/newsletter.png) no-repeat #34a5e7;
    background-size: cover;
    background-position: center center;
    float: left;
}
.membership {
	 background: url(https://lancastercvs.org.uk/wp-content/uploads/2017/07/lacvsd.png) no-repeat #34a5e7;
    background-size: cover;
    background-position: center center;
    float: left;
}


.strategic-leadership {
	 background: url(https://lancastercvs.org.uk/wp-content/uploads/2017/07/Strategic-leadership-and-partnership.png) no-repeat #34a5e7;
    background-size: cover;
    background-position: center center;
    float: left;
}

.site-branding {
	margin-bottom: 50px;
}


.volunteering {
	 background: url(https://lancastercvs.org.uk/wp-content/uploads/2017/07/Volunteering.png) no-repeat #34a5e7;
    background-size: cover;
    background-position: center center;
    float: left;
}

.funding {
	 background: url(https://lancastercvs.org.uk/wp-content/uploads/2017/07/piggy-bank.jpg) no-repeat #34a5e7;
    background-size: cover;
    background-position: center center;
    float: left;
}
.contact-tile {
	 background: url(https://lancastercvs.org.uk/wp-content/uploads/2017/07/11.jpg) no-repeat #34a5e7;
    background-size: cover;
    background-position: center center;
    float: left;

}

.visualAudioButton {
	float: right;
	cursor: pointer;
}

.cvs-icons-title {
	background: rgba(29, 127, 184, 1);
	font-weight: bold;
	letter-spacing: 1.1px;
	font-size: 15px;
	line-height: 1.2;
	position: relative;
	top: 100px;
	display: block;
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
	-webkit-border-top-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-topright: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-top-right-radius: 10px;
	border-bottom-left-radius: 10px;
	padding: 6px;
}

.cvs-icons-description {
	position: relative;
	opacity: 0;
	right: -100%;
    font-size: 16px;
    line-height: 1.1;
	color: #333;
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
}

.indiv-sq {
	 position: relative;
    width: 100%;
    height: 100%;
}

.contact-tile {
	display: none;
} 

.bottom-banner img {
    width: 100%;
    margin: 0%;
    float: left;
    height: auto;
}

.bottom-banner-a  {
	transform: scale(1);
    width: 18%;
    margin: 1%;
    float: left;
    height: auto;
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
}

.bottom-banner-a:hover, .bottom-banner-a:active {
	transform: scale(1.1);
}

#s {
	color: #fff;
    width: 80%;
    padding: 20px;
    margin: 0;
    float: left;
    background: none;
    border: 0px solid #000;
    box-shadow: 0px 0px 0px #000;
    letter-spacing: 1.5px;
    font-size: 19px;
    background-color: #225f8b;
}
#searchsubmit {
	color: #fff;
    font-size: 15px;
    position: relative;
    height: 100%;
    width: 20%;
    background-color: #35a6ea;
    background-image: none;
    border: 0px solid #102d42;
    padding: 27px;
    padding-left: 10px;
    font-weight: 100;
    letter-spacing: 0px;
}
.side-bar-heading {
	text-align: center;
}

.navbar-nav > li {
    float: left;
    width: 33%;
    border-left: 2px solid #03A9F4;
    margin-top: 1%;
}
.navbar-default .navbar-nav > li > a {
    color: #333;
    font-size: 1.6rem;
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
    color: #f1f1f1;
    background-color: #2196F3;
}

.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
	color: #f1f1f1;
    text-decoration: none;
    background-color: #2196f3;
    font-size: 1.1em;
}


.keep-healthy-icon {
	margin-top: 20%;
}
.widget-google {
	margin-top: 20%;	
}


/*==========  Non-Mobile First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {

	.main-navigation a {
		font-weight: normal;
		font-size: 17px;
		color: #333;
		border-left: 0px solid #1a4a6b;
		text-shadow: 0 0px 0 #1a4a6b;
		padding: 9px 3px;
		letter-spacing: 0px;
	}
	.caption {
		text-align: right;
		font-size: 15px;
	}
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {

	.main-navigation a {
	    font-weight: normal;
	    font-size: 13px;
	    color: #333;
	    border-left: 0px solid #1a4a6b;
	    text-shadow: 0 0px 0 #1a4a6b;
	    padding: 7px 2px;
	    letter-spacing: 0px;
	}

}

/* Small Devices, Tablets */
@media only screen and (max-width : 769px) {

	.main-navigation a {
		font-weight: normal;
	    font-size: 17px;
	    color: #333;
	    border-left: 0px solid #1a4a6b;
	    text-shadow: 0 0px 0 #1a4a6b;
	    padding: 7px 2px;
	    letter-spacing: 0px;
	    float: left;
	    width: 100%;
	}


	.cvs-icons {
		text-align: center;
		position: relative;
		width: 48%;
		margin: 1%;
		color: #fff;
		float: left;
		position: relative !important;
		padding-bottom: 0%;
		z-index: 11;
		cursor: pointer;
		font-size: 25px;
		letter-spacing: 1px;
		overflow: hidden;
		padding: 5%;
	    margin-bottom: 3%;
	}
	.bottom-banner img {
	    width: 31%;
	    margin: 1%;
	    float: left;
	    height: auto;
	}
	.contact-tile {
		display: block;
	} 
	.main-navigation li {
		float: left;
		position: relative;
		border-right: 0px solid rgba(204, 204, 204, 0.41);
		width: 100%;
		margin-left: 0px;
	}
	.main-navigation .current_page_item > a, .main-navigation .current-menu-item > a, .main-navigation .current_page_ancestor > a, .main-navigation .current-menu-ancestor > a {
		border-top: 0px solid;
		border-left: 0px solid #2d6c98;
		padding-left: 0px;
		background: #2d6c98;
		color: #fff;
	}

	.main-navigation ul ul {
	    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2);
	    float: right;
	    position: relative;
	    width: 100%;
	    top: 0em;
	    left: 0em;
	    z-index: 99999;
	    text-align: center;
	}
	.menu-lancastermainmenu-container {
	    overflow: hidden;
	}
	.main-navigation ul {
		text-align: center;
	}
	.site-branding {
	    margin-bottom: 0px;
	}

	a.mobile-drop-down {
		position: relative;
		width: 20%;
		display: block;
		float: right;
		height: 100%;
		text-align: center;
		padding: 7px 2px;
		display: block;
	}

	i.drop-down {
		position: absolute;
	    width: 15%;
	    right: 0%;
	    padding: 0;
		display: none;
	}
}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {

	.navbar-nav > li {
	    float: left;
	    width: 100%;
	    border-left: 2px solid #03A9F4;
	    margin-top: 1%;
	}

	.cvs-icons {
	    text-align: center;
	    position: relative;
	    width: 98%;
	    margin: 1%;
	    color: #fff;
	    float: left;
	    position: relative !important;
	    padding-bottom: 5%;
	    z-index: 11;
	    cursor: pointer;
	    font-size: 25px;
	    letter-spacing: 1px;
	    overflow: hidden;
	    padding: 5%;
	}
	.contact-tile {
		display: block;
	}
	.bottom-banner img {
		width: 48%;
		margin: 1%;
		float: left;
		height: auto;
	} 
	.caption {
		text-align: right;
		font-size: 13px;
	}
}

/* Custom, iPhone Retina */ 
@media only screen and (max-width : 320px) {

	.cvs-icons {
		text-align: center;
		position: relative;
		width: 98%;
		margin: 1%;
		color: #fff;
		float: left;
		position: relative !important;
		padding-bottom: 0% !important;
		z-index: 11;
		cursor: pointer;
		font-size: 25px;
		letter-spacing: 1px;
		overflow: hidden;
		padding: 5%;
	}
	.caption {
		text-align: center;
		font-size: 12px;
	}

	.contact-tile {
		display: block;
	} 
}
