/*
Threme Name: Caravan Double Glazing Wales
Threme URI: http://underscores.me/
Author: Modern Print & Design
Author URI: http://www.modernprint.co.uk
Description: GCS Limited 2015 Threme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gcs
Tags:

This threme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Caravan Double Glazing Wales is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elrements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
    ## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	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],
tremplate {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2rem;
	margin: 0.25rem 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.5rem;
}

sub {
	bottom: -0.25rem;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1rem;
	float: left;
	width: calc(25% - 2rem);
	display: block;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1rem;
}

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-appearance: textfield;
	box-sizing: content-box;
}

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.35rem 0.625rem 0.75rem;
}

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-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	display:block;
        color:#094891;
}

p {
	margin-bottom: 0.5rem;
}

dfn,
cite,
rem,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5rem;
}

address {
	margin: 0 0 1.5rem;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6rem;
	max-width: 100%;
	overflow: auto;
	padding: 1.6rem;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	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%;
}

/*--------------------------------------------------------------
# Elrements
--------------------------------------------------------------*/
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 {
	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.5rem;
}

ul,
ol {
	margin: 0;
}

ul {
	list-style: disc;
	margin: 0.75rem 0;
	padding-left: 0.75rem;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5rem;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5rem 1.5rem;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5rem;
	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;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6rem 1rem .4rem;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

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;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="remail"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

input[type="text"]:focus,
input[type="remail"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="remail"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a
{
    color:#094891;
}

a:hover, a:active
{
    color:#d21034;
}

a:visited {
	color: purple;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5rem;
	left: -999rem;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999rem;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a {
}

.main-navigation ul ul :hover > a {
}

.main-navigation ul ul a:hover {
}

.main-navigation ul li:hover > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
	background:url(img/navMenu_active.png);
}

/* Small menu. */
.menu-toggle {
	display: none;
}

@media screen and (max-width: 600px) {
	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}

	.main-navigation ul {
		display: none;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5rem;
	overflow: hidden;
	float: left;
	clear: both;
}

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

.screen-reader-text:hover,
.screen-reader-text:active,
.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. */
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5rem;
}

.alignright {
	display: inline;
	float: right;
	margin: 0.5rem auto;
	margin-left: 1.5rem;
	clear: both;
}

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

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

/* Make sure select elrements fit in widgets. */
.widget select {
	max-width: 100%;
}

/* Search widget. */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5rem;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5rem;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elrements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Threme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elrements 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 rembeds and iframes fit their containers. */
rembed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5rem;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
}

.wp-caption .wp-caption-text {
	margin: 0.8075rem 0;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5rem;
}

.gallery-irem {
	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;
}

/*--------------------------------------------------------------
## Core Styling
--------------------------------------------------------------*/

body {
	font-family: 'droid-sans', sans-serif;
	background-color:#e8edf3;
	background:url(img/bgGrad.png);
	background-repeat: repeat-x;
	background-attachment:fixed;
	margin: 0;
}

#page {
	margin: 0 auto;
	width: 100%;
	background:#FFF;	
	box-shadow: 0px 0px 42px -15px #000;
}

.site-branding {
	background:url(img/mainHeader.png);
	background-repeat:no-repeat;
	height: 254px;
	width: 100%;
	position:relative;
}

div#cta {
  position: absolute;
  bottom: 0;
  right: 0;
  font-family: 'bebas-neue';
  text-align: right;
  text-shadow: 0px 0px 10px #fff, 0px 0px 10px #fff, 0px 0px 10px #fff, 0px 0px 10px #fff, 0px 0px 10px #fff, 0px 0px 10px #fff, 0px 0px 10px #fff, 0px 0px 10px #fff, 0px 0px 10px #fff, 0px 0px 10px #fff;
  color: #094891;
  font-size: 30px;
  width: 50%;
  max-width:450px;
  height: 100%;
  padding:0.75rem;
}

p.one-stop {
  width: 450px;
  text-align: right;
  margin: 0;
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  line-height: 32px;
}

span.call-us {
  position: absolute;
  right: 0.75rem;
  top: 80px;
  font-size: 26px;
  color: #D21034;
}

span.tel-number {
  font-size: 72px;
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  line-height:1;
}

	  
div#cta > span.tel-number > a {
  text-decoration:none;
}

.main-navigation {
	background:url(img/navMenu_bg.png);
	background-repeat:repeat-x;
	margin: 0 auto;
	width: 100%;
	height: 3;
	overflow: hidden;
	background-color:#29609f;
	text-align:center;
	z-index:100;
}

.main-navigation ul {
	margin: 0 auto;
	width: 96%;
	list-style-type: none;
	text-align:center;
	padding-left: 2px;
	}

.main-navigation li {
	margin: 0 auto;
	width: auto;
	float: left;
	text-align:center;
}

.main-navigation ul a {
	background:url(img/navMenu_bg.png);
	background-repeat:repeat-x;
	padding: 0 0.75rem;
	display:block;
	line-height: 32px;
	text-decoration: none;
	font-family: "bebas-neue", "Impact", "Helvetica", sans-serif;
	font-size: 22px;
	color: #EEE;
}

.main-navigation ul a:hover {
background:url(img/navMenu_active.png);
color: #FFF;
}

#site-navigation > div {
	display: table;
    width: 100%;
}

ul#primary-menu {
    display: table-row;
    width: 100%;
}

ul#primary-menu > li {
    display: table-cell;
    position: relative;
    float: none;
}

#primary {
	padding: 1rem;
}

#stripes {
	background:url(img/stripes.png);
	background-repeat:repeat-x;
	height: 33px;
	width: 100%;
}

.site-info {
text-align:center;
}

#contactDetails {
    border: 5px solid #d21034;
    border-radius: 25px;
    padding: 0.75rem;
    margin: auto;
    text-align: right;
    float: right;
    letter-spacing: 2px;
	margin-bottom:1rem;
}

#leafletBox {
    border: 5px solid #094891;
    border-radius: 25px;
    text-align: center;
    letter-spacing: 2px;
    margin: 1rem 0;
    padding: 0.75rem;
}

.listBar{
	width:98%;
	margin: 0 auto;
	overflow:hidden;
}

.mainHead {
	color:#094891;
	font-weight:700;
}

.leftHeadB {
	color:#094891;
}

.leftHeadR {
	color:#d21034;
}

.rightHeadB {
	color:#094891;
	text-align:right;
}

.rightHeadR {
	color:#d21034;
	text-align:right;
}

.leftHeadB, .leftHeadR, .rightHeadB, .rightHeadR {
	display:inline;
}

.leftText {
	text-align:justify;
}

.rightText {
	text-align:justify;
}

.leftImg {
	display:inline;
	clear:right;
	float:left;
	margin-top: 10px;
	margin-right: 20px;
	margin-bottom: 10px;
}

.rightImg {
	display:inline;
	clear:left;
	float: right;
	margin-top: 10px;
	margin-left: 20px;
	margin-bottom: 10px;
}

label {
    display:block;
    margin-top:20px;
    letter-spacing:2px;
}

.formCol.col.s12.m8 {
    margin-bottom: 1.5rem;
}

form {
	margin: 0 auto 1.5rem auto;
	width:100%;
}

form span{
    color: #d21034;
}

input, textarea {
	width: 100%;
	height:32px;
	background:#efefef;
	border:1px solid #dedede;
	padding:10px;
	margin-top:5px;
	font-size:0.9rem;
	color:#3a3a3a;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}

textarea {
	height:213px;
	background:#efefef;
}

input:focus, textarea:focus {
    border:1px solid #97d6eb;
}

#gform_submit_button_1 {
  width: 40%;
  height: 40px;
  line-height: 40px;
  background: #094891;
  font-size: 30px;
  border: none;
  cursor: pointer;
  padding: 0;
  text-shadow: none;
  font-family: 'bebas-neue';
  letter-spacing: 2px;
  color:#FFF;
}

#gform_submit_button_1:hover {
    opacity:0.9;
}

h2.error
{
    display: inline;
	text-align:center;
	color:#d21034;
	font-size:28px;
	font-family: 'Droid Sans', sans-serif;
}

h2.thanks
{
	display: inline;
	text-align:center;
	color:#094891;
	font-size:28px;
	font-family: 'Droid Sans', sans-serif;
}

#galImages {
text-align:center;
}

#content {
position:relative;
}

div#slide-outer {
	position:relative;
}

#slideshow {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.slide {
	display:block;
	float:left;
	width:1280px;
	height: 500px;
	position:relative;
	overflow:hidden;
}

.slide > img {
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
	min-width: 100%;
	min-height: 100%;
}

div#next {
  right: 0;
  background-position: -40px 20px;
}

div#prev {
  left: 0;
  background-position: 0px 20px;
}

.slide-nav {
	width: 40px;
    height: 80px;
    background: url(img/nav-arrows.png);
    background-repeat: no-repeat;
    opacity: 0.5;
    background-color: #FFF;
    cursor: pointer;
    position: absolute;
    top: calc(50% - 40px);
    z-index: 99999;
  	transition: opacity .25s ease-in-out;
  	-moz-transition: opacity .25s ease-in-out;
  	-webkit-transition: opacity .25s ease-in-out;
}

.slide-nav:hover {
  opacity: 0.8;
}

#tinymce {
background:#FFF !important;
}

.entry-content .wp-post-image {
  float: right;
  margin-left: 1rem;
  margin-bottom: 1rem;
  border: 5px solid #094891;
  border-radius: 25px;
}

div.newsWrap.col.s12.m6.l4 {
    width: calc(33.33333% - 1.5rem);
    display: block;
    margin: 0 0.75rem 0.75rem 0.75rem;
    padding: 0;
    background: #FFF;
    border-radius: 1rem;
    color: #333;
    border: 5px solid #094891;
}

body.page-id-11 div#primary > div.newsWrap:nth-child(3n+2) {
    clear: both;
}

.newsWrap img {
  width: 100%;
}

.newsWrap p {
  padding: 0.5rem;
  padding-bottom: 2rem;
  margin-top: 0;
  min-height: 115px;
}

h2.news-title {
  margin: 0;
  padding: 0.25rem;
  color: #FFFFFF;
  background: #094891;
  border-radius: 10px 10px 0px 0px;
  font-size: 1.5rem;
}

.newsWrap span.entry-date {
  position: absolute;
  right: 0;
  background: #D21034;
  padding: 0.5rem;
  font-size: 0.8rem;
  color: #FFF;
  border-radius: 0px 0px 0px 20px;
}

.newsWrap a {
  text-decoration: none;
  color: #FFF !important;
  display: block;
}

.newsWrap .entry-summary {
  margin: 0;
  position:relative;
}

#galImages .galitem:nth-child(even) img.galThumb {
  border: 5px solid #D21034;
  border-radius: 25px;
}

img.galThumb {
  border: 5px solid #094891;
  border-radius: 25px;
}

span.readMore {
  position: absolute;
  bottom: 0;
  right: 10px;
  background: #D21034;
  padding: 0.25rem 1rem;
  border-radius: 25px;
}

div#mobile-toggle {
	display:none;
}

.map-outer {
	overflow:hidden;
	border-radius:0.75rem;
}

.acf-map {
    height: 240px;
	margin-bottom:1rem;
}

/*---------------------------------------------------------------*/
/* # Responsiveness & Mobile Optimisation ---------------------- */
/* --------------------------------------------------------------*/

/*--------------------------------------------------*/
/* Notebooks / Low Res Laptops -------------------- */
/*--------------------------------------------------*/
@media only screen 
  and (min-width: 1025px) 
  and (max-width: 1366px) { 

	  #page {
		  max-width:95%;
	  }


}


/*--------------------------------------------------*/
/* Tablets (Landscape) ---------------------------- */
/*--------------------------------------------------*/
/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) {



}

/*--------------------------------------------------*/
/* Tablets (portrait) ----------------------------- */
/*--------------------------------------------------*/
/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) {
	  
	  div.newsWrap.col.s12.m6.l4 {
    	width: calc(50% - 1.5rem);
	  }
	  
	  body.page-id-11 div#primary > div.newsWrap:nth-child(3n+2) {
    	clear: none;
	  }
	  
	  body.page-id-11 div#primary > div.newsWrap:nth-child(even) {
    	clear: both;
	  }
	  
	  h2.news-title {
		  font-size:1.2rem;
	  }


}

/*--------------------------------------------------*/
/* Smartphones (landscape) ------------------------ */
/*--------------------------------------------------*/
@media only screen 
  and (min-width : 414px) 
  and (max-width : 767px) 
  and (orientation: landscape) {
	  
	  html, body {
		  width:100vw;
		  overflow-x:hidden;
	  }
	  
	  div#mobile-toggle {
		  display: flex;
		  width: 65px;
		  position: absolute;
		  top: 0;
		  right: 0;
		  height: 98px;
		  text-align: center;
		  flex-direction: column;
		  justify-content: center;
		  background: url(img/navMenu_bg.png);
		  background-size:cover;
		  color:#FFF;
		  font-family: 'bebas-neue';
		  font-size:1.25rem;
		 }
	  
	  div#mobile-toggle.active {
		  background: url(img/navMenu_active.png);
		  background-size:cover;
	  }
	  
	  div#mobile-toggle > * {
		  display: block;
		 }
	  
	  div#mobile-toggle > i {
		  font-size:2.5rem;
		  line-height: 2rem;
		 }

	  .site-branding {
		  height: 100px;
		  position: static;
		  background-size: contain;
		  background-position: 0.375rem 100%;
		  border-bottom: 2px solid #d21034;
		 }
	  
	  .site-branding > a {
		  display:none !important;
	  }
	  
	  div#cta {
		  position:fixed;
		  height: auto;
		  width:100vw;
		  z-index:8009;
		  max-width: none;
		  right: 0;
		  bottom: 0;
		  left: auto;
		  top: auto;
		  overflow: hidden;
		  text-align: center;
		  background: #e8edf3;
		  padding: 0.25rem 0.75rem;
		  border-top: 3px solid #d21034;
		  text-shadow: none;
		  box-shadow: none;
		 }
	  
	  div#cta > br {
		  display:none;
	 }
	  
	  div#cta > * {
		  position:relative;
		  top: auto;
		  right: auto;
		  font-size: 1.75rem;
		  line-height: 1;
		  margin: 0 0.5rem;
		  display: inline-block;
		  vertical-align:middle;
		  text-shadow: none;
	  }
	  
	  div#cta > p.one-stop {
		  display:none;
	  }
	  
	  .main-navigation {
		  height:auto;
	  }
	  
	  ul#primary-menu {
		  display:none;
		  position:relative;
		  z-index:9999;
	  }
	  
	  ul#primary-menu li {
		  display:block;
		  width:100%;
	  }
	  
	  .main-navigation ul a {
		  padding:0.375rem 0.75rem;
		  background-size:contain;
		  background-repeat:repeat-x;
		  font-size:1.75rem;
	  }
	  
	  .main-navigation ul a:hover,
	  .main-navigation ul li.current_menu_item a,
	  .main-navigation ul li.current_page_item a {
		  background-size:contain;
		  background-repeat:repeat-x;
	  }
	  
	  div#slideshow, div.slide {
		  height: 240px;
	  }
	  
	  .slide > img {
    	position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		min-width: 100%;
		min-height: 100%;
	  }
	  
	  #primary {
    	padding: 0.375rem;
	  }
	  
	  ul {
			list-style: disc;
			margin: 0;
			padding-left: 0.375rem;
	  }
	  
	  figure {
		width: calc(50% - 2rem);
	  }
	  
	  div#leafletBox table tr td {
		  text-align:center;
	  }
	  
	  #post-5 > div > div > div.col.s12.m2 > img {
		    width:100%;
		    max-width:320px;
	  }
	  
	  div.newsWrap.col.s12.m6.l4 {
    		width: calc(50% - 1.5rem);
	  }
	  
	  body.page-id-11 div#primary > div.newsWrap:nth-child(3n+2) {
			clear: none;
		}	  
	  
	  	  body.page-id-11 div#primary > div.newsWrap:nth-child(even) {
			clear: both;
		}

		div#galImages a.galItem {
			display: block;
			float: left;
			width: calc(33.33333% - 1rem);
			margin: 0.5rem;
		}
	  
	  div#contactDetails, div.formCol.col.s12.m7.l8 {
		  width: 45%;
		  margin: 0 2.5%;
		 }


}

/*--------------------------------------------------*/
/* Smartphones (portrait) ------------------------- */
/*--------------------------------------------------*/
@media only screen 
  and (min-width : 1px) 
  and (max-width : 414px)
  and (orientation: portrait) {
	  
	  html, body {
		  width:100vw;
		  overflow-x:hidden;
	  }
	  
	  div#mobile-toggle {
		  display: flex;
		  width: 65px;
		  position: absolute;
		  top: 0;
		  right: 0;
		  height: 98px;
		  text-align: center;
		  flex-direction: column;
		  justify-content: center;
		  background: url(img/navMenu_bg.png);
		  background-size:cover;
		  color:#FFF;
		  font-family: 'bebas-neue';
		  font-size:1.25rem;
		 }
	  
	  div#mobile-toggle.active {
		  background: url(img/navMenu_active.png);
		  background-size:cover;
	  }
	  
	  div#mobile-toggle > * {
		  display: block;
		 }
	  
	  div#mobile-toggle > i {
		  font-size:2.5rem;
		  line-height: 2rem;
		 }

	  .site-branding {
		  height: 100px;
		  position: static;
		  background-size: contain;
		  background-position: 0.375rem 100%;
		  border-bottom: 2px solid #d21034;
		 }
	  
	  .site-branding > a {
		  display:none !important;
	  }
	  
	  div#cta {
		  position:fixed;
		  height: auto;
		  width:100vw;
		  z-index:8009;
		  max-width: none;
		  right: 0;
		  bottom: 0;
		  left: auto;
		  top: auto;
		  overflow: hidden;
		  text-align: center;
		  background: #e8edf3;
		  padding: 0.375rem 0.75rem;
		  border-top: 3px solid #d21034;
		  text-shadow: none;
		  box-shadow: none;
		 }
	  
	  div#cta > br {
		  display:none;
	 }
	  
	  div#cta > * {
		  position:relative;
		  top: auto;
		  right: auto;
		  font-size: 1.25rem;
		  line-height: 1;
		  margin: 0;
		  display: block;
		  text-shadow: none;
	  }
	  
	  div#cta > span.tel-number {
		  font-size:2.25rem;
	  }
	  
	  div#cta > p.one-stop {
		  display:none;
	  }
	  
	  .main-navigation {
		  height:auto;
	  }
	  
	  ul#primary-menu {
		  display:none;
	  }
	  
	  ul#primary-menu li {
		  display:block;
		  width:100%;
	  }
	  
	  .main-navigation ul a {
		  padding:0.375rem 0.75rem;
		  background-size:contain;
		  background-repeat:repeat-x;
		  font-size:1.75rem;
	  }
	  
	  .main-navigation ul a:hover,
	  .main-navigation ul li.current_menu_item a,
	  .main-navigation ul li.current_page_item a {
		  background-size:contain;
		  background-repeat:repeat-x;
	  }
	  
	  div#slideshow, div.slide {
		  height: 170px;
	  }
	  
	  .slide > img {
    	position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
		min-width: 100%;
		min-height: 100%;
	  }
	  
	  #primary {
    	padding: 0.375rem;
	  }
	  
	  body.home main#main > div.entry-content > table, body.home main#main > div.entry-content > table tr, body.home main#main > div.entry-content > table tr td {
		  display: block;
	  }
	  
	  ul {
			list-style: disc;
			margin: 0;
			padding-left: 0.375rem;
	  }
	  
	  figure {
		width: calc(50% - 2rem);
	  }
	  
	  body.page-id-5 .valign-wrapper, body.page-id-5 table, body.page-id-5 table tbody, body.page-id-5 table tr, body.page-id-5 table tr td {
			display: block;
			text-align: left;
			width:100%;
		}
	  
	  div#leafletBox table tr td {
		  text-align:center;
	  }
	  
	  #post-5 > div > div > div.col.s12.m2 > img {
		    width:100%;
		    max-width:320px;
	  }
	  
	  div.newsWrap.col.s12.m6.l4 {
    		width: calc(100% - 1.5rem);
	  }

		div#galImages a.galItem {
			display: block;
			float: left;
			width: calc(50% - 1rem);
			margin: 0.5rem;
		}
	  
	  div#contactDetails, div.formCol {
		  float:left;
		  width: 90%;
		  margin: 0 5%;
	  }
	 
}