/*   
Theme Name: bywill
Theme URI: www.bywill.co.uk
Description: Custom theme
Author: 
Author URI: 
Version: 1.0
Tags: blue, white, light, right-sidebar, fixed-width
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
@import url('reset.css');
@import url('grid.css');
/* Default font settings. */
html {	font-size:100.01%;}
body {
	font-size: 16px;
	color: #4e4d62;
	background: #fff;
	font-family: 'Manrope', sans-serif;
	font-weight: 300;
}
/* Headings */
h1 {
	font-size: 35px;
	font-weight: 700;
	margin-bottom: 15px;
	color:  #4e86ad;
}
h2 {
	font-size: 25px;
	margin-bottom: 15px;
	text-transform: uppercase;
	font-weight: 500;
}

h3 {
	font-weight: 500;
	font-size: 20px;
	margin-bottom: 10px;
}
h4 {	font-size: 16px; line-height: 18px;	margin-bottom: 8px;}
h5 {	font-size: 14px;	margin-bottom: 8px;}
h6 {	font-size: 12px;	margin-bottom: 8px;}
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {
	margin: 0;
}
/* Text elements */::-moz-selection{ background: #06F; color:#fff; text-shadow: none; }::selection { background:#06F; color:#fff; text-shadow: none; }
p {
	margin: 0 0 15px;
}
p img.left {
	float: left;
	margin: 15px 15px 15px 0;
	padding: 0;
}
p img.right {
	float: right;
	margin: 15px 0 15px 15px;
}
img {
	max-width: 100%;
	height: auto;
}
blockquote {
	margin: 15px;
	color: #666;
	font-style: italic;
}
strong {
	font-weight: bold;
}
em, dfn {
	font-style: italic;
}
dfn {
	font-weight: bold;
}
sup, sub {
	line-height: 0;
}
abbr, acronym {
	border-bottom: 1px dotted #ccc;
}
address {
	margin: 0 0 15px;
	font-style: italic;
}
del {
	color:#ccc;
}
pre {
	margin: 15px 0;
	white-space: pre;
}
pre, code, tt {
	font: 14px 'andale mono', 'lucida console', monospace;
	line-height: 20px;
}
hr {
	border-style: none;
	border-bottom: 2px solid #2c96bb;
	margin-top: 40px;
	margin-bottom: 40px;
}
hr.foot {
	margin-top: 30px;
	margin-bottom: 30px;
}
/* Lists */
ol #commentlist {
    margin: 0px 0px 10px 0px;
}
#commentlist li {
    margin: 0px 0px 10px 0px;
    padding: 0px 0px 10px 0px;
	border-bottom: 1px dotted #ccc;
}
li ul, li ol {
	margin: 0;
}
ul, ol {
	margin: 0 15px 15px 0;
	padding-left: 20px;
}
nav ul, #sidebar ul {
	list-style-type: none;
    padding: 0px;
    margin: 0px 0px 10px 0px;
}
nav ul li {
	float: left;
}	
#sidebar li {
	list-style-type: none;
    padding: 0px;
    margin: 0px;
}
ul {
	list-style-type: disc;
}
ol {
	list-style-type: decimal;
}
dl {
	margin: 0 0 15px 0;
}
dl dt {
	font-weight: bold;
}
dd {
	margin-left: 20px;
}
/* Tables */
table {
	margin-bottom: 20px;
	width:100%;
}
th {
	font-weight: bold;
}
thead th {
	background: #c3d9ff;
}
th, td, caption {
	padding: 4px 10px 4px 5px;
}
tr.even td {
	background: #e5ecf9;
}
tfoot {
	font-style: italic;
}
caption {
	background: #eee;
}
/* Misc classes */
.small {
	font-size: 10px;
	margin-bottom: 8px;
	line-height: 18px;
}
.large {
	font-size: 19px;
	line-height: 19px;
	margin-bottom: 20px;
}
.hide {
	display: none;
}
.quiet {
	color: #888;
}
.loud {
	color: #000;
}
.highlight {
	background:#ff0;
}
.added {
	background:#060;
	color: #fff;
}
.removed {
	background:#900;
	color: #fff;
}
.first {
	margin-left:0;
	padding-left:0;}
.last {
	margin-right:0;
	padding-right:0;
}
.top {
	margin-top:0;
	padding-top:0;
}
.bottom {
	margin-bottom:0;
	padding-bottom:0;
}
.postmetadata {
      margin: 0px 0px 0px 0px;
      padding: 0px 0px 30px 0px;
}
.meta {
      font-size: 10px;
      margin-bottom:  40px;
}
/* --------------------------------------------------------------
   forms
   * Sets up some default styling for forms
   * Gives you classes to enhance your forms
   Usage:
   * For text fields, use class .title or .text
   * For inline forms, use .inline (even when using columns)
-------------------------------------------------------------- */
label {
	font-weight: bold;
}
fieldset {
	padding:22px;
	margin: 0 0 24px 0;
	border: 1px solid #ccc;
}
legend {
	font-weight: bold;
	font-size:19px;
}
/* Form fields */
input[type=text], input[type=password], input.text, input.title, textarea, select {
	background-color:#fff;
	border:1px solid #ccc;
	padding: 5px;
}
input[type=text]:focus, input[type=password]:focus, input.text:focus, input.title:focus, textarea:focus, select:focus {
	border-color:#777;
}
input[type=text], input[type=password], input.text, input.title, textarea, select {
	margin:8px 0;
}
input.text, input.title {
	max-width: 300px;
	width: 80%;
	padding:5px;
}
input.title {
	font-size:24px;
}
textarea {
	width: 600px;
	max-width: 90%;
	height: 150px;
	padding:5px;
}
input[type=checkbox], input[type=radio], input.checkbox, input.radio {
	position:relative;
	top:4px;
}
form.inline {
	line-height:3;
}
form.inline p {
	margin-bottom:0;
}
/* Success, notice and error boxes */
.error, .notice, .success {
	padding: 12px;
	margin-bottom: 16px;
	border: 2px solid #ddd;
}
.error {
	background: #FBE3E4;
	color: #8a1f11;
	border-color: #FBC2C4;
}
.notice {
	background: #FFF6BF;
	color: #514721;
	border-color: #FFD324;
}
.success {
	background: #E6EFC2;
	color: #264409;
	border-color: #C6D880;
}
.error a {
	color: #8a1f11;
}
.notice a {
	color: #514721;
}
.success a {
	color: #264409;
}
/* links */ 
a {
	color: #333333;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
/* Misc */
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}
.wp-caption-dd {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
.wp-caption-text {
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
	margin-right: 40px;
}
.alignright {
	float: right;
	margin-left: 40px;
}
.gallery-caption {
}
/* post */
.meta {
	word-wrap: break-word;
}
.sticky {
}
.bypostauthor {
}
/* Comments */#commentlist p {        margin: 0px;        font-size: 11px;}
#comments {
        margin:20px 0px 10px 0px;
        padding:20px 0px 10px 0px;
        border-top: solid 1px #ccc;
}
#postcomment {
        margin:20px 0px 10px 0px;
        padding:20px 0px 10px 0px;
        border-top: solid 1px #ccc;
}
/* --------------------------------------------------------------   
User Styles below here
-------------------------------------------------------------- 
*/

header {
	padding:  20px 0;
	background: 
		repeating-linear-gradient(45deg, #c4c3c5 0 3px, transparent 0 9px), 
		linear-gradient(150deg, #f1f1f1, #8b8b8b);
	margin-bottom:  40px;
}

.logo a {
	display:  block;
	padding:  0;
	text-align:  center;
	text-shadow: 0 0 5px #ffffff;
}

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

.logo a .main {
	font-weight:  700;
	font-size:  70px;
	line-height:  60px;
}

.logo a .strap {
	font-weight:  500;
	font-size:  14px;
}

header nav {
	text-align:  right;
}

header nav > div {
	background:  #9b9b9b;
	margin-top:  31px;
	padding:  0 10px;
	display:  block;
	box-shadow:  inset 1px 1px 5px rgba(0,0,0,0.6);
}

header nav > div > ul {
	margin:  0;
	padding:  0;
}

header nav > div > ul > li {
	float:  none;
	display:  inline-block;
}

header nav > div > ul > li > a {
	display:  block;
	color:  #FFFFFF;
	font-weight:  500;
	line-height:  30px;
	padding:  10px;
	transition:  background 0.3s ease-in-out;
}

header nav > div > ul > li > a:hover {
	text-decoration:  none;
}

header nav > div > ul > li:hover > a {
	background:  rgba(255,255,255,0.2);
}

header nav > div > ul > li > ul {
	background:  #FFFFFF;
	position:  absolute;
	padding:  10px 0;
	text-align:  left;
	box-shadow: 2px 2px 4px rgba(0,0,0,0.4);
	z-index:  2000;
	display: none;
}

header nav > div > ul > li > ul > li {
	display:  block;
	float:  none;
}

header nav > div > ul > li > ul > li > a {
	display:  block;
	padding:  0 10px;
	line-height:  30px;
	transition:  background 0.3s ease-in-out;
}

header nav > div > ul > li > ul > li > a:hover {
	text-decoration:  none;
	background-color: #f1f1f1;
}

.posts-list > .post {
	margin-bottom:  40px;
	background: #FFFFFF;
	box-shadow: 0 9px 9px -9px rgba(0,0,0,0.4);
	padding-right:  20px;
}

.posts-list .post h3 {
	padding-top:  20px;
}

.posts-list .post .meta {
	margin-bottom:  10px;
}

.posts-list .post .thumb {
	float:  left;
	margin-right:  40px;
}

.posts-list .post .thumb img {
	display:  block;
}

.sidebar h3 {
	background: #4e86ad;
	color:  #FFFFFF;
	padding:  5px;
}

.sidebar ul {
	margin:  0 0 40px 0;
	list-style-type:  none;
	padding:  0 10px!important;
}

.sidebar a {
	font-size:  14px;
}

.post-home {
	margin-bottom:  40px;
}

.ebay-items {
	margin:  20px 0;
}

.ebay-items .ebay-item {
	float:  left;
	width:  calc(16.6% - 20px);
	box-sizing: border-box;
	padding:  10px;
	margin:  5px 10px;
	box-shadow:  0 0 3px #CFCFCF;
	min-width:  155px;
}

.ebay-items .ebay-item a.thumb {
	width:  100%;
}

.ebay-items .ebay-item a.thumb img {
	width:  100%;
	height:  auto;
	display:  block;
	height:  120px;
	object-fit:  cover;
	margin-bottom:  10px;
}

.ebay-items .ebay-item h4 {
	font-size:  12px;
	min-height:  72px;
}

@media all and (min-width: 980px) {

	.mobile {
		display: none;
	}
}
@media all and (max-width: 980px) and (min-width: 672px) {

	.logo a .main {
		font-size:  50px;
		line-height:  50px;
	}

	.logo a .strap {
		font-size:  10px;
	}

	header nav > div {
    	margin-top: 15px;
    }

    .ebay-items .ebay-item {
    	width: calc(20% - 20px);
    }

	.full {
		display: none;
	}
	.mobile {
		display: none;
	}

}
@media all and (max-width: 672px) {
	.full, .no-mobile {
		display: none;
	}
	.mobile {
		display: block;
	}

	header .nav-btn {
		display:  block;
		margin:  20px auto 10px auto;
		width:  35px;
	}

	header .nav-btn span {
	    width: 35px;
	    height: 5px;
	    background-color: #333;
	    margin: 6px 0;
	    transition: 0.4s;
	    display: block;
	}

	header .nav-btn.active .bar1 {
	    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
	    transform: rotate(-45deg) translate(-9px, 6px);
	}

	header .nav-btn.active .bar2 {
	    opacity: 0;
	}

	header .nav-btn.active .bar3 {
	    -webkit-transform: rotate(45deg) translate(-8px, -8px);
	    transform: rotate(45deg) translate(-8px, -8px);
	}

	header nav > div {
		display:  none;
		padding:  0;
		text-align:  center;
	}

	header nav > div > ul > li {
		display:  block;
	}

	header nav > div > ul > li > ul {
		position:  relative;
		box-shadow:  none;
		text-align:  center;
	}

	.posts-list > .post {
		padding:  0;
	}

	.posts-list .post .thumb {
		float:  none;
		margin:  0;
	}

	.posts-list .post .thumb img {
		width:  100%;
	}
	
	
}
@media all and (max-width: 380px) {

	
}
