@charset "UTF-8";

/* weeklyworker.co.uk stylesheet */

* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 0 0;
padding: 0 0;
}

.clearfix {
clear: both;
line-height: 2;
}

/* Typography setup */

body {
line-height: 20px;
font-family: Georgia, Times, serif;
color: #333;
}

body, h3, .sidebar h4, #article h4  {
font-size: 15.5px;
}

.sidebar .feature>h4 {
font-size: 13px;
}

h1, h3, h4, h5, h6, #pages li:first-of-type {
font-family: Arimo, Arial, sans-serif;
}

p {
word-break: break-word;
word-wrap: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}

p, h1, h2, h3, h4, h5, h6, ul li, ol li, img {
margin: 20px 0;
}

h1 {
line-height: 40px;
font-size: 30px;
}

.page h1 {
border-bottom: 1px dotted #ccc;
line-height: 39px;
}

h2 {
font-size: 20px;
}

.page h2, h3, #article h4, #footer {
margin-top: 40px;
}

#author h2, h3, #footer {
margin-top: 40px;
}

#archive h3 {
margin-top: 20px;
}

h4, h5, h6, #mobilepages, #pages {
font-size: 13px;
}

h4 {
}

h6 {
color: #999;
}

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

ul {
list-style-type: square;
}

test {
}

test2 {

}

sup {
vertical-align: top;
}

sub {
vertical-align: bottom;
}

a, #parents a:hover, ul#catnav li a:hover  {
text-decoration: none;
}

#parents a, #children a, #mobileparents a {
color: #333;
}

a:hover, ul#pages li.current a, ul#catnav li.prev a:hover, ul#catnav li.next a:hover {
text-decoration: underline;
}

a:visited {
color: #a31c26;
}

a, a:hover .fa, #header li.current a, #header a:hover, .mobilebtn a:hover .fa, .searchbtn a:hover .fa, ul#catnav li.prev a:hover, ul#catnav li.next a:hover  {
color: #e31922;
}

#parents a:hover, .mobilebtn a .fa, .searchbtn a .fa, #outer .list>h3:first-of-type, #outer .list>h3:first-of-type .fa, .feature a, .content img+h4, ul#catnav li a:hover, ul#catnav li.current a, #parents li.current a {
color: #fff;
}

#parents a:hover, #parents li.current a, .mobilebtn a .fa, .searchbtn a .fa, ul#catnav li a:hover, ul#catnav li.current a {
background-color: #e31922;
}

.content p {
    word-wrap: break-word;
}

/* Blockquotes */

blockquote {
padding: 10px;
background-color: #f2f2f2;
}

blockquote>:first-child {
margin-top: 0;
}

blockquote>:last-child {
margin-bottom: 0;
}

/* Images + captions */

img {
display: block;
width: 100%;
}

img.halfpic{
width: 50%;
float: right;
padding-left: 10px;
margin: 0px 0 20px;
}

#widelogo {
display: none;
}

img.logo {
width: 50%;
width: 120px;
height: 40px;
padding-bottom: 1px;
display: block;
float: left;
margin: 10px 0 0;
}



#article img+h4 {
margin: -40px 0 0;
position: relative;
background: rgba(0,0,0,0.6);
padding: 0 5px;
font-size: 13px;
}

/* Icons */

.fa {
padding: 0 10px;
color: #555;
}

#header ul li .fa {
padding-right: 0;
}

ul#parents li .fa , ul#mobileparents li .fa, .content a .fa, .widgetcontent .fa {
padding-left: 0;
}

a .fa {
color: #555;
}

.mobilebtn a .fa, .searchbtn a .fa {
padding: 5px 8px;
border-radius: 4px;
line-height: 20px;
}

.mobilebtn a:hover .fa, .mobilebtnactive a .fa, .searchbtn a:hover .fa, .searchbtnactive a .fa {
background-color: #f2f2f2;
}

.mobilebtnactive a .fa {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}

.mobilebtn.mobilebtnactive a .fa, .searchbtn.searchbtnactive a .fa {
color: #e31922;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
padding-bottom: 20px;
}

/* Layout */

#container {
min-width: 240px;
max-width: 480px;
margin: 0 auto;
}

#mobilenav, #mobilenav h3, #mobilemenu, #mobilesearch, .sidebar, #footer, #pages li:first-of-type, ul#catnav li.prev {
float: left;
}

#mobilenav {
display: inline-block;
}

#header, .content, .sidebar, #footer {
padding: 0 20px;
float: left;
}

#header, #footer, #header ul, #footer ul {
clear: both;
width: 100%;
}

.sidebar {
width: 100%;
max-width: 250px;
}

/* Menus setup */

#header ul, #footer ul, ul#rates {
list-style-type: none;
display: block;
padding-left: 0;
}

ul#pages, ul#parents, ul#children, #searchform {
display: none;
}

#footer ul li {
display: inline-block;
margin: 0 0;
}

/* contact form */

.my-form {
    margin-bottom: 20px;
}

/* Mobile menu */

#mobilenav {
width: 100%;
border-bottom: 1px solid #ccc;
margin: 0 0;
padding: 0 0 9px;
}

#mobilenav h2 {
display: inline-block;
margin: 20px 0 0px;
float: right;
padding-left: 5px;
font-size: 15.5px;
}


#header h6 {
font-style: italic;
margin: 0 0 20px;
}

#mobilemenu, #mobilesearch {
background-color: #f2f2f2;
padding: 0 10px;
width: 100%;
display: none;
}

#mobilesearchform {
margin: 10px 0;
}

ul#mobileparents li a {
border-bottom: 1px dashed #ccc;
display: block;
line-height: 19px;
}

ul#mobileparents li:last-of-type a {
border-bottom: 0px none;
line-height: 20px;
}


/* Pages menu */

#pages {
border-bottom: 1px solid #ccc;
text-align: right;
line-height: 19px;
}

#pages li {
padding: 0 5px;
}

#pages li:first-of-type {
padding-left: 0;
font-style: italic;
font-weight: bold;
color: #999;
}

#pages li:last-of-type {
padding-right: 0;
}

/* Categories menu */

ul#parents {
background-color: #fff;
border-top: 1px solid #ccc;
border-bottom: 2px solid #333;
height: 30px;
line-height: 30px;
font-size: 12px;

}

#parents li {
height: 14px;
line-height: 14px;
border-left: 1px solid #ccc;
}

#parents li a {
padding: 0 12px;
margin: -10px 0;
height: 30px;
line-height: 30px;
}

#parents li.current a {
margin-left: -1px;
}

#parents li:first-of-type, #parents li:last-of-type{
border-left: 0px none;
}

#parents li:first-of-type a, #parents li:last-of-type a {
margin-left: 0px;
}

#parents li:last-of-type {
float: right;
height: 30px;
line-height: 30px;
}

/* Subcategories menu */

ul#children {
font-size: 12px;
margin-top: 2px;
border-top: 1px solid #333;
border-bottom: 1px solid #333;
}

#children li a {
padding: 4px 6px 3px;
}


/* Next / previous article */

#nextprev {
border-top: 1px solid #ccc;
padding: 19px 0 0;
}

#nextprev p {
margin: 0 0;
}

#nextprev p:nth-of-type(2) {
text-align: right;
}

/* Category pagination */

ul#catnav {
text-align: center;
}

ul#catnav li {
margin: 0px 0;
padding: 0 4px;
}

ul#catnav li a {
padding: 4px 10px;
}

ul#catnav li.prev a, ul#catnav li.next a {
padding: 4px 0;
}

ul#parents li:last-of-type a, ul#catnav li.prev a:hover, ul#catnav li.next a:hover {
background-color: #fff;
}

ul#catnav li.next {
float: right;
}

.pagination {
text-align: center;
}

.endless_page_link, .endless_separator {
margin: 0 10px;
}

.endless_page_link:first-of-type {
margin-left: 0;
float: left;
}

.endless_page_link:last-of-type {
margin-right: 0;
float: right;
}

.first_page .endless_page_link:first-of-type {
float: none;
}

.last_page .endless_page_link:last-of-type {
float: none;
}

.first_page .endless_page_current {
    margin-right: 20px;
}

.last_page .endless_page_current {
    margin-left: 20px;
}

/* Footer menu */

ul#footermenu li:after {
content:"--";
padding: 0 12px;
}

ul#footermenu li:last-of-type:after {
content:"";
padding: 0 0;
}

/* Subs table */

ul.ratesthin {

}

ul.ratesthin li {

}

ul.ratesthin li:first-of-type {
list-style-type: none;
margin-left: 0;
font-weight: bold;
padding-bottom: 19px;
border-bottom: 1px solid #ccc;
}

ul#rates {
font-size: 13px;
display: none;
}

ul#rates li {
display: inline-block;
width: 25%;
float: left;
margin: 0 0;
padding: 20px 10px 19px;
background-color: #ddfcff;
min-height: 60px;
border-bottom: 1px solid #ccc;
text-align: center;
}

ul#rates li:nth-of-type(even) {
background-color: #dde5ff;
}

ul#rates li:first-of-type, ul#rates li:nth-of-type(2), ul#rates li:nth-of-type(3), ul#rates li:nth-of-type(4), ul#rates li:nth-of-type(5), ul#rates li:nth-of-type(9), ul#rates li:nth-of-type(13) {
font-weight: bold;
background-color: #fff;
}

ul#rates li:first-of-type, ul#rates li:nth-of-type(2), ul#rates li:nth-of-type(3), ul#rates li:nth-of-type(4) {
border-left: 1px solid #eee;
border-bottom: 1px solid #333;
}

ul#rates li:first-of-type {
border-left: 0px none;
}

ul#rates li:nth-of-type(5), ul#rates li:nth-of-type(9), ul#rates li:nth-of-type(13) {
padding-left: 0;
text-align: left;
}

.address p {
font-weight: bold;
margin: 0 0;
text-align: center;
}


/* Archive pages */

.pageheader {
display: inline-block;
width: 100%;
margin: 20px 0 0;
padding: 10px 0 0;
border-bottom: 1px dotted #ccc;
border-top: 1px dotted #ccc;
}

.pageheader h5, .pageheader h6 {
margin: 0 0 7px;
display: inline-block;
}

.pageheader h6 {
float: right;
}

h6.bar {
background-color: #f2f2f2;
padding: 0 10px;
text-transform: uppercase;
line-height: 19px;
border-bottom: 1px solid #ccc;
width: 100%;
margin: 20px 0 20px;
float: left;
}

h6.bar+h3 {
margin-top: 20px;
}

.feature {
display: inline-block;
}

.holder {
width: 100%;
float: left;
}

.half {
width: 100%;
}

.feature h4 {
margin: -60px 0 0px;
position: relative;
background: rgba(0,0,0,0.6);
min-height: 60px;
padding: 10px 0;
}

.feature img, .half img {
margin-bottom: 0;
}

.sidebar .feature img {
margin-top: 0;
}

#category p, #issue p, #archive .holder, #issue .holder {
padding-bottom: 19px;
border-bottom: 1px solid #ccc;
margin-bottom: 20px;
}

#archive .holder>p:last-of-type {
margin-bottom: 0;
}

#issue>p:first-of-type {
border: 0px none;
padding: 0;
margin-bottom: 0;
}

#issue>p:nth-of-type(2) {
text-align: right;
}

#archive img, #issue .holder .half img {
border: 1px solid #777;
}

/* Sidebar typography */

.widgetcontent>h3:first-of-type {
line-height: 20px;
padding: 10px 0 7px;
border-top: 2px solid #ccc;
border-bottom: 1px solid #ccc;
background-color: #fff;
}

p.sharethis {
margin-bottom: 0;
}

.activeclick {
color: #777;
}

.list p, .list ul li {
border-bottom: 1px dashed #ccc;
padding-bottom: 19px;
}

.list p.viewall {
border-bottom: 0px none;
padding-bottom: 0;
text-align: right;
}

#outer>.widgetcontent:first-of-type>h3:first-of-type {
margin-top: 20px;
}

#outer .list>h3:first-of-type {
border-top: 0px none;
border-bottom: 3px solid #e31922;
background-color: #333;
}

#outer .list {
background-color: #f2f2f2;
}

#outer .list p, #outer .list h4, .feature h3, .feature h4, #outer .list>h3:first-of-type {
padding-left: 10px;
padding-right: 10px;
}

ul.categories, ul.author {
padding-left: 0;
}

ul.categories {
list-style: none;
}

/* Forms */

form {
height: 20px;
}

.searchform {
width: 100%;
float: right;
height: 20px;
margin: 0px 0 0;
}

#mobilesearchform {
}

#widesearch {
width: 50%;
display: none;
margin-top: 70px;
padding-left: 10px;
}

#search {
width: 70%;
font-size: 10px;
height: 20px;
}

#submitbut {
width: 30%;
height: 20px;
font-size: 10px;
}

#widesearch #search {
width: 78%;
}

#widesearch #submitbut {
width: 20%;
}

select {
width: 100%;
font-size: 15.5px;
}

#subscribe form {
height: auto;
display: inline-block;
float: left;
width: 100%;
max-height: 90px;
}

/* Footer */

#footerinner {
border-top: 2px solid #333;
padding: 18px 0 0;
background-color: #f2f2f2;
text-align: center;
float: left;
width: 100%;
}

#footer h6 {
text-align: left;
padding: 0 10px;
}

#footer img {
width: auto;
padding: 0 10px 0 10px;
float: left;
padding-top: 3px;
}

ul#footermenu {

}


/* Media queries */

@media screen and (min-width: 420px) {

#mobilenav h2 {
margin: 50px 0 0px;
}

img.logo {
margin: 20px 0 0;
width: 100%;
max-width: 210px;
height: auto;
}

#mobilenav {
padding-bottom: 19px;
}

#mobilenav h2 {
font-size: 20px;
}

.mobilebtn a .fa, .searchbtn a .fa {
padding: 10px 12px;
}

.half {
width: 50%;
}

.half:nth-of-type(odd) {
padding-right: 10px;
float: left;
}

.half:nth-of-type(even) {
padding-left: 10px;
float: right;
}

.full h4 {
font-size: 15.5px;
margin: -60px 0 0;
min-height: 60px;
}

}

@media screen and (min-width: 480px) {


ul.ratesthin {
display: none;
}

ul#rates {
display: inline-block;
}

#mobilenav h4 {
display: inline-block;
}

.searchform {
margin-top: 0;
}

#header ul {
float: left;
width: 50%;
clear: none;
}

ul#mobileparents {
padding-right: 10px;
}

ul#mobilepages {
padding-left: 10px;
}

.sidebar {
width: 50%;
}

#outer>.widgetcontent:first-of-type>h3:first-of-type {
margin-top: 40px;
}

}

@media screen and (min-width: 720px) {

#header h6 {
display: none;
}

#container {
max-width: 720px;
}

.content {
float: left;
}

.content {
width: 66.6666%;

}

.sidebar {
width: 33.3333%;
}

.sidebar p, .sidebar h4 {
font-size: 13px;
}

#inner, #outer {
padding-right: 20px;
padding-left: 10px;
}

#inner>.widgetcontent:first-of-type>h3:first-of-type, #outer>.widgetcontent:first-of-type>h3:first-of-type {
margin-top: 20px;
}

#header ul {
width: 100%;
clear: both;
display: block;
font-size: 12px;
}

#header ul li {
display: inline-block;
margin: 0 0;
}

#header ul li a {
display: inline-block;
}

ul#parents {
display: table;
}

ul#pages, ul#children {
display: block;
}

#widesearch {
display: inline;
}

#mobilenav, #mobilenav h2, #mobilesearchform {
display: none;
}

#widelogo {
display: block;
margin-bottom: 20px;
}

}

@media screen and (min-width: 840px) {

#container {
max-width: 960px;
}

.content {
width: 50%;
}

.sidebar {
width: 25%
}

#inner {
padding: 0 20px 0 10px;
}

#outer {
padding: 0 20px 0 10px;
}

h1 {
line-height: 40px;
font-size: 32px;
}

}

@media screen and (min-width: 920px) {


ul#pages li {
padding: 0 11px;
}

ul#parents {
font-size: 15.5px;
}

ul#pages, ul#children {
font-size: 13px;
}

#children li a {
padding: 4px 12px 3px;
}

}
