/*
Theme Name: Andrew Byrne
Theme URI: http://www.beamtwenty3.co.uk
Description: Wordpress Theme By Neil Brown for Andrew Byrne
Version: 1.0
Author: Neil Brown
Author URI: http://www.beamtwenty3.co.uk
Text Domain: cargo-mariners
*/

/* #Reset & Basics (Inspired by E. Meyers) */

	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: #fff;
	font: 14px 'Montserrat', sans-serif;
	color: #484848;
	-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
	-webkit-text-size-adjust: 100%;
}
 
/* #Typography */

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


h1 { 
	font-size: 40px;
	line-height: 50px;
	margin: 20px 0px 40px 0px;
	padding: 0px;
}

.home h1 { 
	font-size: 40px;
	line-height: 50px;
	margin: 20px 0px 10px 0px;
	padding: 0px;
} 


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

.page-id-15 h2 {
	font-size: 32px;
	line-height: 44px;
}

h3 {
	font-size: 23px;
	line-height: 27px;
	margin: 0px 0px 20px 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 15px 0;
    color: #484848;
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
}

.home p {
	margin: 0 0 15px 0;
	color: #484848;
	font-size: 20px;
	line-height: 32px;
	font-weight: 400;
}

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


em { 
	font-style: italic;
}

strong { 
	font-weight: 600;
}

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 #ef9d32; }
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 #a59192;
	border-width: 1px 0 0;
	clear: both;
	margin: 60px 10% 20px 10%;
	height: 0;
	width: 80%
}


/* #Links */

a, a:visited { 
	color: #ac3d42;
	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: #ac3d42;
	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 10px 0;
	color: #484848;
	font-size: 16px;
	line-height: 22px;
	font-weight: normal;
	list-style: none;	
}

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

/* #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: #222;
  background: #fff;	
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 43px;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  border: solid 1px #222;
  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: #441214;	
  outline: 0;
  border: solid 1px #441214;
}

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-bottom: 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;
}


.full-width {
	width: 100%;
	margin: 0 auto;
	height: 650px;
	position: relative;
	z-index: 10;

}

.full-width img {
	display: block;
	width: 100%;
}

  
/* Header */

aside {
	position: fixed;
	width: 360px;
	background: #eee;
	height: 100vh;
}

aside .inner {
	padding: 20px;
}

main {
	width: calc(100% - 360px);
	float: right;
	margin: 0;
}

main .inner {
	padding: 40px;
}

p.site-title { 
	font-size: 40px;
	line-height: 50px;
	margin: 40px 0px 10px 0px;
	padding: 0px;
}

p.sub-title {
	margin: 0 0 20px 0;
	color: #484848;
	font-size: 14px;
	line-height: 21px;
	font-weight: 600;	
}


/* Home Page */


/* News Posts */

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

.news-feed {
	flex-grow: 1;
	width: 48%;
	margin: 10px 1% 40px 1%;
}

.news-feed h2 {
	font-size: 18px;
	line-height: 28px;
	font-weight: 600;
}

.news-feed p {
	font-size: 16px;
	line-height: 26px;
	font-weight: 400;	
}


.news img, #slidecontrols 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: block;
}

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


/* Pages */

.page-content {
	width: 68%;
	margin: 0 2% 0 0;
	float: left;
}

.featured-image {
	width: 30%;
	float: left;
}

/* Artwork */

h1.artwork-title {
	margin-bottom: 30px;
}

#swipebox-overlay {
	background: #fff !important;
}

#swipebox-bottom-bar, #swipebox-top-bar {
	text-shadow: none !important;
	background: #a2a2a2;
	opacity: 1;
}

.artwork-info {
	width: 38%;
	float: left;
	margin: 0 2% 0 0;
}

.gallery {
	width: 60%;
	float: right;
	position: relative;
	z-index: 100;
}

ul.artwork-categories {
	margin: 40px 0 40px 0;
}

span.sold {
	color: #ac3d42;
	font-weight: 600;
}

/* Image Zoom */

.zoom {
	display:inline-block;
	position: relative;
}

.zoom img {
	display: block;
	cursor: pointer;
}

.zoom img::selection {
	background-color: transparent;
}

span.fa-search {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 10000;
	color: #000;
	font-size: 23px;
}

#slidecontrols img {
	width: 100px;
	margin: 15px 20px 20px 0px;
	float: left;
}

/* SlideShow */

.product-image img {
	display: block;
	margin-bottom: 10px;
}

/* Masonry */

#masonry-loop {
	margin-top: 40px;
	display: block;
	width: 100%;
	float: left;
}

.gallery-image {
	width: 23%;
	margin: 0 2% 0 0;
	float: left;
}

.masonry.gallery-image {
	background: #eee;
	margin-bottom: 20px;
}

.masonry.gallery-image .inner {
	padding: 10px 15px 0px 15px;
}

.masonry p {
	font-size: 15px;
	line-height: 23px;
}

/* Main Navigation */

#main-nav   {
	width: 100%;
	max-width: 100%;
	clear: both;
	margin: 40px auto 10px auto;
}

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

#main-nav li    {
	display: block;
	font-size: 17px;
	line-height: 30px;
	font-weight: 400;
	margin: 0 0 5px 0;
	padding: 0;
	position: relative;
}

#main-nav li a  {
	display: block;
	line-height: 30px;
	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: #484848;
}

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

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

/* Footer */

footer {
	width: 100%;
	margin: 160px auto 0 auto;
	text-align: left;
	padding: 20px 0px 20px 0px;
	position: absolute;
	z-index: 1000;
	bottom: 20px;
}

footer.mobile-footer {
	display: none;
}

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

footer ul {
	margin: 30px 0px 30px 0px
}

footer li {
	font-size: 18px;
	line-height: 36px;
	margin: 0 10px 0 10px;
	display: inline;
}

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

footer p, .home footer p, footer a:link {
	font-size: 14px;
	line-height: 28px;
	color: #484848;
	font-weight: 400;
}

.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	border: 1px solid #BFBFBF;
	padding: 10px 10px !important;
	margin: 2px;
}



/* =WordPress Core  */

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

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

.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 {

}

