@charset "UTF-8";
@import url(//use.typekit.net/bsn4btf.css);@import url(//use.fontawesome.com/releases/v5.0.12/css/all.css); 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
display: block;
}
audio, canvas, video {
display: inline-block;
*display: inline;
*zoom: 1;
}
audio:not([controls]) {
display: none;
}
sub, sup {
position: relative;
font-size: 75%;
line-height: 0;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
img {
height: auto;
border: 0;
-ms-interpolation-mode: bicubic;
}
button,
input,
select,
textarea {
font-size: 100%;
margin: 0;
vertical-align: middle;
} .full-section {
width: 100%;
}
.container {
margin: 35px auto 0;
padding: 30px;
position: relative;
}
.container-wide {
margin: auto;
padding: 30px;
max-width: 1400px;
}
.white {
background: #fff;
}
.main {
position: relative;
z-index: 0;
}
.row {
margin-left: -30px;
zoom: 1;
}
.row:before,
.row:after {
content: "";
display: table;
line-height: 0;
}
.row:after {
clear: both;
}
[class*="span"] {
float: left;
margin-left: 30px;
}
.flex-row {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.space-between {
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
.container,
.span12 {
width: 930px;
}
.span11 {
width: 850px;
}
.span10 {
width: 770px;
}
.span9 {
width: 690px;
}
.span8 {
width: 610px;
}
.span7 {
width: 530px;
}
.span6 {
width: 450px;
}
.span5 {
width: 370px;
}
.span4 {
width: 290px;
}
.span3 {
width: 210px;
}
.span2 {
width: 130px;
}
.span1 {
width: 50px;
}
[class*="span"].hide,
.hidden {
display: none;
visibility: hidden;
}
@media (max-width: 979px) {
.container {
width: auto;
}
}
@media (max-width: 550px) {
.feature-normal + main.container {
margin-top: 0;
padding-top: 0;
}
}
@media (max-width: 767px) {
.header .container {
margin: 0 auto;
}
.row {
margin-left: 0;
}
[class*="span"] {
display: block;
float: none;
margin-left: 0;
width: auto;
}
.span12 {
-webkit-box-sizing: border-box;
box-sizing: border-box;
moz-box-sizing: border-box;
webkit-box-sizing: border-box;
width: 100%;
}
.span1 {
display: none;
}
.span3 {
clear: both;
margin-bottom: 15px;
}
}
@media (min-width: 768px) and (max-width: 979px) {
.row {
margin-left: -20px;
zoom: 1;
}
.row:before,
.row:after {
content: "";
display: table;
line-height: 0;
}
.row:after {
clear: both;
}
[class*="span"] {
float: left;
margin-left: 20px;
}
.span12 {
width: 724px;
}
.span11 {
width: 662px;
}
.span10 {
width: 600px;
}
.span9 {
width: 538px;
}
.span8 {
width: 476px;
}
.span7 {
width: 414px;
}
.span6 {
width: 352px;
}
.span5 {
width: 290px;
}
.span4 {
width: 228px;
}
.span3 {
width: 166px;
}
.span2 {
width: 104px;
}
.span1 {
width: 42px;
}
.header .container {
width: 100%;
}
.carousel {
height: 362px;
}
.formats .format-info {
width: 350px;
}
}
@media (min-width: 979px) {
.row {
margin-left: -30px;
zoom: 1;
}
.row:before,
.row:after {
content: "";
display: table;
line-height: 0;
}
.row:after {
clear: both;
}
[class*="span"] {
float: left;
margin-left: 30px;
}
.span12 {
width: 930px;
}
.span11 {
width: 850px;
}
.span10 {
width: 770px;
}
.span9 {
width: 690px;
}
.span8 {
width: 610px;
}
.span7 {
width: 530px;
}
.span6 {
width: 450px;
}
.span5 {
width: 370px;
}
.span4 {
width: 290px;
}
.span3 {
width: 210px;
}
.span2 {
width: 130px;
}
.span1 {
width: 50px;
}
}
@media (min-width: 1230px) {
.container,
.span12 {
width: 1170px;
}
.span11 {
width: 1070px;
}
.span10 {
width: 970px;
}
.span9 {
width: 870px;
}
.span8 {
width: 770px;
}
.span7 {
width: 670px;
}
.span6 {
width: 570px;
}
.span5 {
width: 470px;
}
.span4 {
width: 370px;
}
.span3 {
width: 270px;
}
.span2 {
width: 170px;
}
.span1 {
width: 70px;
}
} .book-menu hr {
margin-bottom: 50px;
}
.book-menu h2 a {
color: #333;
font-size: 37px;
line-height: 37px;
}
.book-menu .span2 img {
width: 100%;
}
.book-menu .info h2 {
margin-bottom: 0;
}
.book-menu .info h2 a:hover {
text-decoration: none;
}
.book-menu .info p {
margin-bottom: 20px;
}
.book-menu .info .box-button {
margin-top: 0;
}
.category-books h3 {
color: #333333;
font: 38px/46px din-light, helvetica, arial;
margin-bottom: 10px;
text-transform: uppercase;
}
.formats h2 {
color: #333333;
font: 26px/32px din-light, helvetica, arial;
margin-bottom: 10px;
text-transform: uppercase;
}
.formats .format {
border-bottom: 1px dotted #999;
display: block;
margin-bottom: 20px;
padding-bottom: 40px;
}
.formats .format:last-child {
border-bottom: 0;
}
.formats .format-image {
float: left;
width: 200px;
}
.formats .format-info {
float: left;
width: 750px;
}
.formats h3 {
margin: 10px 0 10px;
}
.formats .format .buy-book select {
margin: 15px 0 10px;
}
.formats .format .buy-book input[type=image] {
margin: 10px 0;
}
.books .row {
margin-bottom: 30px;
}
.books .book {
background-color: white;
padding: 30px;
}
.books .book .book-cover {
display: block;
}
.books .book .book-cover img {
height: 300px;
width: auto;
}
.books .book .content,
.books .book .content p,
.books .book .summary {
color: #4a4a4a;
font-style: italic;
min-height: 72px;
}
.books .book .content {
height: 200px;
margin: 30px 0;
overflow-y: scroll;
padding-right: 20px;
}
.books .book .content p {
margin-top: 0;
}
.books .book .book-thumb img {
margin-top: 22px;
}
.books .book .book-thumb .paypal-add-to-cart {
margin-top: 10px;
}
.books .book h1 {
margin-bottom: 10px;
}
.books .book .box-button {
margin: 20px 0 0;
}
.further-reading {
padding: 30px 0;
}
.further-reading h2 {
color: #333;
font-size: 30px;
line-height: 37px;
}
.further-reading ul {
margin-bottom: 20px;
}
.further-reading ul li a {
color: #333;
font-style: italic;
}
.further-reading ul li a:after {
content: " \BB    ";
} @media (max-width: 480px) {
.books .row {
margin-bottom: 0;
}
.books .book {
margin-bottom: 30px;
}
}
@media (max-width: 767px) {
.formats .format-info {
margin-top: 20px;
width: 100%;
}
}
@media (min-width: 768px) and (max-width: 979px) {
.formats .format-info {
width: 350px;
}
}  .flickity-enabled {
position: relative;
}
.flickity-enabled:focus {
outline: none;
}
.flickity-viewport {
overflow: hidden;
position: relative;
height: 100%;
}
.flickity-slider {
position: absolute;
width: 100%;
height: 100%;
} .flickity-enabled.is-draggable {
-webkit-tap-highlight-color: transparent;
tap-highlight-color: transparent;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.flickity-enabled.is-draggable .flickity-viewport {
cursor: move;
cursor: -webkit-grab;
cursor: grab;
}
.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
cursor: -webkit-grabbing;
cursor: grabbing;
} .flickity-prev-next-button {
position: absolute;
top: 50%;
width: 44px;
height: 44px;
border: none;
border-radius: 0;
background: white;
background: rgba(0, 0, 0, 0.75);
cursor: pointer; -webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
.flickity-prev-next-button:hover {
background: black;
}
.flickity-prev-next-button:active {
filter: alpha(opacity=60); opacity: 0.6;
}
.flickity-prev-next-button.previous {
left: 10px;
}
.flickity-prev-next-button.next {
right: 10px;
} .flickity-rtl .flickity-prev-next-button.previous {
left: auto;
right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
right: auto;
left: 10px;
}
.flickity-prev-next-button:disabled {
filter: alpha(opacity=30); opacity: 0.3;
cursor: auto;
}
.flickity-prev-next-button svg {
position: absolute;
left: 20%;
top: 20%;
width: 60%;
height: 60%;
}
.flickity-prev-next-button .arrow {
fill: #bbb;
} .flickity-prev-next-button.no-svg {
color: #fff;
font-size: 26px;
} .flickity-page-dots {
position: absolute;
width: 100%;
bottom: -25px;
padding: 0;
margin: 0;
list-style: none;
text-align: center;
line-height: 1;
}
.flickity-rtl .flickity-page-dots {
direction: rtl;
}
.flickity-page-dots .dot {
display: inline-block;
width: 10px;
height: 10px;
margin: 0 8px;
background: #333;
border-radius: 50%;
filter: alpha(opacity=25); opacity: 0.25;
cursor: pointer;
}
.flickity-page-dots .dot.is-selected {
filter: alpha(opacity=100); opacity: 1;
}
.carousel-cell-image {
width: 100%; margin-right: 10px;
} .category-blog .entry-content {
max-height: 590px;
overflow: hidden;
position: relative;
}
.ie .category-blog .entry-content {
height: 590px;
}
.wrapper {
background: url(//www.alastairhumphreys.com/wp-content/themes/alastairhumphreys/images/icon/loading.gif) no-repeat center 70px;
margin-top: 20px;
} .comments h2 {
margin-bottom: 20px;
}
.commentlist {
display: block;
}
.commentlist .comment {
border-top: 1px dotted #999;
display: block;
margin: 30px 0 15px;
padding-top: 30px;
}
.commentlist .comment:first-child {
border-top: 0;
margin: 0 0 15px;
padding-top: 0;
}
.commentlist .author-meta span {
display: block;
}
.commentlist .author {
color: #787878;
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
line-height: 18px;
margin: 2px 0 5px;
}
.commentlist .author a {
color: #1f1f1f;
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
font-weight: bold;
line-height: 18px;
margin: 2px 0 5px;
}
.commentlist .comment-content a {
word-wrap: break-word;
word-break: break-all;
}
.commentlist .comment-content p:first-child {
margin-top: 0;
}
.commentlist .posted,
.commentlist .posted a {
color: #787878;
display: inline;
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
line-height: 18px;
}
.commentlist .edit-link {
margin-right: 10px;
}
.commentlist .reply {
display: inline;
} .subscribe-to-comments {
position: relative;
}
.subscribe-to-comments input {
left: 2px;
position: absolute;
top: 5px;
}
.comment-form {
padding-top: 20px;
}
.comment-form h2 a {
font: 27px/36px din-light, helvetica, arial;
}
.comment-form strong {
display: block;
font-size: 12px;
}
.comment-form code {
display: block;
font-size: 12px;
margin-bottom: 25px;
}
.comment-form p,
.comment-form label {
color: #191919;
display: block;
font: 18px/24px;
margin: 8px 0;
}
.comment-form .required {
color: red;
}
.comment-form form {
padding: 28px 0 20px 0;
}
.comment-form input[type="text"],
.comment-form textarea {
width: 528px;
}
.comment-form textarea {
height: 75px;
}
#cancel-comment-reply-link {
margin-left: 20px;
} @media (max-width: 480px) {
.commentlist .comment-author {
border: 0 !important;
float: none !important;
width: auto !important;
}
.commentlist .comment-author .author-meta {
display: inline-block !important;
float: none !important;
margin-top: 0 !important;
margin-bottom: 10px;
width: 170px;
}
.commentlist .comment-author .avatar {
margin-right: 10px;
}
.commentlist .comment-author {
float: none !important;
width: auto !important;
}
.commentlist .comment-content {
float: none !important;
width: auto !important;
}
} @media (max-width: 767px) {
.comment-form input[type="text"],
.comment-form textarea {
width: 90%;
}
.commentlist .comment-author {
border-right: 1px dotted #999;
margin-right: 20px;
padding-right: 10px;
}
.commentlist .comment-author .author-meta {
display: block;
float: left;
margin-top: 10px;
width: 170px;
}
.commentlist .comment-author {
float: left;
width: 30%;
}
.commentlist .comment-content {
float: left;
width: 330px;
}
} @media (min-width: 768px) and (max-width: 979px) {
.comment-form input[type="text"],
.comment-form textarea {
width: 300px;
}
.commentlist .comment-author {
border-right: 1px dotted #999;
margin-right: 20px;
padding-right: 10px;
}
.commentlist .comment-author .author-meta {
display: block;
float: left;
margin-top: 10px;
width: 170px;
}
.commentlist .comment-author {
float: left;
width: 30%;
}
.commentlist .comment-content {
float: left;
width: 330px;
}
} @media (min-width: 979px) {
.comment-form input[type="text"],
.comment-form textarea {
width: 400px;
}
.commentlist .comment-author {
border-right: 1px dotted #999;
margin-right: 20px;
padding-right: 10px;
}
.commentlist .comment-author .author-meta {
display: block;
float: left;
width: 170px;
}
.commentlist .comment-author {
float: left;
width: 30%;
}
.commentlist .comment-content {
float: left;
width: 440px;
}
} @media (min-width: 1200px) {
.commentlist .comment-author {
border-right: 1px dotted #999;
margin-right: 20px;
padding-right: 10px;
}
.commentlist .comment-author .avatar {
float: left;
margin-right: 10px;
}
.commentlist .comment-author {
float: left;
width: 30%;
}
.commentlist .comment-content {
float: left;
width: 570px;
}
}  .carousel-wrapper {
margin: 0 auto;
max-width: 1440px;
overflow: hidden;
position: relative;
width: 100%;
}
.carousel-wrapper .carousel img,
.carousel-wrapper .carousel a {
display: block;
float: left;
height: auto;
width: 100%;
}
.carousel-wrapper .next,
.carousel-wrapper .previous {
height: 49px;
margin-top: -25px;
opacity: 0.6;
position: absolute;
top: 50%;
width: 49px;
z-index: 10;
}
.carousel-wrapper .next:hover,
.carousel-wrapper .previous:hover {
opacity: 1;
}
.carousel-wrapper .next {
background: url(//www.alastairhumphreys.com/wp-content/themes/alastairhumphreys/images/icon/right.png) no-repeat;
right: 20px;
}
.carousel-wrapper .previous {
background: url(//www.alastairhumphreys.com/wp-content/themes/alastairhumphreys/images/icon/left.png) no-repeat;
left: 20px;
} .card-block-title {
margin-top: 50px;
position: relative;
margin-bottom: 70px;
}
.card-block-title a {
right: 0;
bottom: -10px;
font-size: 35px;
font-weight: 300;
position: absolute;
text-transform: uppercase;
font-family: "din-condensed", helvetica, arial;
}
.card-block-title a, .card-block-title a:visited, .card-block-title a:hover, .card-block-title a:active {
color: #1c1c1c;
}
.card {
width: calc(100% / 3);
border-left: 1px solid #cfcfcf;
}
.card:last-child {
border-right: 1px solid #cfcfcf;
}
.card .card-inner {
padding: 0 20px;
}
.card .card-image {
display: block;
margin-bottom: 25px;
}
.card .card-image img {
width: 100%;
display: block;
}
.card .card-title {
color: #524747;
font-size: 35px;
margin-bottom: 0;
text-transform: none;
}
.card .card-title a, .card .card-title a:visited, .card .card-title a:hover, .card .card-title a:active {
color: #524747;
font-size: 35px;
text-transform: none;
}
.card .card-body {
margin-top: 8px;
font-size: 18px;
line-height: 1.5;
}
.card .card-block-nav-row {
display: none;
} .image-block-flex-row {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.image-block {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
position: relative;
}
.image-block a {
display: block;
}
.image-block img {
width: 100%;
display: block;
}
.image-block img.image-block-landscape {
display: none;
}
.image-block .label-block {
top: 0;
left: 0;
right: 0;
bottom: 0px;
display: grid;
position: absolute;
}
.image-block h2.image-block-label {
margin: 0;
color: #ffffff;
line-height: 1;
-ms-flex-item-align: end;
align-self: end;
text-align: right;
justify-self: start;
-webkit-writing-mode: vertical-rl;
-ms-writing-mode: tb-rl;
writing-mode: vertical-rl;
font-size: calc(0.24 * 25vw);
padding: calc(0.12 * 25vw) calc(0.07 * 25vw);
} @media (max-width: 480px) {
.best-bits .head-bar .view-all {
clear: both;
display: block;
float: left;
margin: 5px 0 15px;
}
}
@media (max-width: 768px) {
.card-block {
margin-left: -30px;
margin-right: -30px;
}
.card-block .flex-row {
display: block;
}
.card-block .flex-row:after {
display: none;
content: 'flickity';
}
.card-block .flickity-prev-next-button {
top: auto;
bottom: -10px;
background: transparent;
}
.card-block-title {
width: 100%;
padding: 15px 0;
margin: 30px 0 0;
background: #e6e6e6;
}
.card-block-title h3 {
text-align: left;
margin-left: 60px;
}
.card-block-title a {
right: 30px;
bottom: 23px;
font-size: 20px;
}
.card {
border: 0;
width: 100%;
}
.card:last-child {
border-right: 0;
}
.card .card-image {
margin-bottom: 0;
}
.card .card-inner {
padding: 0;
position: relative;
}
.card .card-title {
top: 0;
bottom: 0;
left: 40px;
right: 20%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
position: absolute;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.card .card-title a, .card .card-title a:visited, .card .card-title a:hover, .card .card-title a:active {
top: 0;
left: 0;
right: 0;
bottom: 0;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
color: #ffffff;
font-size: 38px;
position: absolute;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
text-transform: uppercase;
}
.card .card-body {
display: none;
}
.card .card-block-nav-row {
display: block;
padding: 15px 0;
text-align: center;
background: #e6e6e6;
}
}
@media (max-width: 650px) {
.card-block-title h3 {
font-size: 24px;
margin-left: 30px;
}
.card-block-title a {
bottom: 20px;
font-size: 20px;
}
.card .card-title {
left: 30px;
}
.card .card-title a, .card .card-title a:visited, .card .card-title a:hover, .card .card-title a:active {
font-size: 24px;
line-height: 24px;
}
}
@media (max-width: 550px) {
.image-block-flex-row {
display: block;
}
.image-block img.image-block-portrait {
display: none;
}
.image-block img.image-block-landscape {
display: block;
}
.image-block h2.image-block-label {
-ms-flex-item-align: center;
align-self: center;
font-size: calc(0.4 * 25vw);
}
} @media (max-width: 979px) {
.best-bits .tabs li {
font-size: 18px;
}
} @media (min-width: 1200px) {
.best-bits .tabs {
display: inline-block;
float: left;
}
} @font-face {
font-family: '"din-2014-narrow"';
src: url(//www.alastairhumphreys.com/wp-content/themes/alastairhumphreys/font/din/light.eot);
src: url(//www.alastairhumphreys.com/wp-content/themes/alastairhumphreys/font/din/light.woff) format("woff");
font-weight: normal;
font-style: normal;
} h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
margin: 0;
color: #1c1c1c;
font-weight: 400;
text-rendering: optimizelegibility;
font-family: "din-condensed", helvetica, arial;
}
h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
color: #2c2c2c;
}
h1,
h1 a,
.h1 {
font-size: 55px;
line-height: 54px;
text-transform: uppercase;
}
h1 {
margin: 20px 0;
}
h1 small {
font-size: 18px;
}
h2,
h2 a,
.h2 {
font-size: 28px;
line-height: 36px;
text-transform: uppercase;
}
h2 {
margin-bottom: 10px;
}
h2 small {
font-size: 18px;
}
h3,
h3 a,
.h3 {
font-size: 24px;
line-height: 30px;
}
h3 small {
font-size: 14px;
}
h4,
h4,
.h4 {
font-size: 14px;
}
h4 small {
font-size: 12px;
}
h5, h6 {
line-height: 20px;
}
h5,
.h5 {
font-size: 12px;
}
h6,
.h6 {
font-size: 11px;
color: #999999;
text-transform: uppercase;
}
body {
font-weight: 300;
font-family: "din-2014", helvetica, arial;
}
p, a, span, li {
font-size: 20px;
line-height: 1.4;
}
a {
color: #6793b3;
text-decoration: none;
}
a:hover {
color: #005580;
text-decoration: underline;
}
a:focus {
outline: thin dotted #333333;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
a:hover, a:active {
outline: 0;
}
a img {
display: inline-block;
}
.row a img {
display: block;
}
p {
color: #1a1a1a;
}
p small {
color: #cccccc;
font-size: 9px;
}
.content p {
margin: 15px 0;
}
.content p a {
display: inline;
}
.content h2 {
margin: 30px 0 20px;
}
.content h3 {
margin: 20px 0 10px;
}
@media (max-width: 767px) {
p, a, span, li {
font-size: 18px;
}
h1,
.content p a {
word-wrap: break-word;
}
h1, h1 a, .h1 {
font-size: 24px;
line-height: 36px;
}
} form input[type="text"],
form input[type="email"],
form textarea,
form select {
border: 1px solid #e1e1e1;
border-radius: 2px;
color: #666;
display: block;
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;
}
form input[type="text"],
form input[type="email"],
form textarea {
padding: 6px 10px;
}
form select {
padding: 5px 6px 5px 10px;
}
form div p {
color: #666;
}
form div p em {
color: red;
}
form p {
margin: 0 0 2px;
}
.main form input[type="text"],
.main form textarea,
.main form select {
margin-bottom: 15px;
} div.wpcf7-mail-sent-ok {
border: 1px solid #398F14;
border-radius: 4px;
}
div.wpcf7-response-output {
margin: 0;
padding: 4px 10px;
} .newsletter-block {
padding-top: 90px;
padding-bottom: 20px;
}
.newsletter-block .block-title {
margin-bottom: 15px;
}
.newsletter-block form {
width: 100%;
margin: auto;
max-width: 634px;
}
.newsletter-block p {
font-size: 18px;
max-width: 360px;
margin: 0 auto 25px;
}
.newsletter-block input[type="email"], .newsletter-block button {
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
border-radius: 0;
border: 3px solid #1c1c1c;
}
.newsletter-block input[type="email"] {
padding: 8px 15px;
text-align: center;
}
.newsletter-block button {
color: #ffffff;
line-height: 1;
cursor: pointer;
font-size: 26px;
font-weight: 300;
background: #1c1c1c;
padding: 8px 5px 10px;
letter-spacing: 0.06em;
text-transform: uppercase;
font-family: "din-condensed", helvetica, arial;
} form.search input[type="text"] {
width: 160px;
}
.large-form form.search input[type="text"] {
font: italic 100 18px/30px din-light, helvetica, arial;
padding: 12px 12px 10px 12px;
width: 50%;
}
.large-form form.search input[type="submit"] {
font: 22px/22px din-light, helvetica, arial;
height: 54px;
margin: 0;
padding: 5px 30px 0;
}
::-webkit-input-placeholder { color: #e6e6e6;
font-size: 18px;
}
:-ms-input-placeholder { color: #e6e6e6;
font-size: 18px;
}
::-ms-input-placeholder { color: #e6e6e6;
font-size: 18px;
}
::placeholder { color: #e6e6e6;
font-size: 18px;
} .gallery-thumbs {
margin: 10px auto 0;
}
.gallery-thumbs a img {
display: block;
}
.gallery-thumbs .right {
margin-right: 0 !important;
}
.gallery-thumbs .post-thumb {
height: auto;
} @media (max-width: 767px) {
.gallery-thumbs {
text-align: center;
width: 100% !important;
}
.gallery-thumbs a img {
width: 100%;
}
.gallery-thumbs .post-thumb {
display: inline-block !important;
float: none !important;
max-width: 320px;
margin: 0 0 5px !important;
overflow: hidden;
width: 100%;
}
} @media (max-width: 1199px) {
.gallery-thumbs .post-thumb {
display: inline-block;
float: left;
}
.gallery-thumbs {
width: 805px;
}
.gallery-thumbs .large {
margin-right: 0;
}
.gallery-thumbs .post-thumb {
margin: 5px;
}
} @media (min-width: 979px) {
.gallery-thumbs .post-thumb {
display: inline-block;
float: left;
}
} @media (min-width: 1200px) {
.gallery-thumbs {
width: 1230px;
}
.gallery-thumbs .fl-right {
float: right;
}
.gallery-thumbs .post-thumb {
margin: 0 10px 10px 0;
}
.gallery-thumbs .small,
.gallery-thumbs .medium {
height: 213px;
}
.gallery-thumbs .small {
width: 238px;
}
.gallery-thumbs .medium {
width: 362px;
}
.gallery-thumbs .large {
height: 436px;
width: 610px;
}
} @media (min-width: 1600px) {
.gallery-thumbs {
width: 1600px;
}
.gallery-thumbs .small,
.gallery-thumbs .medium {
height: 280px;
}
.gallery-thumbs .small {
width: 310px;
}
.gallery-thumbs .medium {
width: 475px;
}
.gallery-thumbs .large {
height: 570px;
width: 795px;
}
.page-template-page-gallery-php .feature-normal {
width: 1600px;
}
} html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
body {
margin: 0;
color: #1c1c1c;
font-size: 16px;
line-height: 24px;
}
.header-newsletter-block {
display: none;
background: #1c1c1c;
}
.header-newsletter-block .fa-times-circle {
top: 30px;
right: 30px;
color: #ffffff;
cursor: pointer;
font-size: 30px;
position: absolute;
}
@media (max-width: 480px) {
.header-newsletter-block .fa-times-circle {
top: 20px;
right: 20px;
font-size: 20px;
}
}
.header-newsletter-block .newsletter-block {
padding: 55px 20px 60px;
}
.header-newsletter-block .newsletter-block .h1, .header-newsletter-block .newsletter-block p {
color: #ffffff;
}
.header-newsletter-block .newsletter-block input[type="email"],
.header-newsletter-block .newsletter-block button {
border: 3px solid #ffffff;
}
.header-newsletter-block .newsletter-block button {
color: #ffffff;
background: #1c1c1c;
} .header {
width: 100%;
text-align: center;
}
.header .container {
margin-top: 0;
max-width: 1384px;
padding-top: 20px;
padding-bottom: 10px;
width: calc(100% - 60px);
}
.header .newsletter-block,
.header .search-block {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: calc(100% / 4);
}
.header .newsletter-block {
padding-top: 0;
cursor: pointer;
text-align: left;
padding-bottom: 0;
text-transform: uppercase;
}
.header .newsletter-block img {
max-width: 100%;
margin-right: 12px;
}
.header .newsletter-block p, .header .newsletter-block span {
font-size: 17px;
font-weight: 400;
line-height: 17px;
font-family: "din-condensed", helvetica, arial;
}
.header .newsletter-block p {
margin: 0;
}
.header .newsletter-block span {
color: #bdbdbd;
}
.header .logo-wrapper {
width: calc(100% / 2);
}
.header .logo-wrapper a, .header .logo-wrapper a:visited, .header .logo-wrapper a:hover, .header .logo-wrapper a:active {
color: #1c1c1c;
text-decoration: none;
}
.header .logo-wrapper h1, .header .logo-wrapper h2 {
margin: 0;
}
.header .logo-wrapper h1, .header .logo-wrapper h1 a {
font-size: 52px;
line-height: 50px;
}
.header .logo-wrapper h2, .header .logo-wrapper h2 a {
font-size: 23px;
line-height: 21px;
}
@media (max-width: 940px) {
.header .logo-wrapper h2, .header .logo-wrapper h2 a {
font-size: 20px;
line-height: 15px;
}
}
.header .logo-wrapper h1.logo {
margin-bottom: 8px;
}
.header .logo-wrapper h1 a {
letter-spacing: 0.06em;
}
.header .logo-wrapper h2 a {
font-weight: 300;
letter-spacing: 0;
font-family: "din-2014", helvetica, arial;
}
.header .search-block {
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
}
.header .search-block .search {
position: relative;
}
.header .search-block input:focus {
outline: none;
}
.header .search-block .field {
height: 31px;
border: none;
padding: 6px 30px 6px 0;
border-bottom: 2px solid #1c1c1c;
}
.header .search-block .submit {
top: 0;
right: 0;
padding: 0;
width: 31px;
height: 31px;
border: none;
position: absolute;
background: url(//www.alastairhumphreys.com/wp-content/themes/alastairhumphreys/images/icon/search-glass.png) no-repeat;
}
.header #navigation {
position: relative;
}
.header .social-icons {
top: 7px;
right: 0;
margin: 0;
position: absolute;
}
.header .social-icons li {
display: inline-block;
}
.header .social-icons li:first-child a {
padding-left: 0;
}
.header .social-icons li:last-child a {
padding-right: 0;
}
.header .social-icons a, .header .social-icons a:visited, .header .social-icons a:hover, .header .social-icons a:active {
color: #1c1c1c;
font-size: 34px;
padding: 0 10px;
}
nav {
margin: 18px 0;
}
nav .menu {
margin: 0;
display: inline-block;
}
nav .menu li {
list-style: none;
position: relative;
display: inline-block;
}
nav .menu li a {
color: #1c1c1c;
font-size: 26px;
font-weight: 300;
line-height: 26px;
padding: 15px 30px;
display: inline-block;
letter-spacing: 0.02em;
text-transform: uppercase;
font-family: "din-condensed", helvetica, arial;
}
nav .menu li:hover > a,
nav .menu li > a:hover,
nav .menu li.current-menu-item > a {
color: #e6e6e6;
text-decoration: none;
}
nav .menu .sub-menu {
z-index: 9;
display: none;
margin-left: 0;
text-align: left;
position: absolute;
background: #ffffff;
padding-bottom: 18px;
}
nav .menu .sub-menu.active {
display: block;
}
nav .menu li:last-child .sub-menu {
right: 0;
left: auto;
text-align: right;
}
.book-cover img {
width: 100%;
} .footer {
margin-top: 35px;
background: #e6e6e6;
}
.timeline-header {
display: none;
} .credits {
color: #929292;
font-size: 14px;
text-align: center;
background: #1c1c1c;
}
.credits .container {
margin-top: 0;
}
.credits p, .credits a {
color: #929292;
font-size: 14px;
}
.credits p {
margin: 0;
}
.credits a, .credits a:visited, .credits a:hover, .credits a:active {
color: #929292;
} .error404 h2 {
margin: 30px 0 10px;
}
.error404 .main form.search {
margin-top: 20px;
}
.error404 .main form.search .field {
width: 300px;
} .category-filter {
margin-bottom: 20px;
}
.category-filter h3 {
font-size: 14px;
} @media (max-width: 1200px) {
nav .menu > li > a {
padding: 15px;
font-size: 20px;
line-height: 20px;
}
.header .newsletter-block p, .header .newsletter-block span {
font-size: 12px;
line-height: 12px;
}
.header .newsletter-block img {
max-width: 34px;
}
.header .social-icons {
top: 10px;
}
.header .social-icons a {
padding: 0 5px;
font-size: 26px;
}
}
@media (max-width: 1075px) {
.header .logo-wrapper h1.logo {
margin-bottom: 3px;
}
.header .logo-wrapper h1, .header .logo-wrapper h1 a {
font-size: 35px;
}
.header .logo-wrapper h2, .header .logo-wrapper h2 a {
font-size: 18px;
line-height: 5px;
}
} @media (max-width: 979px) {
.blog .main .nav-tab, .woocommerce .main .nav-tab, .search .main .nav-tab {
top: -35px;
}
}
@media (max-width: 940px) {
nav .menu > li > a {
padding: 15px;
font-size: 16px;
line-height: 16px;
}
.header .container {
padding-bottom: 0;
}
.header .social-icons {
top: 5px;
}
.header .social-icons a {
font-size: 22px;
}
.header .newsletter-block p, .header .newsletter-block span {
font-size: 10px;
}
} @media (max-width: 768px) {
.header .container {
padding-top: 12px;
padding-bottom: 20px;
}
.header .newsletter-block {
width: 28px;
}
.header .newsletter-block img {
width: 100%;
max-width: 28px;
margin: 0 0 10px;
}
.header .newsletter-block p {
display: none;
}
.header .logo-wrapper {
width: auto;
}
.header .search-block {
display: none;
}
.header .social-icons {
position: relative;
}
.newsletter-block {
padding-top: 50px;
padding-bottom: 0;
}
.newsletter-block .flex-row {
display: block;
}
.newsletter-block input[type="email"] {
margin-bottom: 15px;
padding: 13px 15px 14px;
width: calc(100% - 36px);
}
.newsletter-block button {
width: 100%;
}
.newsletter-block p {
font-size: 14px;
}
.credits span {
display: block;
}
} @media (max-width: 480px) {
.header .logo-wrapper h1, .header .logo-wrapper h1 a {
font-size: 20px;
line-height: 30px;
}
.header .logo-wrapper h2, .header .logo-wrapper h2 a {
font-size: 10px;
line-height: 10px;
}
.credits {
font-size: 11px;
}
.credits p, .credits a {
font-size: 11px;
}
.credits .container {
padding-top: 15px;
padding-bottom: 15px;
}
} @media (max-width: 360px) {
.header .logo-wrapper h1, .header .logo-wrapper h1 a {
font-size: 16px;
line-height: 26px;
}
.header .logo-wrapper h2, .header .logo-wrapper h2 a {
font-size: 8px;
line-height: 8px;
}
} @media (min-width: 1200px) {
.credits .container {
padding: 15px 0;
}
}
@font-face {
font-family: 'ah-icons';
src: url(//www.alastairhumphreys.com/wp-content/themes/alastairhumphreys/font/icons/ah-icons.eot?93796802);
src: url(//www.alastairhumphreys.com/wp-content/themes/alastairhumphreys/font/icons/ah-icons.eot?93796802#iefix) format("embedded-opentype"), url(//www.alastairhumphreys.com/wp-content/themes/alastairhumphreys/font/icons/ah-icons.woff?93796802) format("woff"), url(//www.alastairhumphreys.com/wp-content/themes/alastairhumphreys/font/icons/ah-icons.ttf?93796802) format("truetype"), url(//www.alastairhumphreys.com/wp-content/themes/alastairhumphreys/font/icons/ah-icons.svg?93796802#ah-icons) format("svg");
font-weight: normal;
font-style: normal;
}   [class^="icon-"]:before, [class*=" icon-"]:before {
font-family: "ah-icons";
font-style: normal;
font-weight: normal;
speak: none;
display: inline-block;
text-decoration: inherit;
width: 1em; text-align: center;  font-variant: normal;
text-transform: none; line-height: 1em;       }
.icon-facebook:before {
content: 'r';
} .icon-rss:before {
content: '\E73A';
} .icon-google-plus:before {
content: 'y';
} .icon-instagram:before {
content: '3';
} .icon-search:before {
content: 'G';
} .icon-tumblr:before {
content: 'O';
} .icon-flickr:before {
content: 'v';
} .icon-wikipedia:before {
content: '@';
} .icon-wordpress:before {
content: '\A3';
} .icon-youtube:before {
content: '$';
} .icon-angle-down:before {
content: '\F107';
} .icon-vimeo:before {
content: '\E0E9';
} .icon-twitter:before {
content: 'P';
}  ul ul,
ul ol,
ol ol,
ol ul {
margin-bottom: 0;
}
ul.unstyled,
ol.unstyled {
margin-left: 0;
list-style: none;
}
dl {
margin-bottom: 20px;
}
dt, dd {
line-height: 20px;
}
dt {
font-weight: bold;
}
dd {
margin-left: 10px;
}
hr {
margin: 20px 0;
border: 0;
border-top: 1px dotted #c1c1c1;
border-bottom: 1px dotted #ffffff;
}
strong {
font-weight: bold;
}
em {
font-style: italic;
}
.muted {
color: #999999;
}
abbr {
font-size: 90%;
text-transform: uppercase;
border-bottom: 1px dotted #ddd;
cursor: help;
}
.list-nav li:last-child {
margin-right: 0;
padding-right: 0;
}
.list-nav li:last-child a {
margin-right: 0;
padding-right: 0;
}
.list-nav li:first-child {
margin-left: 0;
padding-left: 0;
}
.list-nav li:first-child a {
margin-left: 0;
padding-left: 0;
}
.bullet {
list-style: disc;
}
.bullet li {
margin-left: 20px;
}
.inline,
.inline li {
display: inline-block;
float: left;
list-style: none;
}
.content ul,
.content ol {
margin: 10px 0;
}
.content li {
margin-left: 20px;
}
.content article li {
margin-bottom: 5px;
}
.content ul {
list-style: disc;
}
.content ol {
list-style: decimal;
} .page-template-default h1 {
margin-bottom: 20px;
}
.page h2 {
margin-bottom: 10px;
}
.page .video {
margin: 30px 0;
}
.page-template-landing-page .feature-wide .title-block {
padding: 80px 0 40px;
}
.page-template-landing-page .feature-wide + .container article {
margin: 0 auto 200px;
max-width: 720px;
}
.page-template-landing-page .row {
margin-bottom: 10px;
margin-left: -10px;
}
.page-template-landing-page .feature-wide + .container {
margin: 0 auto;
padding: 0 30px;
text-align: center;
}
.feature-wide + .container {
position: relative;
z-index: 1;
}
.page-template-landing-page .post-thumb-wrapper .post-thumb {
margin: 0;
}
.page-template-landing-page .post-thumb-wrapper {
background-color: #fff;
padding: 10px;
}
.page-template-landing-page .row [class*="span"] {
margin-left: 10px;
}
.page-template-landing-page .footer,
.page-template-landing-page .credits {
z-index: 9;
position: relative;
} .page-more .gallery {
width: 1230px;
}
.page-more iframe {
display: block;
margin: 0;
}
.page-more .container {
margin-top: 0;
} .information-resources {
margin-top: 30px;
}
.information-resources li {
margin-left: 0;
} .testimonials h2 {
margin-bottom: 30px;
}
.testimonials blockquote {
border-bottom: 1px dotted #ccc;
margin-bottom: 25px;
padding-bottom: 25px;
}
.testimonials blockquote.last {
border-bottom: 0;
} .booking-form a {
color: #1A1A1A;
text-decoration: underline;
}
.booking-form .wpcf7 {
border-top: 1px dotted #999;
margin-top: 40px;
padding-top: 30px;
}
.booking-form .wpcf7 form {
width: 500px;
}
.booking-form form input[type="text"] {
width: 260px;
}
.booking-form form .large input[type="text"] {
width: 478px;
}
.booking-form form select {
width: 200px;
}
.booking-form form textarea {
width: 478px;
}
.booking-form form .left {
float: left;
margin-right: 20px;
width: 280px;
}
.booking-form form .right {
float: right;
width: 200px;
}
.booking-form form .button-field {
margin-right: -20px;
text-align: right;
} @media (max-width: 480px) {
.booking-form .wpcf7 form,
.booking-form form input[type="text"],
.booking-form form input[type="email"],
.booking-form form .large input[type="text"],
.booking-form form select,
.booking-form form textarea {
width: 100%;
}
.booking-form form .left {
float: none;
margin-right: 0;
width: 100%;
}
.booking-form form .right {
float: none;
width: 100%;
}
.booking-form form .button-field {
margin-right: 0;
text-align: left;
}
} @media (max-width: 768px) {
.home .main > .container {
margin-top: 0;
padding-bottom: 0;
}
.page-template-landing-page .feature-wide + .container article {
margin-bottom: 20px;
}
}     .single .gallery, .page-template-page-basic .gallery, .page-template-default .gallery {
z-index: 1;
}
.single main.container, .page-template-page-basic main.container, .page-template-default main.container {
z-index: 1;
}
.single-post
.single-post .gallery img {
display: block;
width: 100%;
z-index: 1;
}
.category-blog .post-thumb {
height: 175px;
margin-bottom: 20px;
}
.featured {
margin-top: 0 !important;
}
.featured-post {
height: 500px;
}
.single-post .entry-content blockquote {
margin-top: 20px;
}
.single-post .entry-content object {
max-width: 100%;
width: 100%;
}
.single-post .recent h2 {
margin-bottom: 10px;
}
.content .addthis_toolbox {
margin-top: 20px;
}
.content .addthis_toolbox iframe {
margin: 0;
}
.content .addthis_default_style .at300b {
padding: 0;
}
.read-comments {
border-top: 1px dotted #ccc;
display: block;
margin: 40px 0 20px;
}
.read-comments:hover {
text-decoration: none;
}
.read-comments .icon-angle-down {
background-color: #e1e1e1;
border: 15px solid white;
border-bottom: 0;
border-top: 0;
border-radius: 100%;
color: #999;
display: block;
font-size: 26px;
height: 40px;
line-height: 40px;
margin: -22px auto 0;
text-align: center;
width: 40px;
}
.read-comments:hover .icon-angle-down {
background-color: #d1d1d1;
}
.read-comments .text {
color: #333;
display: block;
font: 18px/18px din-light, sans-serif;
margin-top: 5px;
text-align: center;
}
.read-comments:hover .text {
text-decoration: none;
}
header .meta {
float: left;
margin-bottom: 20px;
width: auto;
} @media (max-width: 480px) {
.post-thumb {
height: 140px;
}
} @media (min-width: 1200px) {
.post-thumb {
height: 240px;
}
} .ymal li {
list-style: decimal;
margin-left: 25px;
padding: 5px 0 5px 20px;
}
.ymal a {
color: #1a1a1a;
font-size: 18px;
} .search h1 {
font-size: 28px;
line-height: 36px;
margin: 0 0 5px;
}
p {
margin-bottom: 20px;
}
.post-thumb {
height: 240px;
margin-bottom: 20px;
}
.main .excerpt {
margin-bottom: 25px;
}
.woocommerce ul.products {
max-width: 1200px;
margin: 0 auto;
} blockquote,
blockquote p,
blockquote a {
font-size: 18px;
line-height: 30px;
font-style: italic;
}
blockquote,
blockquote p {
color: #8d8d8d;
display: block;
margin: 10px 0 30px;
}
blockquote a {
color: #005580;
}
blockquote span,
blockquote em {
clear: both;
display: block;
font: 14px Arial, Helvetica, sans-serif;
line-height: 30px;
margin-left: 30px;
color: #999999;
}
address {
display: block;
margin-bottom: 20px;
line-height: 20px;
font-style: normal;
}
small {
font-size: 100%;
}
cite {
font-style: normal;
} .arrow-link {
background: url(//www.alastairhumphreys.com/wp-content/themes/alastairhumphreys/images/button/arrow-right.png) no-repeat right center;
color: #272727;
font-size: 14px;
font-style: italic;
padding-right: 12px;
}
.bottom {
border-bottom: 0 !important;
margin-bottom: 0;
}
.clear {
clear: both;
}
.excerpt {
color: #191919;
display: block;
font-size: 17px;
line-height: 1.5;
}
.read {
text-transform: uppercase;
}
.hidden {
display: none;
visibility: hidden;
}
.hide-text {
background-color: transparent;
border: 0;
color: transparent;
font: 0/0 a;
text-shadow: none;
}
.lead {
margin-bottom: 20px;
font-size: 20px;
font-weight: 200;
line-height: 30px;
}
.top {
margin-top: 0;
}
img.responsive {
max-width: 100%;
}
.text-center {
text-align: center;
}
.text-right {
float: right;
} .feature-wide,
.feature-normal {
margin: 0 auto;
}
.feature-wide {
position: relative;
z-index: 1;
}
.ltie9 .feature-wide {
width: auto;
}
.feature-wide img {
position: absolute;
width: 100%;
}
.feature-wide .title-block {
padding-top: 100px;
}
.feature-wide .title-block .title,
.feature-wide .title-block .subtitle {
color: white;
display: block;
position: relative;
text-align: center;
text-shadow: 1px 1px 2px #444;
}
.feature-wide .title-block .subtitle span {
display: block;
font-size: 15px;
text-align: center;
}
.feature-wide .title-block .subtitle span a {
color: white;
text-decoration: underline;
}
.feature-wide .title-block .title {
margin: 0;
padding: 0 20%;
text-transform: none;
}
.feature-wide .title-block .subtitle {
font: 30px/30px din-light, sans-serif;
padding: 10px 25% 0;
}
.feature-normal img {
display: block;
width: 100%;
} .video-container {
height: 0;
margin: 20px 0;
overflow: hidden;
padding-bottom: 56.25%;
padding-top: 30px;
position: relative;
}
.video-container iframe,
.video-container object,
.video-container embed {
height: 100%;
left: 0;
margin: 0 !important;
position: absolute;
top: 0;
width: 100%;
} .content iframe,
.content object {
margin: 20px 0;
}
.content img {
max-width: 100%;
}
.ltie9 .content img {
width: auto;
}
.content form.search {
margin-top: 30px;
}
.content .ajax-loader {
width: auto;
}
.main .excerpt {
margin: 15px 0 0;
overflow: hidden;
}
article .meta {
display: block;
font-style: italic;
margin-bottom: 30px;
}
article img {
max-width: 100%;
} .assistive-text {
position: absolute !important;
clip: rect(1px 1px 1px 1px); }
.access a.assistive-text:active,
.access a.assistive-text:focus {
background: #eee;
border-bottom: 1px solid #ddd;
color: #1982d1;
clip: auto !important;
font-size: 12px;
position: absolute;
text-decoration: underline;
top: 0;
left: 7.6%;
}
.clearfix, .subscribe, .container {
*zoom: 1;
}
.clearfix:before, .subscribe:before, .container:before,
.clearfix:after, .subscribe:after, .container:after {
display: table;
content: "";
}
.clearfix:after, .subscribe:after, .container:after {
clear: both;
}
.post-date {
margin-top: 20px;
}
.post-date a:hover {
text-decoration: none;
}
.post-date .month,
.post-date .year {
color: #d2d2d2;
display: block;
font: 45px/40px din-light, helvetica, arial;
} .post-categories li {
display: inline-block;
float: left;
margin: 0 7px 7px 0;
}
.post-categories li a {
border: 1px solid #cfcfcf;
color: #333;
display: block;
font: bold 11px Arial, Helvetica, sans-serif;
padding: 4px 10px;
text-transform: uppercase;
}
.post-categories li a:hover,
.post-categories li a.current {
border: 1px solid #333;
color: #000;
text-decoration: none;
}
.post-categories li a.current {
cursor: default;
} .next-previous {
margin: 20px 0;
}
.next-previous div a {
background-color: #4e4e4e;
border-radius: 3px;
color: #fff;
font: 14px/14px din-light, helvetica, arial;
padding: 9px 20px 7px;
text-transform: uppercase;
}
.next-previous div a:hover {
background-color: black;
text-decoration: none;
}
.next-previous .previous a {
float: left;
}
.next-previous .next a {
float: right;
} .posts {
background-color: #fff;
}
.posts .post-thumb {
height: 175px;
margin-bottom: 20px;
}
.post-thumb {
display: block;
overflow: hidden;
position: relative;
}
.post-thumb span {
background: url(//www.alastairhumphreys.com/wp-content/themes/alastairhumphreys/images/background/dark.png);
bottom: 0px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
moz-box-sizing: border-box;
webkit-box-sizing: border-box;
color: #fff;
font: 18px din-light, sans-serif;
left: 0px;
padding: 5px 10px;
position: absolute;
width: 100%;
}
.post-thumb img {
width: 100%;
}
.post-thumb:hover span {
background: url(//www.alastairhumphreys.com/wp-content/themes/alastairhumphreys/images/background/darker.png);
opacity: 0.8;
} .link-list {
margin-bottom: 100px;
}
.link-list li {
display: block;
}
.link-list li a {
color: #1a1a1a;
font-size: 18px;
line-height: 28px;
}
.link-list li a:after {
content: "\BB   ";
}
.link-list.one-column li {
display: block;
} .paypal-add-to-cart img {
width: auto;
} .edd-submit.button.blue {
padding: 10px 30px;
} .wp-paginate {
margin-top: 30px !important;
}
.wp-paginate .current {
background: #333 !important;
border: 1px solid black !important;
} .subscribe {
display: block;
}
.subscribe input[type="text"] {
border: 1px solid #d0d0d0;
border-right: 0;
color: #797979;
float: left;
font-size: 11px;
padding: 7px 5px 6px;
}
.subscribe input[type="submit"] {
background: #1a1a1a;
border: none;
color: #fff;
float: left;
font-family: din-light, helvetica, arial;
height: 27px;
line-height: 27px;
} .visible-phone {
display: none;
}
.visible-tablet {
display: none;
}
.hidden-desktop {
display: none;
}
.visible-desktop {
display: inherit;
} @media (max-width: 480px) {
.feature-wide .title-block {
padding: 20px 3% 0;
}
.feature-wide .title-block .title {
font-size: 20px;
line-height: 30px;
}
.feature-wide .title-block .subtitle {
display: none;
}
} @media (max-width: 767px) {
.hidden-desktop {
display: inherit;
}
.visible-desktop {
display: none;
}
.visible-phone {
display: inherit;
}
.hidden-phone {
display: none;
}
.post-thumb span {
font-size: 18px;
line-height: 26px;
padding: 5px 3%;
}
.main .excerpt {
margin: 15px 0 30px;
}
.link-list.two-column li,
.link-list.three-column li {
display: block;
}
.subscribe input[type="text"] {
width: 120px;
}
.feature-wide .title-block {
padding: 100px 3% 0;
}
.feature-wide .title-block .title {
font-size: 30px;
line-height: 30px;
}
.feature-wide .title-block .subtitle {
display: none;
}
} @media (min-width: 768px) and (max-width: 979px) {
.hidden-desktop {
display: inherit;
}
.visible-desktop {
display: none;
}
.visible-tablet {
display: inherit;
}
.hidden-tablet {
display: none;
}
.post-thumb span {
font-size: 14px;
line-height: 18px;
padding: 5px 7px;
}
.link-list.two-column li,
.link-list.three-column li {
float: left;
margin-right: 2%;
width: 48%;
}
.subscribe input[type="text"] {
width: 230px;
}
.feature-wide .title-block {
padding-top: 80px;
}
.feature-wide .title-block .title {
font-size: 38px;
line-height: 48px;
}
.feature-wide .title-block .subtitle {
font-size: 20px;
line-height: 20px;
}
} @media (min-width: 979px) {
.post-thumb span {
font-size: 15px;
line-height: 20px;
padding: 5px 7px;
}
.link-list.two-column li {
float: left;
margin-right: 2%;
width: 48%;
}
.link-list.three-column li {
float: left;
margin-right: 2%;
width: 31%;
}
.subscribe input[type="text"] {
width: 230px;
}
.feature-wide .title-block {
padding-bottom: 170px;
padding-top: 170px;
}
.feature-wide .title-block .title {
font-size: 65px;
line-height: 65px;
}
.feature-wide .title-block .subtitle {
font-size: 20px;
line-height: 30px;
}
} @media (min-width: 1200px) {
.post-thumb span {
font-size: 18px;
line-height: 26px;
padding: 5px 10px;
}
.feature-normal {
width: 1230px;
}
.feature-wide .title-block {
padding-bottom: 250px;
padding-top: 250px;
}
} @media (min-width: 1600px) {
.feature-wide {
max-width: 1600px;
}
}
.menu-footer-container {
margin: auto;
max-width: 970px;
}
.menu-footer-container ul {
margin: 0;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.menu-footer-container ul li {
width: 25%;
list-style: none;
text-align: center;
}
.menu-footer-container ul li:nth-child(4n + 1) {
text-align: left;
}
.menu-footer-container ul li:nth-child(4n + 4) {
text-align: right;
}
.menu-footer-container ul li a, .menu-footer-container ul li a:visited, .menu-footer-container ul li a:hover, .menu-footer-container ul li a:active {
color: #1c1c1c;
padding: 3px 0;
display: block;
font-size: 21px;
font-weight: 300;
text-transform: uppercase;
font-family: "din-condensed", helvetica, arial;
}
@media (max-width: 768px) {
.menu-footer-container ul li {
width: 50%;
}
.menu-footer-container ul li:nth-child(2n + 1) {
text-align: left;
}
.menu-footer-container ul li:nth-child(2n + 2) {
text-align: right;
}
.menu-footer-container ul li a {
font-size: 16px;
}
}
#nav-tab {
width: 28px;
height: 21px;
display: none;
cursor: pointer;
margin-top: 9px;
background-image: url(//www.alastairhumphreys.com/wp-content/themes/alastairhumphreys/images/button/tab-nav.gif);
background-repeat: no-repeat;
background-size: 28px 21px;
}
.header .search-block.menu-search-block {
display: none;
}
@media (max-width: 768px) {
#nav-tab {
display: block;
}
#nav-tab.nav-tab-active {
height: 28px;
background-image: url(//www.alastairhumphreys.com/wp-content/themes/alastairhumphreys/images/button/tab-nav-close.gif);
background-size: 28px;
}
.header .container .flex-row {
margin-left: -6px;
margin-right: -8px;
}
.header #navigation {
right: 0;
top: 87px;
left: 68px;
z-index: 9;
display: none;
position: absolute;
background: #ffffff;
}
.header #navigation.touch-menu {
display: block;
}
.header #navigation nav {
margin: 0;
}
.header #navigation nav .menu {
margin-top: 40px;
}
.header #navigation nav .menu li {
position: relative;
margin-right: -60px;
display: block !important;
}
.header #navigation nav .menu li .sub-menu {
text-align: right;
position: relative;
margin-right: 60px;
border-top: 3px solid #1c1c1c;
border-bottom: 3px solid #1c1c1c;
}
.header #navigation nav .menu li a {
display: block;
font-size: 30px;
line-height: 30px;
padding: 9px 60px 9px 9px;
}
.header #navigation nav .menu li.menu-item-has-children > a:after {
right: 0;
top: 16px;
width: 18px;
content: "";
height: 15px;
position: absolute;
display: inline-block;
background-size: 18px 15px;
background-image: url(//www.alastairhumphreys.com/wp-content/themes/alastairhumphreys/images/button/caret-down.gif);
}
.header #navigation .menu-search-block {
width: auto;
display: block;
margin-top: 5px;
}
.header #navigation .menu-search-block form {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
}
.header #navigation .menu-search-block .submit {
top: 8px;
width: 26px;
height: 26px;
background-size: 26px;
}
.header #navigation .social-icons {
margin-top: 60px;
text-align: right;
}
.header #navigation .social-icons li a {
padding: 8px 0;
}
.header #navigation .social-icons li,
.header #navigation .social-icons li a {
display: block;
font-size: 36px;
line-height: 36px;
}
.menu-primary-menu-container {
text-align: right;
}
}
@media (max-width: 480px) {
.header #navigation {
top: 72px;
}
.header #navigation nav .menu {
margin-top: 20px;
}
.header #navigation nav .menu li a {
font-size: 20px;
padding: 5px 60px 5px 9px;
}
}
@media (max-width: 360px) {
.header #navigation {
top: 66px;
}
}