/*
Theme Name: It's IP
Theme URI: https://www.beamtwenty3.co.uk
Description: Wordpress Theme By Neil Brown for It's IP
Version: 1.0
Author: Neil Brown
Author URI: https://www.beamtwenty3.co.uk
Text Domain: its-ip
*/

/* #Reset & Basics */

	html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
		margin: 0;
		padding: 0;
		border: 0;
		font-size: 100%;
		font: inherit;
		vertical-align: baseline; }
	article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
		display: block; }
	body {
		line-height: 1; }
	ol, ul {
		list-style: none; }
	blockquote, q {
		quotes: none; }
	blockquote:before, blockquote:after,
	q:before, q:after {
		content: '';
		content: none; }
	table {
		border-collapse: collapse;
		border-spacing: 0; }


/* #Basic Styles */

body {
	background: #ffffff;
	font: 14px 'Figtree', sans-serif;
	color: #777777;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}

main {
	width: 100%;
}
 
/* #Typography */

h1, h2, h3, h4, h5, h6 {
	color: #262626;
	font-weight: 800;
}


h1 { 
	font-size: 44px;
	line-height: 53px;
	margin: 40px 0px 35px 0px;
	padding: 0px;
}


h2 {
	font-size: 36px;
	line-height: 44px;
	margin: 40px 0px 20px 0px;
	padding: 0px;
}

h3 {
	font-size: 30px;
	line-height: 44px;
	margin: 40px 0px 20px 0px;
	padding: 0px;
}

h4 { font-size: 21px; line-height: 30px; margin-bottom: 4px; }
h5 { font-size: 17px; line-height: 24px; }
h6 { font-size: 14px; line-height: 21px; }


p {
    margin: 0 0 20px 0;
    color: #4e4e4e;
    font-size: 18px;
    line-height: 32px;
    font-weight: 400;
}

address {
	margin: 0;
	color: #4e4e4e;
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	text-align: left;
}


em { 
	font-style: italic;
}

strong { 
	font-weight: 700;
}

small { 
	font-size: 80%;
}

/*	Blockquotes  */

blockquote, blockquote p { font-size: 17px; line-height: 30px; color: #5f5f5f; font-style: italic; }
blockquote { margin: 20px 0 20px 0; padding: 9px 20px 0 19px; border-left: 1px solid #efa00a; }
blockquote cite { display: block; font-size: 12px; color: #555; }
blockquote cite:before { content: "\2014 \0020"; }
blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }

hr { 
	border: solid #e8e8e8;
	border-width: 2px 0 0;
	margin: 40px 0 20px 0;
	height: 0;
	width: 100%;
	float: left;
}


/* #Links */

a, a:visited { 
	color: #efa00a;
	text-decoration: none;
	outline: 0;
	-webkit-transition: all .1s linear;
	-moz-transition: all .1s linear;
	-o-transition: all .1s linear;
	-ms-transition: all .1s linear;
	transition: all .1s linear;
}

a:hover, a:focus { 
	color: #efa00a;
	text-decoration: underline;
}

/* #Lists */

ul, ol { margin-bottom: 20px; }
ul { list-style: none outside; }
ol { list-style: decimal; }

li { 
	line-height: 18px;
}

.main-page ul {
	margin: 20px 0px 40px 0px;
}

li  {
	margin: 0 0 5px 0;
	color: #4e4e4e;
	font-size: 18px;
	line-height: 25px;
	font-weight: normal;
	list-style: none;
	list-style-position: inside;
	text-indent: 5px;
	padding-left: 5px;
}

.main-page ul li::before {
	content: "\2022";
	color: #efa00a;
	font-size: 22px;
	font-weight: bold;
	display: inline-block;
	width: 23px;
	margin-left: 0;
	margin-top: 10px;
}

ul.dates-ul {
	width: 100%;
	float: left;
}

ul.dates-ul li {
	float: left;
	width: 25%;
}

/* #Images */

img  {
	max-width: 100%;
	height: auto;
	display: inline-block;
}



/* Video */

.video-wrapper {
	position: relative;
	padding-bottom: 50%;
	padding-top: 25px;
	height: 0;
	z-index: 1;
	margin: 10px 0 0 0;
}

.video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Buttons */

a.button, .button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 43px;
  padding: 0 30px;
  color: #fff;
  background: #559b8a;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 43px;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  box-sizing: border-box; 
  -webkit-transition: all .1s linear;
  -moz-transition: all .1s linear;
  -o-transition: all .1s linear;
  -ms-transition: all .1s linear;
  transition: all .1s linear;
}

.wrapper a.button {
	margin-bottom: 60px;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #fff;
  background: #3c7e6e;
  outline: 0;
  border: 0;
}

a.button:hover {
	text-decoration: none;
}


/* Forms */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #D1D1D1;
  box-shadow: none;
  box-sizing: border-box;
  width: 98%;
  }
  
input.wpcf7-mathcaptcha {
  width: 100px;	
}


/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="button"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

textarea {
  min-height: 120px;
  padding-top: 6px;
  padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #379cc0;
  outline: 0; }
  
label,
legend {
  display: block;
  margin: 10px 0 10px 0;
  font-weight: 600;
}
  
fieldset {
  padding: 0;
  border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal;
}

.gdpr_input {
	margin-top: 10px !important;
}

.google-map {
	position: relative;
	padding-bottom: 33.25%;
	padding-top: 25px;
	height: 0;
	z-index: 1;
	margin: 40px 0 0 0;
}

.google-map iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

  
/* Header */

.fixed-spacer {
	width: 100%;
	margin: 0 auto;
	padding-top: 160px;
}

.single .fixed-spacer {
	width: 100%;
	margin: 0 auto;
	padding-top: 200px;
}

.top-head {
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	width: 100%;
	padding: 20px 0 0 0;
	background: #559b8a;
}

img.logo {
	width: 120px;
	transition: 200ms linear;
}

.main-logo {
	position: absolute;
	top: 130px;
	left: 100px;
	z-index: 10;
}

.top-head.scrolled img.logo {
	width: 0px;
	transition: 200ms linear;
	margin-top: 20px;
}


/* Home Page */

.home-slides {
	width: 100%;
	margin: 0 auto;
	height: 800px;
	position: relative;
	z-index: 10;
	background-blend-mode: multiply;
	background-color: #bababa !important;
	border-bottom: 5px solid #559b8a;
}

.home-slides.single-banner {
	height: 350px;	
}

.home-slides .inner {
	width: 60%;
	padding: 100px 100px 0px 100px;
	text-align: left;
	position: absolute;
	bottom: 120px;
	left: 0;
}

.home-slides .inner h2, .home-slides .inner h1 {
	color: #fff;
	font-size: 50px;
	line-height: 60px;
	font-weight: 800;
	letter-spacing: 1px;
	margin: 0 0 10px 0;
	
}

p.slide-text {
	font-size: 26px;
	line-height: 40px;
	font-weight: 600;
	color: #fff;
}

span.fa-arrow-right {
	font-size: 12px;
	margin: 0 0 0 10px;
}

.left-block, .right-block {
	margin-top: 40px;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.home-text-right, .home-text-left {
	flex-grow: 1;
	width: 53%;
	margin: 10px 2% 40px 0;
}

.home-text-left {
	order: 1;
}

.home-image-right {
	order: 2;	
}

.home-text-right {
	order: 2;
}

.home-image-left {
	order: 1;
}

.left-block, .right-block {
	margin-bottom: 60px;
}

.home-text-right .inner, .home-text-left .inner {
	padding: 0 40px 20px 40px;
}

.home-image-left, .home-image-right {
	flex-grow: 1;
	width: 43%;
	margin: 30px 2% 40px 0;
}

.full-width-block .inner {
padding: 60px 0px 40px 0px;
}


/* News Posts */

.news-block h2 {
	text-align: center;
}

.news {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.news-feed {
	flex-grow: 1;
	width: 23%;
	margin: 10px 2% 40px 0;
	background: #e8e8e8;
	display: flex;
	flex-direction: column;
}

p.push-button {
	flex-grow: 1;
}

.news-feed.blank {
	background: none;
}

.news-feed h3{
	margin: 20px
}

.news-feed p {
	margin: 20px
}

.news-feed img {
	display: block;
}

.news-feed img {
	opacity:1;
	filter:alpha(opacity=100); /* For IE8 and earlier */
	-webkit-transition: all .2s linear;
	-moz-transition: all .2s linear;
	-o-transition: all .2s linear;
	-ms-transition: all .2s linear;
	transition: all .2s linear;
	-moz-transform: rotate(0);
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
	display: inline-block;
}

.news-feed img:hover {
	opacity:0.6;
	filter:alpha(opacity=60); /* For IE8 and earlier */
	-moz-transform: rotate(0);
}

.news-feed a.button {
	margin: 0 0 20px 20px;
	width: 200px;
}

p.news-intro {
	font-family: "Forum", serif;
	font-size: 46px;
	line-height: 52px;
	border-bottom: solid 1px #ddd;
	padding-bottom: 10px;
}

.container.news-page {
	margin-top: 60px;
}

.single-featured .inner {
	padding: 40px 0 0 0;
}

.single h1 {
	margin: 40px 0 0 0;
}

p.timestamp {
	margin: 0;
}

.single hr {
	margin: 5px 0 20px 0;
}

/* Pages */


/* Testimonials */

.testimonials {
	width: 100%;
	margin: 0 auto;
	background: #e8e8e8;
}

.testimonial .inner {
	padding: 60px 40px 80px 40px;
}

.quote-mark {
	width: 100%;
	text-align: center;
}

.quote-mark img {
	display: inline;
	width: 100px;
}

.the-quote {
	width: 80%;
	margin: 10px 20% 10px 10%;
	text-align: center;
}

.slick-dotted.slick-slider {
	margin-bottom: 0px !important;
}

.slick-dots {
	> li {
		display: inline-block;
	}
	> li:only-child {
		display: none;
	}
}

.slick-dots {
	left: 0px;
	bottom: 25px;
	text-align: center;
	width: 100%;
}

.slick-dots li button:before {
	color: #559b8a;
	opacity: .55;
	font-size: 18px;
}

.slick-dots li.slick-active button:before {
	color: #559b8a;
}

.slick-dots li button:hover:before, .slick-dots li button:focus {
	outline: none;
	color: #559b8a;
}

/* Sidebar */

.side-news h3 {
	font-size: 22px;
	line-height: 33px;
	margin: 20px 0 10px 0;
}

.side-news p {
	font-size: 16px;
	line-height: 24px;
}

/* Main Navigation */

#main-nav   {
	width: 100%;
	max-width: 100%;
	clear: both;
	margin: 0 auto;
	position: relative;
	z-index: 10;
}

#main-nav ul    {
	margin: 0;
	padding: 0;
	text-align: right;
}

#main-nav li    {
	display: inline-block;
	font-size: 18px;
	line-height: 30px;
	font-weight: 600;
	margin: 0;
	padding: 0;
	position: relative;
	text-indent: 0;
}

#main-nav li a  {
	display: block;
	line-height: 30px;
	padding: 0 10px 10px 10px;
	letter-spacing: 1px;
	text-decoration: none;
	-webkit-transition: all .1s linear;
	-moz-transition: all .1s linear;
	-o-transition: all .1s linear;
	-ms-transition: all .1s linear;
	transition: all .1s linear;
}

#main-nav a:link,
#main-nav a:visited {
	color: #ffffff;
}

#main-nav a:hover {
	color: #efa00a;
}

#main-nav ul li:hover > a {
	color: #efa00a;
}

/* Drop Down */

#main-nav ul ul {  
	position: absolute;
	top: 40px;
	background-color: #559b8a;
	text-align: left;
	visibility: hidden;
	opacity: 0;
	z-index: 10000;
}

#main-nav ul ul li {
	float: none;
	width: 300px;
	font-size: 16px;
	line-height: 30px;
	font-weight: 600;
}

#main-nav ul ul li a {
	padding: 7px 10px;
	color: #808080;
	line-height: 20px;
	padding: 10px;
}

#main-nav ul ul li a:hover {
	background-color: #408272;
	color: #ffffff;
}

#main-nav ul li:hover > ul {
	visibility: visible;
	opacity: 1;
	transition: visibility 0s, opacity 0.2s linear;
}

#main-nav ul ul li ul {
	left: 250px;
	top: 0;
}

/* Mobile Nav */

.mobile-nav {
	display: none;
}

.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  overflow-y: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay-content li {
	font-size: 18px;
	line-height: 25px;
	font-weight: normal;
	list-style: none;
	list-style-position: inside;
	text-indent: 0px;
	padding-left: 0px;
}

.overlay a, .overlay span {
  padding: 0 20px 20px 20px;
  text-decoration: none;
  font-size: 30px;
  color: #fff;
  display: block;
  transition: 0.3s;
  font-weight: 400;
}

.overlay a:hover, .overlay a:focus {
  color: #fff;
}

.overlay span:hover {
	cursor: pointer;
}

.overlay .closebtn {
	position: absolute;
	top: 20px;
	right: 22px;
	font-size: 60px;
	transition: 200ms linear;
}

@media screen and (max-height: 450px) {
  .overlay {overflow-y: auto;}
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}

.ham-menu {
	position: fixed;
	z-index: 10;
	top: 20px;
	right: 40px;
	color: #ffffff;
	transition: 200ms linear;
}

/* Footer */


footer {
	width: 100%;
	background: #559b8a;
	margin: 0px auto 0 auto;
	text-align: left;
	padding: 40px 0px 20px 0px;
	position: relative;
	z-index: 1000;
}

footer a:link, footer a:visited {
	color: #fff;
	font-weight: 400;
	font-size: 16px;
	line-height: 28px;
}

footer a:hover {
	text-decoration: underline;
}

footer p, footer li {
	font-size: 16px;
	line-height: 28px;
	color: #fff;
	font-weight: 400;
	margin: 0;
	padding: 0;
	text-indent: 0;
}

footer h2 {
	color: #fff;
	margin: 2px 0 10px 0;
}

footer p.sub-title {
	margin: 5px 0 0 0;
	font-size: 16px;
}

footer a.site-title, footer a.site-title:visited { 
	color: #ffffff;
	text-decoration: none;
	font-size: 28px;
	font-weight: 500;
	line-height: 36px;
}

footer a.site-title:hover, footer a.site-title:focus { 
	color: #ffffff;
	text-decoration: none;
}

p.strapline {
	width: 80%;
	font-size: 17px;
	margin: 0 0 10px; 0;
}

.footer-nav {
	padding: 0;
}

.footer-nav span {
	margin-right: 5px;
}

.social {
	background: #fff;
	width: 22px;
	height: 20px;
	border-radius: 50%;
	text-align: center;
	line-height: 20px;
	vertical-align: middle;
	padding: 8px;
	font-size: 20px;
	outline: 0;
	-webkit-transition: all .1s linear;
	-moz-transition: all .1s linear;
	-o-transition: all .1s linear;
	-ms-transition: all .1s linear;
	transition: all .1s linear;
	margin: 10px 0px 10px 4px;
	color: #232323;
}

.social:hover {
	background: #3c7e6e;
	color: #fff;
}

footer.copy {
	background: #3c7e6e;
	padding: 10px 0 10px 0;
}

footer.copy p {
	font-size: 14px;
	line-height: 23px;
	color: #fff;
	font-weight: 400;
	margin: 0;
}

footer.copy a {
	font-size: 14px;
	line-height: 23px;	
}

.container.dog-bg {
	position: relative;
}

img.doggy-bg {
	position: absolute;
	z-index: 10000;
	bottom: 0;
	right: 10px;
	width: 150px;
}

footer address {
	margin: 20px 0 0 0;
	color: #ffffff;
}

/* =WordPress Core  */

.alignnone {
    margin: 5px 20px 20px 0;
}

.news-content img {
	padding: 10px;
	background: #fff;
    -webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 12px 8px 10px 8px;
    text-align: center;
	-webkit-box-shadow: 0 10px 6px -6px #ececec;
	-moz-box-shadow: 0 10px 6px -6px #ececec;
	box-shadow: 0 10px 6px -6px #ececec;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 100%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 18px;
	line-height: 24px;
	margin: 0;
	font-weight: 600;
	padding: 6px 5px 3px 5px;
}
    margin: 0;
    padding: 6px 5px 3px 5px;
}

span.wpcf7-list-item {
	margin: 0;
}

div.wpcf7 {
	margin: 0px 0px 0px 0px !important;
	padding: 0;
}

div.wpcf7-mail-sent-ok {
	border: 0px solid #398f14 !important;
	color: #666 !important;
}

div.wpcf7-mail-sent-ng {
	border: 0px solid #ff0000 !important;
	color: #666 !important;
}

div.wpcf7-spam-blocked {
	border: 0px solid #ffa500 !important;
	color: #666 !important;
}

div.wpcf7-validation-errors {
	border: 0px solid #398f14 !important;
	color: #666 !important;
}

.wpcf7 {
	position: relative;
	z-index: 1;
}

@media print {

}

