/*
Theme Name: Amy
Text Domain: amy
Theme URI: 
Description: 
Version: 0.1
Author: Jackplug Web Design
Author URI: http://jackplug.co.uk
Tags: 
*/

body {  
color: #555;
font-family: 'Montserrat', sans-serif;
font-size: 120%;
line-height:1.5em;
text-align: center;
padding: 0;
margin: 0;
}

p  {
font-weight:normal;
margin: 10px 0 ;
}

h1   {
font-size: 1.8em;
text-transform: uppercase;
letter-spacing: 1px;
text-align:left;
font-weight:normal;
line-height: 120%;
}

h1 span  {
float:right;
margin-right:20px;
}

.home h1 {
	text-align:center;
	color:#f05e22;
	font-weight:500;
	padding: 0 20px;
	margin-bottom: 60px;
}

h2   {
font-size: 1.6em;
color: #4a4f29;
font-weight:500;
line-height: 120%;
margin:15px 0 15px 0;
}

h2 a  {
float:right;
margin-right: 30px;
}

h3   {
font-size: 1.6em;
font-weight:500;
line-height: 120%;
margin:0 0 15px 0;
}

h4   {
font-size: 1.2em;
font-weight:500;
line-height: 120%;
margin:0 0 15px 0;
}

h5  {
position:relative;
z-index:202;
color: #f05e22;
font-size:0.875em;
font-weight: normal;
padding: 0 45px 0 40px;
background: url(images/quoteout.png) no-repeat bottom right;
margin:0;
}

h6  {
position:relative;
z-index:201;
color: #f05e22;
font-size:0.75em;
font-weight: normal;
font-style:italic;
line-height:1em;
text-align:right;
padding:12px 15px;
background: url(images/quoteout.png) no-repeat -25px right;
margin:0;
}

hr {
border-top: 1px solid #E16636;
}

blockquote  {
background: url(images/quotein.png) no-repeat top left; 
padding:0 0 10px 0;
margin:0;
}

blockquote p  {
position:relative;
z-index:202;
color: #f05e22;
font-size:0.875em;
font-weight: normal;
padding: 0 45px 0 40px;
background: url(images/quoteout.png) no-repeat bottom right;
margin:0;
}

blockquote cite  {
display:block;
text-align:right;
font-size:0.875em;
padding: 10px 0;
}

ul, ol { padding:0; }
ul li, ol li { list-style-position:inside; }

a, a:visited { 
color: #f05e22; 
text-decoration:none;
font-weight:normal; 
}

a:hover, a:active { 
color:#7aa137;  
}

.clear  {
clear: both;
padding: 0;
margin: 0;
}

.space  {
margin-top:20px;
}

.divider  {
display:block;
padding: 0 0 20px 0;
border-bottom:1px solid #E16636;
margin: 0 0 50px 0;
}

#container { 
position:relative;
overflow: hidden;
text-align: left;
background:#fff;
padding: 0;
margin:0 auto;
}

#header { 
position:relative;
width: 96%;
max-width:980px; 
padding:100px 2% 0 2%;
margin:0 auto;
}

#title { 
position: absolute;
top: 10px;
left:30px;
width:333px;
height:90px;
background: url(images/mc_logo.jpg) no-repeat; 
}

#menu  {
text-align:right;
margin:0 0 10px 0;
}

/*main nav*/

ul#nav  {
display:inline-block;
list-style: none;
text-align: center;
font-size: 1em;
padding:0;
margin:0 auto;
}

#nav li {
position:relative; 
display:inline-block;
padding:0;
margin:0 auto;
}

ul#nav li a {
display:block; 
color: #f05e22; 
text-decoration:none;
text-transform:uppercase;
font-weight:600;
line-height:1em;
padding: 8px 20px; 
margin:0 auto;
}
		
ul#nav li.current_page_item a,
ul#nav li.current_page_parent a,
ul#nav li a:hover {
color:#7aa137;  
}
	
ul#nav li ul.children li a  {
font-size: 1em;
background: none; 
}

#toggle  {
	display:none;
}

#toggle:after  {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 2em/1 'dashicons';
	vertical-align: middle;
	content: "\f333";
	margin-left:5px;
}

@media screen and (max-width: 720px) {
	
	#menu {
		width:100%;
		border:0;
	}
	ul#nav {
		display:none;
		width:100%;
		padding: 0 0 10px 0;
	}
	ul#nav li {
		float:none;
		display: block;
		width:100%;
		text-align:left;
	}
	ul#nav li a {
		background:0 !important;
	}
	ul#nav li ul {
		display: none;
		position:relative;
		top:0;
		left:0;
		width:95%;
		margin:0 2.5%;
		border:0;
	}
	#toggle  {
		display:inline-block;
		z-index:101;
		width:95%;
		text-align:right;
		font-size:1.2em;
		padding: 0 2.5%;
	}
}

.category-about-us ul#nav li.page-item-318 a,
.category-work ul#nav li.page-item-251 a,
.category-case-study ul#nav li.page-item-251 a,
.category-comment ul#nav li.page-item-499 a  {
	color:#7aa137;  
}

#page {
	max-width:980px; 
	padding: 0 0 100px 0;
	margin:0 auto;
}

.single #content,
.category #content {
}

.post-nav   {
	float:left;
	width:100%;
	height:auto;
	font-weight: 500;
	padding: 6px 0 8px 0;
	border-top: 1px solid #E16636;
	border-bottom: 1px solid #E16636;
	margin-bottom: 25px;
}
	
.nav-next {
	float:left;
}

.nav-previous {
	float:right;
}


#content,
#posts {
clear:both;
width:96%;
padding:15px 2% 10px 2%;
margin: 0 auto;
}

.kt-inside-inner-col .fas,
.kt-inside-inner-col .far {
	color: #CF5E38;
	font-size: 2em;
	margin-bottom: 10px;
}

ol.comment {
	padding:0 !important; 
}

ol.comment li {
	list-style:none !important;
	padding:5px 10px !important;
	border: 1px dotted #bbc;
	margin-bottom:20px;
}

.tags {
	padding:12px 6px 6px 36px;
	background: url(images/tag.png) no-repeat 0 10px;
	margin-top: 20px;
}

#center {
float:left;
line-height:1.5em;
width: 75%;
min-height:20px;
margin: 10px 0 0 0;
}

#wide {
float:left;
line-height:1.5em;
width: 65%;
min-height:20px;
margin: 10px 0 0 0;
}

#fullwidth {
float:left;
line-height:1.5em;
width: 100%;
min-height:20px;
margin: 10px 0 0 0;
}

#sidebar-left {
float:left;
width: 30%;
min-height:20px;
line-height:1.2em;
}

#sidebar-left ul li {
padding:4px 6px;
}

#sidebar-left {
margin:10px 5% 0 0;
}

@media screen and (max-width: 720px) {
	#wide, #center, #sidebar-left  {
	width: 100%;	 
	}
}

.box  {
	float:left;
	text-align:center;
	margin:15px 2.5%;
}

.postheader {
	width: 98%;
	padding:5px 1%;
}

.prev {
	float:left;
}

.next {
	float:right;
}

.postheader .title {
	display:inline-block;
	text-align:center;
	width:60%;
	padding:0;
	margin:0;background:blue
}


#footer  {
position: relative;
z-index:1;
bottom: 0;
left:0;
max-width:1000px;
min-height:35px;
font-weight:normal;
color: #999;
text-align:center;
font-size: 0.7em;
background-color: #fff;
padding:10px 0;
border-top: 1px solid #E16636;
margin: 25px auto 0 auto;
}

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

a img { border: none; }

.alignleft,
div.alignleft,
img.alignleft {
	float:left; 
	margin: 0 10px 5px 0 !important;
}

.alignright,
div.alignright,
img.alignright {
	float:right; 
	margin: 0 0 5px 10px !important;
}

.aligncenter,
div.aligncenter,
img.aligncenter {
	display: block;
	margin: 0 auto !important;
}

.featured-image {
	display: block;
	text-align:center;
}

.wp-block-gallery {
	clear:both;
}

.single .wp-block-image {
	-moz-box-shadow:    0px 2px 2px 2px #ccc;
	-webkit-box-shadow: 0px 2px 2px 2px #ccc;
	box-shadow:         0px 2px 2px 2px #ccc;}
	
figure {
	position: relative;
}

figcaption {
	position: absolute;
	bottom: -15px;
	left:0;
	right:0;
	color: #fff;
	font-size: 0.8em;
	text-align: center;
	padding: 5px 5px 0 5px;
	margin:0;
	background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(1, rgba(0,0,0,0.0)), /* Top */
    color-stop(0, rgba(0,0,0,1.0)) /* Bottom */
);

/* Gecko */
background: -moz-linear-gradient(
    center bottom,
    rgba(0,0,0,1.0) 0%, /* Bottom */
    rgba(0,0,0,0.0) 100% /* Top */
);
}

.kadence-blocks-gallery-item__caption  {
	font-size:18px !important;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%; 
	padding-top: 0;
	height: 0;
	max-width:100%;
}
.video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-overlay {
	position: relative;
	width:100%;
	height:0;
	text-align: center;
	padding-top: 56.25%;
	overflow: hidden;
	margin:10px auto 15px auto;
}

.video-overlay img {
	width:98%;
}

.video-overlay .fancybox-youtube {
	position:absolute;
	top:-16.25%;
	left:0;
	width:100%;
	height:100%;
}
	
.video-overlay .fancybox-youtube:before {
	z-index:99;
	position:absolute;
	top: 75%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	font-family: FontAwesome;
	font-size: 30px;
	color: #fff;
	opacity: .8;
	text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
}

.video-overlay .fancybox-youtube:before {
	content: "\f167";
}

.video-overlay .fancybox-youtube:hover:before {
	content: "\f00e";
}

.video-overlay .video-title {
	position: absolute;
	top:90%;
	left:10px;
	right:10px;
	color: #fff;
	font-size:0.8em;
	text-align: center;
	padding: 10px 5px 0 5px;
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) ,rgba(0, 0, 0, 1));
}