/*
Theme Name: JandT
Theme URI: http://www.jandtdesigns.co.uk
Author: John Green
Author URI: http://www.jandtdesigns.co.uk
Description: Theme for jandtdesigns website based on the theme Sydney from aThemes
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jandtdesigns
Tags: two-columns, right-sidebar, custom-colors, custom-background, custom-header, custom-menu, featured-images, sticky-post, theme-options, threaded-comments, translation-ready

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


.fb-footer {
	display: flex;
	width: 50%;
	margin: 20px auto;	
}

.fb-wrapper {
	width: 25%;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	text-align: center;
}
.fb-like, .fb-share-button {
	min-height: 30px;
}

/*--------------------------------------------------------------
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. */
}
.byline,
.updated:not(.published) {
	display: none;
}
.single .entry-header,
.page .entry-header {
	margin: 20px 0 20px 0;
}
.entry-footer {
	clear: left;
	margin-top: 30px;
}
.page-header {
	margin: 0;
	border: 0;
}
.page-wrap .content-wrapper {
	padding-top: 0;
	padding-bottom: 0;
	background-color: #fff;
}
.page .page-wrap .content-wrapper,
.single .page-wrap .content-wrapper {
	padding: 0px;
}
.content-wrapper .row {
	margin: 0;
}
/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}
img {
	max-width: 100%;
	height: auto;
}
/*--------------------------------------------------------------
Repeatable Patterns
--------------------------------------------------------------*/
	*,
	*:before,
	*:after {
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
				box-sizing: border-box;
	}
	body {
		font: 14px/24px "Source Sans Pro", sans-serif;
		background: #fff;
		color: #767676;
	}
	:root {
  		font-size: calc(1vw + 1vh + .7vmin);
	}
	a {
		text-decoration: none;
		-webkit-transition: all 0.3s ease-in-out;
		   -moz-transition: all 0.3s ease-in-out;
			-ms-transition: all 0.3s ease-in-out;
			 -o-transition: all 0.3s ease-in-out;
				transition: all 0.3s ease-in-out;
	}
	a:hover,
	a:focus {
		color: #f00;
		text-decoration: none;
		outline: 0;
		-webkit-transition: all 0.3s ease-in-out;
		   -moz-transition: all 0.3s ease-in-out;
			-ms-transition: all 0.3s ease-in-out;
			 -o-transition: all 0.3s ease-in-out;
				transition: all 0.3s ease-in-out;
	}
	.widget .children {
		padding-left: 15px;
	}
	h1 { font: 52px/1.1 "Raleway", sans-serif;}
	h2 { font: 42px/1.1 "Raleway", sans-serif;}
	h3 { font: 32px/1.1 "Raleway", sans-serif;}
	h4 { font: 25px/1.1 "Raleway", sans-serif;}
	h5 { font: 20px/1.1 "Raleway", sans-serif;}
	h6 { font: 18px/1.1 "Raleway", sans-serif;}
	h1, h2, h3, h4, h5, h6 {
		color: #000;
		font-weight: 600;
		margin: 10px 0 24px;
	}
	.text-white { color: #fff !important; }
	.text-dark { color: #443f3f !important;}

/*--------------------------------------------------------------
Header
--------------------------------------------------------------*/
	.site-title {
		font-size: 56px;
		display: inline-block;
		line-height: 1.2;
		background-color: rgba(0, 0, 0, 0.6);
		padding-left: 5px;
		padding-right: 5px;
	}

	.site-header h2 {
		display: none;
	}

	.site-title a,
	.site-title a:hover {
		color: #fff;
	}

	.site-header {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 1000;
		background-color: transparent;
		padding: 20px 0;
		-webkit-transition: all 0.3s ease-out;
		   -moz-transition: all 0.3s ease-out;
		    -ms-transition: all 0.3s ease-out;
		     -o-transition: all 0.3s ease-out;
		        transition: all 0.3s ease-out;
	}
	.admin-bar .site-header,
	.admin-bar .site-header.float-header {
		top: 32px;
	}
	.header-image {
		display: block;
		position: relative;
	}
	.header-inner {
		display: block;
	}
	.site-title {
		margin: 0;
	}
	.site-description {
		font-size: 16px;
		margin: 15px 0 0;
		line-height: 1.6;
		color: #efefef;
	}
	.site-description:empty {
		margin: 0;
	}	
	.site-header.fixed {
		position: fixed;
	}

	.site-header .col-md-4,
	.site-header .col-md-8 {
		min-height: 0;
		width: 50%;
	}


	#mainnav {
		display: block;
		float: right;
		-webkit-transition: all 0.3s linear;
		   -moz-transition: all 0.3s linear;
		    -ms-transition: all 0.3s linear;
		     -o-transition: all 0.3s linear;
		        transition: all 0.3s linear;
	}
	#mainnav ul {
		list-style: none;
		margin: 0;
		padding: 0;
	}
	#mainnav li {
		float: left;
		padding: 0 14px;
	}
	#mainnav ul ul li {
		padding: 0;
	}
	#mainnav ul li a {
		position: relative;
		display: block;
		font-size: 14px;
		font-family: "Raleway", sans-serif;
		color: #fff;
		font-weight: 500;
		text-decoration: none;
		outline: none;
	}
	#mainnav ul li a:hover {
		color: #d65050;
	}
	#mainnav ul ul a {
		width: 180px;
		font-family: "Source Sans Pro", sans-serif !important;
	}
	#mainnav > ul > li:last-child {
		padding-right: 0;
	}
	#mainnav ul li {
		position: relative;
	}
	#mainnav ul li ul {
		width: 180px;
		position: absolute;
		top: 100%;
		left: initial;
		opacity: 0;
		visibility: hidden;
		-webkit-border-radius: 0 0 2px 2px;
		   -moz-border-radius: 0 0 2px 2px;
			 -o-border-radius: 0 0 2px 2px;
				border-radius: 0 0 2px 2px;
	    -webkit-transition: all 0.3s ease;
	       -moz-transition: all 0.3s ease;
	        -ms-transition: all 0.3s ease;
	         -o-transition: all 0.3s ease;
	            transition: all 0.3s ease;
	}
	#mainnav ul li ul ul {
		top: 0;
	}
	#mainnav ul li ul:after {
		content: "";
		position: absolute;
		left: 0;
		width: 100%;
		height: 1px;
	}
	#mainnav ul li ul ul:after {
		top: 0;
	}
	#mainnav ul li ul li ul {
		left: 100%;
	}
	#mainnav li:hover > ul {
	    opacity: 1;
	    padding-top: 10px;
	    visibility: visible;
	    left: auto;
	    display: block !important;
	    -webkit-transition: all 0.3s ease;
	       -moz-transition: all 0.3s ease;
	        -ms-transition: all 0.3s ease;
	         -o-transition: all 0.3s ease;
	            transition: all 0.3s ease;
	}
	#mainnav li:hover > ul ul {
		padding-top: 0;
		left: 100%;
	}
	#mainnav .sub-menu {
		z-index: 99999;
	}
	#mainnav .sub-menu li a {
		color: #fff;
		display: block;
		line-height: 30px;
		background: #1c1c1c;
		padding: 0 18px;
		border-top: 1px solid #252525;
	    -webkit-transition: all 0.3s ease;
	       -moz-transition: all 0.3s ease;
	        -ms-transition: all 0.3s ease;
	         -o-transition: all 0.3s ease;
	            transition: all 0.3s ease;
	}
	#mainnav .sub-menu li:hover > a {
		color: #fff;
	}
	#mainnav li:hover > .sub-menu > li > a {
		padding: 8px 18px;
	}
	/* Icons */
	#mainnav ul li::before {
		font-family: Fontawesome;
		color: #fff;
		float: left;
		margin: 5px 5px 0 0;
		font-size: 14px;
		line-height: 1;
		font-weight: 400;
	}
	#mainnav ul li a {
		float: left;
		padding-left: 5px;
		padding-right: 5px;
		background-color: rgba(0, 0, 0, 0.6);
	}
	.float-header #mainnav ul li a {
		background-color: transparent;
	}
	#mainnav .sub-menu li:before {
		content: '';
		margin: 0;
		transition: all 0.3s ease;
		-webkit-transition: all 0.3s ease;
	}

	.btn-menu {
		display: none
	}

	.choice {
			display: flex;
	}
	.choices {
			flex-grow: 1;
			font-size: 18px;
			text-align: center;
			border: 1px dotted black;
			background-color: #ddd;
			margin: 2%;
			padding: 3px;
	}
	.choices img {
		max-width: 50%;
		margin-bottom: 10px;
	}
	.frontpage-article {
		font-size: 22px;
		margin: 30px auto;
		width: 70%;
	}
	.frontpage-article  .entry-content{
		padding-top: 50px;
	}
	.entry-content ul{
		list-style: none;
		margin: 25px 40px 0;
	}
	.entry-content ul li {
		background: url('images/spanner.png') no-repeat 0 0;
		padding-left: 48px;
		min-height: 40px;
		line-height: 32px;
	}
	article.post .entry-content ul {
		list-style-type: disc;
		margin: 10px 0 0;
	}
	article.post .entry-content ul  li{
		background: none;
		padding-left: 0;
		line-height: inherit;
	}
	.overlay {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
		filter: alpha(opacity=70);
		opacity: 0.2;
	}

	.header-slider,
	.owl-wrapper {
		direction: ltr;
	}
	.header-slider,
	.owl-carousel {
	      -webkit-transform: translate3d(0,0,0);
	}

/*--------------------------------------------------------------
Hero section
--------------------------------------------------------------*/
	.header-slider {
		position: relative;
	    max-width: 100%;
	    min-height: 100vh;
	}
	.slide-text.slides {
	   padding-left: 0;
	}
	.slides-container .slide-item {
		position: absolute;
		top: 0;
		left: 0;
		z-index: 10;
		opacity: 0;
		transition: opacity 1s;
		height: 100vh;
	}
	.slides-container .current-slide {
		z-index: 20;
		opacity: 1;
	}
	.slide-item .text-slider {
		display: none;
	}
	.current-slide .text-slider {
		display: block;
	}
	.slide-item-image {
		height: 100%;
		display: flex;
	}
	.slide-item img {
		width: 100vw;
		margin: 0 auto;
		object-fit: cover;
	}
	.sliderFix {
		display: block !important;
	}
	.text-slider-section {
		position: absolute;
	    top: 50%;
	    left: 0;
	    right: 0;
	    text-align: center;
	    z-index: 2;
	    width: 100%;
		padding-top: 5px;
	    -webkit-transform: translateY(-50%);
	       -moz-transform: translateY(-50%);
	        -ms-transform: translateY(-50%);
	         -o-transform: translateY(-50%);
	            transform: translateY(-50%);
	}
	.text-slider .maintitle,
	.text-slider .subtitle {
		position: relative;
		display: inline-block;
		background-color: rgba(0,0,0,0.6);
		z-index: 10;
		color: #fff;
		margin: 0 0 10px 0;
		letter-spacing: 1px;
		text-shadow: -1px -1px #000, 1px -1px #000, 1px 1px #000,-1px 1px #000;
	}
	.text-slider .maintitle {
		position: relative;
		display: inline-block;
		font-size: 57px;
		line-height: 67px;
		font-weight: 700;
		padding: 20px 10px;
	}
	.text-slider .maintitle:after {
		content: "";
		position: absolute;
		left: 50%;
		bottom: 0;
		width: 40%;
		height: 1px;
		margin-left: -20%;
	}
	.text-slider .subtitle {
		font-size: 30px;
		line-height: 40px;
		padding: 20px 10px;
		font-weight: 300;
	}
	.slider-break {
		height: 0;
	}
.text-slider {
  position: relative;
}
/*@-webkit-keyframes fadeInRightBig {
  from {
    right: -99em;
  }
  to {
    right: 0;
  }
}*/

.text-slider h2, .text-slider .subtitle {
	position: relative;
	right: -99em;
	animation-name: fadeInRightBig;
	animation-duration: 4.5s;
	animation-timing-function: ease-in-out;
	animation-fill-mode: forwards;
	transform-origin: top left;
}

@keyframes fadeInRightBig {
  0% {
    right: -99em;
  	transform: rotate(0deg);
  }
  50% {
    right: 0;
  }
  75% {
  	transform: rotate(0deg);
  }
  82% {
  	transform: rotate(110deg);
  }
  88% {
  	transform: rotate(77deg);
  }
  93% {
  	transform: rotate(90deg);
  }
  100% {
  	transform: rotate(90deg) translateX(500px);
  	right:0;
  }
}

.slide-inner {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	text-align: center;
	z-index: 2;
	width: 100%;
	min-height: 260px;
	padding-top: 5px;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}
.header-slider {
	overflow: hidden;
}


/*--------------------------------------------------------------
Blog
--------------------------------------------------------------*/
	.content-area .post-wrap,
	.contact-form-wrap {
		padding-right: 20px;
	}
	.content-area .hentry {
		position: relative;
		padding-top: 50px;
		padding-bottom: 20px;
	}
	.content-area .hentry:first-child {
		padding-top: 0;
	}
	.content-area .hentry:after {
		content: "";
		position: absolute;
		left: 0;
		top: 0;
		width: 30px;
		height: 1px;
	}
	.content-area .hentry:first-child:after {
		height: 0;
	}
/*	.hentry .post-content {
		overflow: hidden;
	}*/
	.content-area .entry-thumb {
		text-align: center;
		margin-bottom: 30px;
	}
	.hentry .title-post {
		font-size: 30px;
		font-weight: 600;
		line-height: normal;
		padding-bottom: 10px;
		margin: 0;
	}
	.hentry .meta-post {
		margin-bottom: 20px;
	}
	.hentry .meta-post,
	.hentry .meta-post a {
		color: #5e5e5e;
		font-size: 13px;
	}
	.hentry .meta-post span {
		position: relative;
		padding-left: 20px;
		margin-right: 18px;
	}
	.hentry .meta-post .cat-links {
		display: inline-block;
	}
	.hentry .meta-post span:before {
		position: absolute;
		left: 0;
		top: 1px;
		font-family: "FontAwesome";
		line-height: normal;
	}
	.hentry .meta-post span.posted-on:before {
		content:"\f073";
	}

	.contact {
		position: fixed;
		bottom: 0px;
		right: 0px;
		background-color: black;
		color: white;
		font-size: 1.5em;
		font-weight: bold;
		padding: 10px;
	}
	.contact a {
		color: white;
	}
	.contact span {
		display: inline-block;
	}
	.contact .phone {
		padding-right: 10px;
	}


	.preloader {
	    background: none repeat scroll 0 0 #fff;
	    height: 100%;
	    opacity: 1;
	    position: fixed;
	    text-align: center;
	    transition: all 0.2s ease 0s;
	    width: 100%;
	    z-index: 9999;
	}
	.preloader .spinner {
	    height: 30px;
	    left: 50%;
	    margin-left: -15px;
	    margin-top: -15px;
	    position: relative;
	    top: 50%;
	    width: 30px;
	}
	.preloader .pre-bounce1,
	.preloader .pre-bounce2 {
	    -webkit-animation: 2s ease 0s normal none infinite bounce;
	            animation: 2s ease 0s normal none infinite bounce;
	    background-color: #de4939;
	    border-radius: 50%;
	    height: 100%;
	    left: 0;
	    opacity: 0.6;
	    position: absolute;
	    top: 0;
	    width: 100%;
	}
	.preloader .pre-bounce2 {
	    -webkit-animation-delay: -0.5s;
	            animation-delay: -0.5s;
	}
	@-webkit-keyframes bounce {
	  0%, 20%, 50%, 80%, 100% {
	    -webkit-transform: translateY(0);
	    transform: translateY(0);
	  }

	  40% {
	    -webkit-transform: translateY(-30px);
	    transform: translateY(-30px);
	  }

	  60% {
	    -webkit-transform: translateY(-15px);
	    transform: translateY(-15px);
	  }
	}

	@keyframes bounce {
	  0%, 20%, 50%, 80%, 100% {
	    -webkit-transform: translateY(0);
	    -ms-transform: translateY(0);
	    transform: translateY(0);
	  }

	  40% {
	    -webkit-transform: translateY(-30px);
	    -ms-transform: translateY(-30px);
	    transform: translateY(-30px);
	  }

	  60% {
	    -webkit-transform: translateY(-15px);
	    -ms-transform: translateY(-15px);
	    transform: translateY(-15px);
	  }
	}
/*--------------------------------------------------------------
Go to top button
--------------------------------------------------------------*/
	.go-top {
		position: fixed !important;
		right: 10px;
		bottom: -45px;
		color: #fff;
		display: block;
		font-size: 22px;
		line-height: 35px;
		text-align: center;
		width: 40px;
		height: 40px;
		visibility: hidden;
		-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
		filter: alpha(opacity=0);
		opacity: 0;
		z-index: 9999;
		cursor: pointer;
		-webkit-border-radius: 2px;
		   -moz-border-radius: 2px;
			 -o-border-radius: 2px;
				border-radius: 2px;
		-webkit-transition: all 0.5s;
		   -moz-transition: all 0.5s;
		    -ms-transition: all 0.5s;
		     -o-transition: all 0.5s;
		        transition: all 0.5s;
	}
	.go-top:hover {
		background-color: #f1ab06;
	}
	.go-top.show {
		-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
		filter: alpha(opacity=100);
		opacity: 1;
		visibility: visible;
		bottom : 50px;
	}
	.go-top i::before {
		content: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgaWQ9InN2ZzgiCiAgIHZlcnNpb249IjEuMSIKICAgdmlld0JveD0iMCAwIDUuMjkxNjY2NSA1LjI5MTY2NjgiCiAgIGhlaWdodD0iMjAiCiAgIHdpZHRoPSIyMCI+CiAgPGRlZnMKICAgICBpZD0iZGVmczIiIC8+CiAgPG1ldGFkYXRhCiAgICAgaWQ9Im1ldGFkYXRhNSI+CiAgICA8cmRmOlJERj4KICAgICAgPGNjOldvcmsKICAgICAgICAgcmRmOmFib3V0PSIiPgogICAgICAgIDxkYzpmb3JtYXQ+aW1hZ2Uvc3ZnK3htbDwvZGM6Zm9ybWF0PgogICAgICAgIDxkYzp0eXBlCiAgICAgICAgICAgcmRmOnJlc291cmNlPSJodHRwOi8vcHVybC5vcmcvZGMvZGNtaXR5cGUvU3RpbGxJbWFnZSIgLz4KICAgICAgICA8ZGM6dGl0bGU+PC9kYzp0aXRsZT4KICAgICAgPC9jYzpXb3JrPgogICAgPC9yZGY6UkRGPgogIDwvbWV0YWRhdGE+CiAgPGcKICAgICBzdHlsZT0ib3BhY2l0eTowLjk4IgogICAgIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAsLTI5MS43MDgzMikiCiAgICAgaWQ9ImxheWVyMSI+CiAgICA8ZwogICAgICAgc3R5bGU9InN0cm9rZTojZmZmZmZmO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMC4wMzM5ODI5LDAuMzIwNDA4MzMpIgogICAgICAgaWQ9Imc0NTAxIj4KICAgICAgPHBhdGgKICAgICAgICAgc3R5bGU9ImZpbGw6bm9uZTtmaWxsLXJ1bGU6ZXZlbm9kZDtzdHJva2U6I2ZmZmZmZjtzdHJva2Utd2lkdGg6MC4yNjQ5OTk5OTtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46bWl0ZXI7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgICAgZD0ibSAyLjY2MDM5NzYsMjkyLjcxODExIGMgLTEuNzA4ODY4NTUsMi42MzEyNyAtMS43MDg4Njg1NSwyLjYzMTI3IC0xLjcwODg2ODU1LDIuNjMxMjciCiAgICAgICAgIGlkPSJwYXRoNDQ4NSIgLz4KICAgICAgPHBhdGgKICAgICAgICAgaWQ9InBhdGg0NDg3IgogICAgICAgICBkPSJtIDIuNjk5MjM0OCwyOTIuNzE4MTEgYyAxLjcwODg2ODYsMi42MzEyNyAxLjcwODg2ODYsMi42MzEyNyAxLjcwODg2ODYsMi42MzEyNyIKICAgICAgICAgc3R5bGU9ImZpbGw6bm9uZTtmaWxsLXJ1bGU6ZXZlbm9kZDtzdHJva2U6I2ZmZmZmZjtzdHJva2Utd2lkdGg6MC4yNjQ5OTk5OTtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46bWl0ZXI7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIgLz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo=");
		position: absolute;
		top: 5px;
		left: 10px;
	}

	.roll-button {
		position: relative;
		display: inline-block;
		font-family: "Raleway", sans-serif;
		font-size: 13px;
		line-height: 24px;
		font-weight: 700;
		padding: 12px 35px;
		color: #fff;
		text-transform: uppercase;
		background-color: #d65050;
		border: 1px solid #d65050;
		-webkit-border-radius: 3px;
		   -moz-border-radius: 3px;
			 -o-border-radius: 3px;
				border-radius: 3px;
		-webkit-transition: all 0.3s;
		   -moz-transition: all 0.3s;
		    -ms-transition: all 0.3s;
		     -o-transition: all 0.3s;
		        transition: all 0.3s;
	}
	.roll-button:hover {
		color: #8fe07b;
		border: 1px solid #8fe07b;
		background-color: rgba(0, 0, 0, 0.5);
	}


/* Elements
-------------------------------------------------------------- */
	a {
		color: #d65050;
	}
	h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
		color: #000;
	}

	#mainnav > ul > li > a.active,
	#mainnav > ul > li > a:hover {
		color: #d65050;
	}
	#mainnav ul li ul:after {
		background-color: #d65050;
		transition: all 0.3s ease;
		-webkit-transition: all 0.3s ease;
	}
	#mainnav .sub-menu li:hover > a {
		background-color: #d65050;
	}

	.content-area .hentry:after {
		background-color: #d65050;
	}
	.hentry .meta-post a:hover {
		color: #d65050;
	}
	.hentry blockquote {
	    border-left: 3px solid #d65050;
	}

	.bottom .socials li:hover a,
	.go-top {
		background-color: #d65050;
	}
	.go-top:hover {
		color: #d65050;
	}

/* Media Queries
-------------------------------------------------------------- */

	@media only screen and (max-width: 1024px) {
		.slides-container .slide-item,
		.panel-row-style {
			background-attachment: scroll;
			background-position: center !important;
		}

		#mainnav {
			visibility: hidden;
			position: absolute;
			right: 10px;
			top: -40px;
			background-color: black;
			z-index: 50;
			transform: translateY(-76px);
			transition: linear 0.5s;
		}
		#mainnav.show-menu {
			visibility: visible;
			transform: translateY(76px);
			padding-bottom: 15px;
		}
		#mainnav ul {
			display: block;
		}
		#mainnav ul li {
			float: none;
			padding: 20px 14px;
		}
		.btn-menu {
			display: block;
			float: none;
			position: absolute;
			right: 18px;
			z-index: 60;
			width: 150px;
			background-color: black;
			height: 65px;
			line-height: 65px;
			text-align: right;
			top: -20px;
			padding-right: 5px;
		}
		.burger-container {
			position: absolute;
			right: 0px;
			top: 24px;
			cursor: pointer;
			width: 26px;
			height: 22px;
		}
		.btn-menu .burger {
			position: absolute;
			right: 0px;
			width: 26px;
			background-color: white;
			height: 4px;
			border-radius: 4px;
			transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
			transform-origin: left center;
			opacity: 1;
		}
		.btn-menu .burger-top {
			top: 0px;
		}
		.btn-menu .burger-middle {
			top: 9px;
		}
		.btn-menu .burger-bottom {
			top: 18px;
		}
		.open-menu.burger-top {
			transform: rotate(45deg);
		}
		.open-menu.burger-bottom {
			transform: rotate(-45deg);
		}
		.open-menu.burger-middle {
			opacity: 0;
		}
		.site-header {
			position: static;
			background-color: rgba(0,0,0,0.9);
		}
		.posts-navigation {
			overflow: hidden;
			margin-bottom: 30px;
		}
		.contact {
			font-size: 1.2em;
		}
		.entry-content ul {
			margin: 25px 10px 0;
		}
	}
	@media only screen and (max-width: 780px) {
		h1 { font-size: 32px;}
		h2 { font-size: 28px;}
		h3 { font-size: 22px;}
		h4 { font-size: 18px;}
		h5 { font-size: 16px;}
		h6 { font-size: 14px;}
		.single .page-wrap .content-wrapper {
			padding-left: 5px;
			padding-right: 5px;
		}
		.choice {
			flex-direction: column;
		}
		.choices {
			margin: 5% 15%;
		}
		.fb-footer {
			flex-direction: column;
		}
		.fb-wrapper {
			width: 100%;
			padding-bottom: 20px;
		}
	}

	/* All Mobile Sizes */
	@media only screen and (max-width: 767px) {
		.posts-layout {
			max-width: 100%;
		}

		.text-slider-section {
			min-height: 190px;
		}
		.text-slider .maintitle {
			font-size: 32px;
		    line-height: 1.1;
		    padding-bottom: 10px;
		}
		.text-slider .subtitle {
		    font-size: 16px;
		    line-height: 24px;
		    padding: 15px 0;
		}
		.roll-button {
			padding: 10px 30px;
		}

		.single-post .author-post .author-avatar {
			float: none;
			margin-bottom: 20px;
		}
		.single-post .author-post .author-info {
			margin-left: 0;
			padding: 0;
		}
		.single-post .author-post ul.socials {
			position: static;
		}
		.single-post .author-post .intro {
			clear: left;
			padding-top: 10px;
		}
		.site-header.float-header {
			padding-top: 20px;
			padding-bottom: 20px;
		}

        .text-slider-section {
			min-height: 0;
			top: auto;
			bottom: 0;
		}
		.site-title {
			font-size: 22px !important;
		}
		.float-header h2 {
			display: none;
		}
	}
	/* Mobile Portrait Size */
	@media only screen and (max-width: 479px) {

		.header-wrap {
		.roll-project.fullwidth .project-item {
			width: 100%;
		}

		.roll-button {
			font-size: 12px;
		}
		.text-slider .maintitle {
			font-size: 20px;
		}
		.text-slider .subtitle {
			font-size: 14px;
		}
		.text-slider {
			margin-bottom: 15px;
		}
	}
	@media only screen and (max-width: 320px) {
		.text-slider {
			margin-bottom: 0;
		}
	}
	/* Center menu vertically */
	@media screen and (min-width: 1025px) {
		.header-wrap .container > .row {
			display: -webkit-flex;
			display: -ms-flexbox;
			display: flex;
			-webkit-align-items: center;
			    -ms-flex-align: center;
			        align-items: center;
		}
	}	
