/*
Theme Name: Paul Borwn Imaging
Theme URI: https://paulbrownimaging.co.uk/
Author: Lionel Da Costa
Author URI: https://paulbrownimaging.co.uk/
Description: Paul Borwn Imaging look beautiful everywhere.
Version: 1.0
Tags: one-column, two-columns
Text Domain: playground
*/
/*********************** RESET **************************************/
@import url('https://fonts.googleapis.com/css?family=Lato&display=swap');
html,body{
	padding:0;
	margin:0;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
body{
	text-align:left;
	font-family: 'Lato', sans-serif;
	font-style: normal;
	font-variant: normal;
	font-weight: 400;
	font-size: 18px;
	line-height:24px;
	word-wrap: break-word;
	overflow-wrap: break-word;
	vertical-align: baseline;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	position:relative;
}
img{
	max-width:100%;
	height:auto;
}
h1,h2,h3,h4,h5,h6{
	font-weight: bold;
    font-style: normal;
	margin:0;
	cursor:default;
}
p{
	margin:0;
	margin-bottom: 1.37rem;
	cursor:default;
}
h1{
	font-size:2.75rem;
	line-height:3rem;
	margin-bottom: 1.37rem;
}
h2{
	font-size:1.62rem;
	line-height:1.87rem;
	margin-bottom: 0.75rem;
}
h3{
	font-size:1.5rem;
	line-height:1.75rem;
	margin-bottom: 0.62rem;
}
h4{
	font-size:1.12rem;
	line-height:1.5rem;
	margin-bottom: 0.25rem;
}
.clear{
	clear:both;
}
html{
	background-color:black;
	min-height:100%;
	color:white;
}
html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	overflow-x:hidden;
}
*, *:before, *:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}
.center{
	text-align:center;
}
.gap{
	padding-top:22px;
}
.gap32{
	padding-top:32px;
}
.gap44{
	padding-top:44px;
}
.gap18{
	padding-top:18px;
}
.gap12{
	padding-top:12px;
}
/*********************** CUSTOM **************************************/ 
h1 {
    font-size: 26px;
    line-height: 30px;
    margin-bottom: 0;
    font-weight: 400;
}
h1 span{
	text-transform:uppercase;
    margin-right: 8px;
}
h1 span.lower{
	text-transform:none;
}
h1.negMargin{
	margin-top:-4px;
}
.paddingLeftRight22{
	padding-left:22px;
	padding-right:22px;
}
#main-menu {
    position: relative;
	text-align:center;
}
#sub-menu ul,
#top-menu ul {
    list-style: none;
    display: block !important;
}
#sub-menu ul, #sub-menu ul li,
#top-menu ul, #top-menu ul li {
    margin: 0;
    padding: 0;
}
#sub-menu ul li,
#top-menu ul li {
    display: inline-block;
}
#burger {
    display: none;
    position: relative;
    width: 50px;
    height: 44px;
    cursor: pointer;
    padding: 12px;
	margin-top:-4px;
}
#burger span {
    height: 2px;
    width: 26px;
    background: white;
    display: block;
    position: absolute;
    left: 0;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
}
#burger span:nth-child(1) {
    top: 12px;
    left: 12px;
    -webkit-transform-origin: top left;
    transform-origin: top left;
}
#burger span:nth-child(2) {
    top: 20px;
    left: 12px;
}
#burger span:nth-child(3) {
    top: 28px;
    left: 12px;
    -webkit-transform-origin: bottom left;
    transform-origin: bottom left;
}
#sub-menu ul li a,
#top-menu ul li a {
    text-transform: uppercase;
    font-size: 18px;
    display: inline-block;
    padding: 8px 28px;
    line-height: 22px;
    text-decoration: none;
    color: white;
}
#sub-menu ul li a{
	padding: 6px 24px;
    text-transform: none;
}
#sub-menu ul li a:hover, #sub-menu ul li.current_page_item a,
#top-menu ul li a:hover, #top-menu ul li.current_page_item a {
    color: #FFEB00;
}
.maxwidth1200{
	max-width:1200px;
	margin:0 auto;
}
.maxwidth1045{
	max-width:1045px;
	margin:0 auto;
}
.maxwidth1144{
	max-width:1144px;
	margin:0 auto;
}
.maxwidth640{
	max-width:640px;
	margin:0 auto;
}
.site-footer{
	padding:44px 22px;
}
.fancybox-content{
	margin:32px;
}
.grid-wrapper {
    width: calc(50% - 20px);
	margin: 10px;
    display: inline-block;
    vertical-align: top;
    padding-top: 31.667%;
    position: relative;
}
.portfolio .grid-wrapper {
	width: calc(33% - 12px);
	margin: 6px;
	padding-top: 21.8%;
}
.grid-wrapper a {
    height: 100%;
    width: 100%;
    position: absolute;
    color: white;
    text-decoration: none;
    text-shadow: 0px 0px 8px black;
    text-transform: uppercase;
    font-size: 34px;
    line-height: 38px;
    right: 0;
    bottom: 0;
    text-align: center;
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-transition: background 500ms ease-out,opacity 500ms ease-out;
    -moz-transition: background 500ms ease-out,opacity 500ms ease-out;
    -o-transition: background 500ms ease-out,opacity 500ms ease-out;
    transition: background 500ms ease-out,opacity 500ms ease-out;
}
.grid-wrapper a:hover {
    background-size: 110% 110%;
    opacity: 0.8;
}
.grid-wrapper a div.table {
    display: table;
    vertical-align: middle;
    height: 100%;
    width: 100%;
    text-align: center;
}
.grid-wrapper a div.table div {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
    width: 100%;
    text-align: center;
}
/*from top anim 2s*/
@-webkit-keyframes fromTop2s{  
0% {	transform: translateY(-100px);opacity:0; }
30% {	transform: translateY(-100px);opacity:0; }
100%   {	transform: translateY(0);opacity:1; }
} 
@-moz-keyframes fromTop2s{  
0% {	transform: translateY(-100px);opacity:0; }
30% {	transform: translateY(-100px);opacity:0; }
100%   {	transform: translateY(0);opacity:1; }
} 
@-ms-keyframes fromTop2s{  
0% {	transform: translateY(-100px);opacity:0; }
30% {	transform: translateY(-100px);opacity:0; }
100%   {	transform: translateY(0);opacity:1; }
} 
@-o-keyframes fromTop2s{  
0% {	transform: translateY(-100px);opacity:0; }
30% {	transform: translateY(-100px);opacity:0; }
100%   {	transform: translateY(0);opacity:1; }
} 
@keyframes fromTop2s{  
0% {	transform: translateY(-100px);opacity:0; }
30% {	transform: translateY(-100px);opacity:0; }
100%   {	transform: translateY(0);opacity:1; }
} 
/*to top anim*/
@-webkit-keyframes toTop{  
0% {	transform: translateY(100px);opacity:0; }
30% {	transform: translateY(100px);opacity:0; }
100%   {	transform: translateY(0);opacity:1; }
} 
@-moz-keyframes toTop{  
0% {	transform: translateY(100px);opacity:0; }
30% {	transform: translateY(100px);opacity:0; }
100%   {	transform: translateY(0);opacity:1; }
} 
@-ms-keyframes toTop{  
0% {	transform: translateY(100px);opacity:0; }
30% {	transform: translateY(100px);opacity:0; }
100%   {	transform: translateY(0);opacity:1; }
} 
@-o-keyframes toTop{  
0% {	transform: translateY(100px);opacity:0; }
30% {	transform: translateY(100px);opacity:0; }
100%   {	transform: translateY(0);opacity:1; }
} 
@keyframes toTop{  
0% {	transform: translateY(100px);opacity:0; }
30% {	transform: translateY(100px);opacity:0; }
100%   {	transform: translateY(0);opacity:1; }
} 
#logo-wrapper{
    position: relative;
    z-index: 1000;	
	transform: translateY(0);opacity:1;
	-webkit-animation-iteration-count: 1;
	-moz-animation-iteration-count: 1;
	-ms-animation-iteration-count: 1;
	-o-animation-iteration-count: 1;
	animation-iteration-count: 1;
	-webkit-animation-fill-mode: backwards;
	-moz-animation-fill-mode: backwards;
	-ms-animation-fill-mode: backwards;
	-o-animation-fill-mode: backwards;
	animation-fill-mode: backwards;
	-webkit-animation: fromTop2s 1s ease-out;
	-moz-animation: fromTop2s 1s ease-out;
	-ms-animation: fromTop2s 1s ease-out;
	-o-animation: fromTop2s 1s ease-out;
	animation: fromTop2s 1s ease-out;			
}
#page{
    position: relative;
    z-index: 990;	
	transform: translateY(0);opacity:1;
	-webkit-animation-iteration-count: 1;
	-moz-animation-iteration-count: 1;
	-ms-animation-iteration-count: 1;
	-o-animation-iteration-count: 1;
	animation-iteration-count: 1;
	-webkit-animation-fill-mode: backwards;
	-moz-animation-fill-mode: backwards;
	-ms-animation-fill-mode: backwards;
	-o-animation-fill-mode: backwards;
	animation-fill-mode: backwards;
	-webkit-animation: toTop 1s ease-out;	
	-moz-animation: toTop 1s ease-out;	
	-ms-animation: toTop 1s ease-out;	
	-o-animation: toTop 1s ease-out;	
	animation: toTop 1s ease-out;				
}
.home-btn{
	opacity:1;
	-webkit-transition: opacity 300ms ease-out;
	-moz-transition: opacity 300ms ease-out;
	-o-transition: opacity 300ms ease-out;
	transition: opacity 300ms ease-out;
}
.home-btn:hover{
	opacity:0.8;
}
.content-float{
	width:58%;
	float:right;	
}
.img-float{
	width: 36.365%;
	float:left;
}
#burger.active span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 24px;
}
#burger.active span:nth-child(2) {
    opacity: 0;
}
#burger.active span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 24px;
}
p a{
	color:white;
}
p a:hover{
	color:#FFEB00;
}
.site-footer a{
	margin-right:12px;
}
.site-footer span,
.site-footer a{
	display:inline-block;
	vertical-align:middle;
}
a.lk-link{
	opacity:1;
	display:inline-block;
}
a.lk-link:hover{
	opacity:0.7;
}
/*********************** MEDIA QUERIES **************************************/
/*RETINA*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){
	   
}
@media screen and (max-width: 959px) {
	#sub-menu ul li, #top-menu ul li {
		display: block;
	}
	#main-nav, #main-menu, #menus-header {
		top: 0;
		left: 0;
		height: 100%;
		width: 100%;
	}
	#main-nav{
		position: fixed;
		height:calc(100vh - 80px);
		top: 80px;
		right: -100%;
		left: 100%;
		bottom: 0;
		background: #000000;
		z-index: 1090;
		opacity: 0;
		-webkit-transition: .5s all;
		transition: .5s all;
		display: table;
		width: 100%;
	}	
	#main-menu{
		background: #000000;
	}
	#main-nav.active{
		opacity: 1;
		left: 0;
		right: 0;
	}
	#main-nav #main-menu {
		display: table-row;
		vertical-align: middle;
	}
	#main-nav #menus-header {
		display: table-cell;
		vertical-align: middle;
	}
	#burger{
		display: inline-block;
		float:right;
	}
	.home-btn{
		float:left;
		max-width: calc(100% - 70px);
	}
}
@media screen and (max-width: 740px) {
	.grid-wrapper a {
		font-size: 24px;
		line-height: 28px;
	}
}
@media screen and (max-width: 480px) {
	.img-float,
	.content-float{
		width:100%;
		float:none;		
	}
	.img-float{
		margin-bottom:32px;
		text-align:center;
	}
	.img-float .sidebar-img-desktop{
		display:none;
	}
	.img-float img{
		width:200px;
		height:auto;
		max-width:100%;
	}
}
@media screen and (max-width: 420px) {
	.grid-wrapper a {
		font-size: 18px;
		line-height: 22px;
	}
}