/*
Theme Name: BYC
Theme URI: http://lofgren.co.uk
Description: Beyond Youth Custody theme
Version: 1.0
Author: Mats Lofgren
Author URI: http://lofgren.co.uk
*/

/* RESET */

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, sub, sup, tt, var,b, u, i, center,dl, dt, dd, fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td, ul, ol, li, 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;
}


/* CLEARFIX */

.clearfix {
    zoom: 1;
}
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}


/* BASIC STYLES */

h1,h2,h3,h4 {
    font-family: Arial, sans-serif;
    font-weight:bold;
    font-style:normal;
}

h2 {
    font-size: 2.2em;
    color: #333;
    margin-bottom: 0.2em;
}

h4 a {
    font-family: arial, sans-serif;
    font-size: 1.5em;
    font-weight: normal;
    color: #ed1944;
}

h4 a:hover {
    color: #444;
}

.slideralt {
    display: none;
}

.slideralt img {
    max-width: 100%;
}

.slideralt h2 {
    color: #fff;
    padding: 0 10px;
    line-height: 110%;
}

.slideralt p {
    color: #fff;
    padding: 0 10px 10px 10px;
}

p, li {
    font-family: arial, sans-serif;
}

strong, b {
    font-weight: bold;
}

em {
    font-style: italic;
}

.spacer {
    height: 16px;
}

.content {
    background: #fff;
    padding: 10px;
}

.eleven .content {
    background: #fff;
    padding: 10px 15px;
    margin-bottom: 20px;
}

.content strong, .content b {
    font-weight: bold;
}

.content h1 {
    padding: 0 0 10px 0;
    font-size: 2.3em;
    line-height: 110%;
}

.content h2 {
    padding: 5px 0 0 0;
    font-size: 1.8em;
    line-height: 120%;
}

.content h3 {
    padding: 4px 0 0 0;
    font-size: 1.6em;
    line-height: 120%;
}

.content img {
    max-width: 100%;
}

h2.sidebarhome {
    margin-top: 25px;
}

.postid-68 .content em {
    font-family: Arial, sans-serif;
    font-size: 1.2em;
    font-style: normal;
    display: inline;
    color: #ed1944;
    line-height: 19px;
}

.postid-68 .content p {
    padding: 8px 10px;
    line-height: 19px;
    margin: 2px 0;
}

.postid-68 .content .grey {
    background: #f2f2f2;
    padding: 8px 10px;
    line-height: 19px;
    margin: 2px 0;
}

.postid-68 .content .grey p {
    padding: 0;
    line-height: 19px;
}

.content p {
    padding: .2em 0 .9em 0;
    line-height: 146%;
}

.content ul, .content ol {
    padding: 5px 0 15px 30px;
}

.content ul li, .content ol li {
    margin: 0 0 9px 0;
}

.single .content p.date {
    padding: 0;
    line-height: 1em;
    margin: 10px 0;
}

.single-blogposts .content p.date {
    margin: 16px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
}

.projectbox h3 {
    font-family: sans-serif;
    font-size: 1.4em;
}

.content .projectbox p {
    font-size: 1em;
    margin: 4px 0 22px 0;
    padding: 0;
}

a {
    text-decoration: none;
    outline: 0;
    color: #D22630;
}

.alignright {
    text-align: right;
}

img {
    border: 0;
}

.form-allowed-tags{
    display:none;
}

.sep {
    width: 100%;
    height: 1px;
    border-bottom: 1px solid #d4d4d4;
    margin: 10px 0;
    clear: both;
}

.content p.date {
    font-size: 0.86em;
    font-weight: bold;
    margin: 6px 0;
    line-height: 110%;
    padding: 0;
}

.datebox {
    background: url("images/bg_date.png") no-repeat scroll 0 0 transparent;
    float: left;
    height: 60px;
    margin: 0 12px 20px 0;
    text-align: center;
    width: 60px;
}

.datebox .month {
    color: #FFFFFF;
    display: block;
    font-size: 0.75em;
    font-weight: bold;
    line-height: 2em;
    margin: 0 auto;
}

.datebox .number {
    font-size: 2.3em;
    font-weight: bold;
    letter-spacing: -0.03em;
    line-height: 1.3em;
    font-family: Arial, sans-serif;
}

.single-projects .content h3, .single-projects .projectbox h3 {
    font-family: sans-serif;
    font-weight: normal;
}

h3.webchannels {
    margin: 15px 0 5px 0;
}

.pubnav {
    margin-top: 10px;

}
.pubnavdiv {
    float: left;
    margin-left: 8px;
}

.pubnavdivfirst {
    float: left;
    margin-left: 0;
}

/* STRUCTURE */

body {
    margin: 0;
    padding: 0;
    background: #efefef;
    font-family: helvetica, arial, sans-serif;
    font-size: .8em;
    filter: none;
}


/* HEADER */

.toplinks {
    margin: 20px 20px 0 0;
}

.toplinks a {
    text-decoration: none;
    color: #333;
}

.toplinks a:hover {
    color: #c00;
}


/* MISSION */

.mission h3 {
    margin: 30px 0 0 40px;
    font-family: Arial, sans-serif;
    font-size: 1.7em;
    color: #ddd;
    line-height: 115%;
    font-weight:bold;
    font-style:normal;
}


/* NAVIGATION */

.menu {
    background-color: #585858;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#585858), to(#3d3d3d));
    background-image: -webkit-linear-gradient(top, #585858, #3d3d3d);
    background-image: -moz-linear-gradient(top, #585858, #3d3d3d);
    background-image: -ms-linear-gradient(top, #585858, #3d3d3d);
    background-image: -o-linear-gradient(top, #585858, #3d3d3d);
    background-image: linear-gradient(top, #585858, #3d3d3d);
    clear: both;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#585858, endColorstr=#3d3d3d);
    margin: 0 auto;
    font-family: Arial, sans-serif;
    font-weight:bold;
    font-style:normal;
}

.menu,
.menu ul {
    display: block;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu li {
    border: 0;
    display: block;
    float: left;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 5;
}

.menu li:hover {
    white-space: normal;
    z-index: 10000;
}

.menu li li {
    float: none;
}

.menu ul {
    left: 0;
    position: absolute;
    top: 0;
    visibility: hidden;
    z-index: 10;
}

.menu li:hover > ul {
    top: 100%;
    visibility: visible;
}

.menu li li:hover > ul {
    left: 100%;
    top: 0;
}

.menu:after,
.menu ul:after {
    clear: both;
    content: '.';
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

.menu,
.menu ul {
    min-height: 0;
}

.menu ul,
.menu ul ul {
    margin: 0;
    padding: 0;
}

.menu ul li a:hover,
.menu li li a:hover {
    color: #484848;
    text-decoration: none;
}

.menu ul {
    margin-top: 1px;
    min-width: 15em;
    width: auto;
}

.menu a {
    border-left: 1px solid #585858;
    color: #fff;
    cursor: pointer;
    display: block;
    font-size: 18px;
    font-weight: 400;
    height: 40px;
    line-height: 40px;
    margin: 0;
    padding: 0 0.9em;
    position: relative;
    text-decoration: none;
    text-shadow: 0 -1px 0 #000;
    font-family: Arial, sans-serif;
    font-weight:bold;
    font-style:normal;
}

.menu a:hover {
    background-color: #808080;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#808080), to(#363636));
    background-image: -webkit-linear-gradient(top, #808080, #363636);
    background-image: -moz-linear-gradient(top, #808080, #363636);
    background-image: -ms-linear-gradient(top, #808080, #363636);
    background-image: -o-linear-gradient(top, #808080, #363636);
    background-image: linear-gradient(top, #808080, #363636);
    color: #fff;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#808080, endColorstr=#363636);
}

.menu li li {
    background: #fff;
    background-image: none;
    border: 1px solid #e5e5e5;
    color: #444;
    filter: none;
    margin: -1px 0 1px 0;
    width: auto;
}

.menu li li a {
    background: transparent !important;
    border: none;
    color: #444;
    font-size: 16px;
    font-weight: 400;
    height: auto;
    height: 20px;
    line-height: 20px;
    padding: 5px 10px;
    text-shadow: none;
    white-space: nowrap;
}

.menu .current-menu-item a, .menu .current-menu-item a:hover, .post-type-archive-blogposts .menu .menu-item-716 a, .single-blogposts .menu .menu-item-716 a {
    background-color: #222;
    background-image: none;
    color: #D22630;
}

.menu li.current-menu-item li a {
    background: transparent !important;
    border: none;
    color: #444;
    font-size: 16px;
    font-weight: 400;
    height: auto;
    height: 20px;
    line-height: 20px;
    padding: 5px 10px;
    text-shadow: none;
    white-space: nowrap;
}

.menu li li a:hover {
    background: #f5f5f5 !important;
    background-image: none;
    border: none;
    color: #444;
    filter: none;
}

.menu ul > li + li {
    border-top: 0;
}

.menu li li:hover > ul {
    left: 100%;
    top: 0;
}

.menu > li:first-child > a {
    border-left: none;
}

/* =Primary Main Menu IE Fixes
-------------------------------------------------------------- */
.ie7 .menu ul {
    background: url(images/ie7-fix.gif) repeat;
}

.ie7 .menu li li a  {
    min-width: 100%;
}

/* =Responsive Menu
    TinyNav + SelectBox
-------------------------------------------------------------- */
.tinynav {
    display: none
}

.sb-holder {
    background-color: #3d3d3d;
    display: none;
    height: 30px;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

.sb-holder:focus .sb-selector {}

.sb-selector {
    display: block;
    height: 30px;
    left: 0;
    line-height: 30px;
    outline: none;
    overflow: hidden;
    position: absolute;
    text-indent: 10px;
    top: 0;
    width: 100%;
}

.sb-selector:link,
.sb-selector:visited,
.sb-selector:hover {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    outline: none;
    text-decoration: none;
    text-shadow: 0 -1px 0 #000;
}

.sb-toggle {
    background: url(images/select-icons.png) 0 6px no-repeat;
    display: block;
    height: 30px;
    outline: none;
    position: absolute;
    right: 0;
    top: 0;
    width: 30px;
}

.sb-toggle-open {
    background: url(images/select-icons.png) 0 -45px no-repeat;
}

.sb-holder-disabled {
    background-color: #3c3c3c;
    border: 1px solid #515151;
}

.sb-holder-disabled .sb-holder {}

.sb-holder-disabled .sb-toggle {}

.sb-options {
    background-color: #fff;
    list-style: none;
    left: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 30px;
    width: 100%;
    z-index: 1;
    overflow-y: auto;
}

.sb-options li {
    padding: 0;
}

.sb-options a {
    border-bottom: 1px solid #e5e5e5;
    display: block;
    font-size: 11px;
    outline: none;
    padding: 7px 4px;
    text-indent: 4px;
}

.sb-options a:link,
.sb-options a:visited {
    color: #444;
    text-decoration: none;
}

.sb-options a:hover,
.sb-options a:focus {
    background-color: #f5f5f5;
    color: #444;
}

.sb-options a.sb-focus,
.sb-options a.sb-focus:visited,
.sb-options a.sb-focus:focus {
    background-color: #c00;
    color: #eee;
}

.sb-options li.last a {
    border-bottom: none;
}

.sb-options .sb-disabled {
    border-bottom: dotted 1px #515151;
    color: #999;
    display: block;
    padding: 7px 0 7px 3px;
}

.sb-options .sb-group {
    border-bottom: dotted 1px #515151;
    color: #ebb52d;
    display: block;
    font-weight: 700;
    padding: 7px 0 7px 3px;
}

.sb-options .sb-sub {
    padding-left: 17px;
}


/* FOOTER */

.footerlinks ul {
    margin: 20px 0;
    list-style: none;
}

.footerlinks ul li {
    float: left;
    width: 110px;
    color: #fff;
    margin: 0.4em 0;
}

.footerlinks ul li a {
    color: #ddd;
}

.footerlinks ul li a:hover {
    color: #fff;
}

.footerlinks ul li.soc-twitter a {
    background: url(images/soc_icon_twitter.png) top left no-repeat;
    padding-left: 20px;
}

.footerlinks ul li.soc-linkedin a {
    background: url(images/soc_icon_linkedin.png) top left no-repeat;
    padding-left: 20px;
}

.footerlinks ul li.soc-rss a {
    background: url(images/soc_icon_rss.png) top left no-repeat;
    padding-left: 20px;
}

.footerlinks ul li.soc-newsletter a {
    background: url(images/soc_icon_newsletter.png) top left no-repeat;
    padding-left: 20px;
}

#menu-social-menu {
    margin-bottom: 10px;
}

footer {
    background: #333;
    min-height: 46px;
    clear: both;
}

footer p {
    color: #ddd;
    font-size: 1.2em;
    padding: 0;
    margin: 25px 0;
}

footer p a {
    color: #ddd;
    text-decoration: none;
}

footer p a:hover {
    color: #fff;
}

footer ul {
    float: right;
    margin: 26px 0 25px 0;
    padding: 0;
}

footer ul li {
    color: #fff;
    margin: 0 0 0 9px;
    font-size: 1.1em;
    display: inline;
}

footer ul li a {
    color: #ddd;
    text-decoration: none;
}

footer ul li a:hover {
    color: #fff;
}

.footerright {
    background: url(images/bg_biglottery.png) right top no-repeat;
    padding-right: 110px;
    min-height: 70px;
}





.contactleft {
    float: left;
    width: 420px;
}


h3#statement {
    font-size: 22px;
    padding-top: 25px;
    color: #003F62;
}

.subheadimg {
    padding: 3px;
    background: #fff;
    border: 1px solid #ddd;
}





/* FORM */

#application {
    background: #fff url(../images/bg_description.png) top left;
    width: 100%;
    min-height: 100px;
    border: 1px solid #ddd;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: #fff;
    margin: 10px 0 10px 0;
    font-family: arial, sans-serif;
    font-size: 12px;
}

label {
    font-family: arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    display: block;
    margin: 6px 0 2px 0;
    color: #333;
}

.inputlong {
    border: 1px solid #ccc;
    padding: 3px 3px;
    width: 200px;
    margin: 0 0 10px 0;
}

.inputshort {
    border: 1px solid #ccc;
    padding: 3px 3px;
    width: 120px;
    margin: 0 0 10px 0;
}

.inputlong:focus, .inputshort:focus, textarea:focus {
    border-color: #999;
}

select {
    border: 1px solid #ccc;
    padding: 2px;
    width: 200px;
    margin: 0 0 10px 0;
}

textarea {
    border: 1px solid #ccc;
    padding: 2px;
    width: 490px;
    height: 100px;
    margin: 0 0 10px 0;
}


/* NEWSLETTER */

#newsletter {
    min-height: 80px;
    background: #333;
    margin: 0 0 10px 0;
}

#newsletter .newslettercontent {
    padding: 10px;
}

#newsletter .newslettercontent h4 {
    font-size: 20px;
    color: #003f62;
}

#newsletter .newslettercontent p {
    font-size: 11px;
    color: #fff;
    margin-top: 4px;
    line-height: 142%;
    padding: 0;
}

#newsletterform {
    margin: 10px 0 0 0;
}

#newsletterform #email{
    float: left;
    width: 180px;
    height: 20px;
    font-size: 13px;
    border: 0;
    padding: 2px;
}

#newsletterform #emailsubmit{
    background: #c00;
    color: #fff;
    float: left;
    width: 40px;
    height: 24px;
    font-size: 13px;
    border: 0;
}



.newsitem, .blogitem {
    margin: 15px 0 0 0;
}

.newsitem img {
    float: left;
    width: 202px;
    margin-top: 5px;
    margin-right: 15px;
    margin-bottom: 15px;
    padding: 2px;
    background: #fff;
    border: 1px solid #666;
}

/*
.blogitem .firstblog p
{
font-weight: bold;
}
*/


/* SLIDER */

.flexslider ul.slides li {
    min-height: 260px;
}

.flexslider ul.slides li .sliderbox {
    position: absolute;
    left: 40px;
    top: 45px;
    color: #fff;
    max-width: 40%;
}

.flexslider ul.slides li .sliderbox h2 {
    color: #fff;
    line-height: 110%;
}

.flexslider ul.slides li .sliderbox p {
    margin-top: 10px;
    color: #fff;
    font-size: 1.3em;
}

.flexslider ul.slides li .sliderinfobox {
    position: absolute;
    left: 100px;
    top: 40px;
    color: #fff;
    width: 500px;
    height: 180px;
    display: table;
}

.flexslider ul.slides li .sliderinfobox h3 {
    font-size: 28px;
    line-height: 32px;
    color: #fff;
    display: table-cell;
    vertical-align: middle;
}


.flexslider ul.slides li .sliderinfofull {
    position: absolute;
    left: 100px;
    top: 40px;
    color: #fff;
    width: 740px;
    height: 180px;
    display: table;
}

.flexslider ul.slides li .sliderinfofull h3 {
    font-size: 28px;
    line-height: 32px;
    color: #fff;
    display: table-cell;
    vertical-align: middle;
}

.maincontentbox {
    background: #fff;
    padding: 10px;
    margin-bottom: 20px;
}

.maincontentbox p {
    line-height: 150%;
}

.maincontentbox .date {
    font-size: 0.86em;
    font-weight: bold;
    margin: 6px 0;
}

/*
.frame-comment,
.frame-topic,
.frame-forum,
.frame-post,
.frame-reply,
.frame-blogposts {
        padding-left: 65px;
        margin-left: 5px;
}

.frame-post, .frame-blogposts {
        background: url(images/icon_doc_lines_stright_icon_48.png) top left no-repeat;
}

.frame-comment {
        background: url(images/icon_spechbubble_sq_line_icon_48.png) top left no-repeat;
}

.frame-reply {
        background: url(images/icon_spechbubble_2_icon_48.png) top left no-repeat;
}

.frame-topic {
        background: url(images/icon_spechbubble_icon_48.png) top left no-repeat;
}

.frame-forum {
        background: url(images/icon_folder_open_icon_48.png) top left no-repeat;
}
*/

.frame-comment,
.frame-topic,
.frame-forum,
.frame-post,
.frame-reply,
.frame-blogposts {
    padding-left: 65px;
    margin-left: 5px;
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 48px 48px;
}

.frame-post, .frame-blogposts {
    background-image: url(images/icon_doc_lines_stright_icon_48.png);
}

.svg .frame-post, .svg .frame-blogposts{
    background-image: url('svg/document.svg');
    background-size: 48px 48px;
}

.frame-comment {
    background: url(images/icon_spechbubble_sq_line_icon_48.png) top left no-repeat;
}

.svg .frame-comment{
    background-image: url('svg/speechbubble.svg');
    background-size: 48px 48px;
}

.frame-reply {
    background: url(images/icon_spechbubble_2_icon_48.png) top left no-repeat;
}

.svg .frame-reply{
    background-image: url('svg/speechbubbles.svg');
}

.frame-topic {
    background: url(images/icon_spechbubble_icon_48.png) top left no-repeat;
}

.svg .frame-topic{
    background-image: url('svg/speechbubble.svg');
}

.frame-forum {
    background: url(images/icon_folder_open_icon_48.png) top left no-repeat;
}

.svg .frame-forum{
    background-image: url('svg/folder.svg');
}

.projectbox h2 {
    margin-bottom: 10px;
}

.projecticon {
    padding: 10px 30px 10px 35px;
    background-repeat: no-repeat;
    background-position: center left;
    background-size: 32px 32px;
}
/*
.projecticon {
        padding: 10px 30px 10px 35px;
}

.p-link{
        background: url(images/icon_link_icon_24.png) center left no-repeat;
}

.p-twitter{
        background: url(images/icon_twitter_2_icon_24.png) center left no-repeat;
}

.p-facebook{
        background: url(images/icon_facebook_icon_24.png) center left no-repeat;
}

.p-youtube{
        background: url(images/icon_youtube_icon_24.png) center left no-repeat;
}
*/

.p-link {
    background-image: url('images/icon_link_icon_24.png');
}

.svg .p-link {
    background-image: url('images/browser.svg');
    padding: 10px 30px 10px 40px;
}

.p-twitter{
    background-image: url(images/icon_twitter_2_icon_24.png);
}

.svg .p-twitter {
    background-image: url('images/twitter.svg');
    padding: 10px 30px 10px 40px;
}

.p-facebook{
    background-image: url(images/icon_facebook_icon_24.png);
}

.svg .p-facebook {
    background-image: url('images/facebook.svg');
    padding: 10px 30px 10px 40px;
}

.p-youtube{
    background-image: url(images/icon_youtube_icon_24.png);
}

.svg .p-youtube {
    background-image: url('images/youtube.svg');
    padding: 10px 30px 10px 40px;
}

.sidebarbox {
    background: #fff;
    padding: 10px;
    margin-bottom: 20px;
}

.sidebarbox ul {
    margin-left: 20px;
}

.sidebarbox ul li {
    margin-top: 5px;
    margin-bottom: 5px;
}

.sidebarbox ul li a {
    font-weight: bold;
}


.form-submit #submit {
    background: #D22630;
    border: 1px solid #a21111;
    color: #fff;
    padding: 4px 8px;
    text-transform: uppercase;
    cursor: pointer;
}

.form-submit #submit:hover {
    background: #a21111;
    border: 1px solid #900;
    color: #fff;
    padding: 4px 8px;
    text-transform: uppercase;
    cursor: pointer;
}
/*
a.resource-file {
        display: block;
        margin: 5px 0;
        padding: 8px 0 10px 40px;
        background: url(images/icon_download_icon_32.png) top left no-repeat;
}
*/
a.resource-file {
    display: block;
    margin: 5px 0;
    padding: 8px 0 10px 40px;
    background-repeat: no-repeat;
    background-position: top left;
    background-image: url('images/icon_download_icon_32.png');
    background-size: 32px 32px;
}

.svg a.resource-file {
    background-image: url('svg/download.svg');
}

.featurebox h4 {
    margin-bottom: 5px;
}

.featurebox h4 a {
    font-family: arial, sans-serif;
    font-size: 1.3em;
}





ol.commentlist{
    margin: 10px 5px 10px 0;
}
.commentlist .comment-body{
    padding: 10px;
    background: #EFEFEF;
    border: solid thin #DEDEDE;
    margin: 10px 0;
    position: relative;
}
.comment-body a.comment-reply-link{
    position: absolute;
    top: 10px;
    right: 10px;
    color: #AEAEAE;
}
ol.commentlist li{
    list-style: none;
}
ol.commentlist img.avatar{
    padding: 5px;
    background: #DEDEDE;
    border: solid thin #CECECE;
    float: left;
    display: block;
    margin: 0 15px 0 0;
    width: 32px;
    height: 32px;
    vertical-align: normal;
}
ol.commentlist .comment-author{
    line-height: 25px;
}
.comment-body cite.fn{
    font-size: 14px;
    font-style: normal;
}
.commentmetadata a{
    margin: 0;
    font-size: 11px;
    color: #999;
}
.comment-body p{
    margin: 5px;
}

.comment-body .comment-author.vcard{
    margin: 0;
}


.blogmeta {
    margin: 8px 0;
}

.blogmetaleft {
    float: left;
    min-width: 60px;
}

.blogmetaright {
    float: left;
    width: 87%;
}


.blogmetaleftcal {
    background: #535353;
    border: 1px solid #535353;
    height: 55px;
    width: 50px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.blogmetaleftcal div.month {
    color: #fff;
    font-family: arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    height: 12px;
    line-height: 12px;
    padding-top: 3px;
    text-align: center;
}

.blogmetaleftcal div.day {
    color: #fff;
    font-family: arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    line-height: 22px;
    padding-top: 1px;
    text-align: center;
}

.blogmetaleftcal div.year {
    color: #fff;
    font-family: arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    height: 12px;
    line-height: 12px;
    padding-top: 1px;
    text-align: center;
}

.blogmetaright .blogauthor {
    font-weight: bold;
    margin: 8px 0 2px 0;
}

.blogmetaright .blogjobtitle {
    font-weight: normal;
}

.blogmetaright .bycauthor {
    margin: 18px 0 2px 0;
}

@media only screen and (min-width: 480px) {

    .content ul.tabrow {
        list-style: none;
        margin: 0 0 20px 0;
        padding: 0;
        line-height: 24px;
    }
    .content ul.tabrow li {
        margin: 0 5px;
        padding: 0 10px;
        border: 1px solid #AAA;
        background: #ECECEC;
        display: inline-block;
    }

    .content ul.tabrow li:hover {
        background: #ddd;
    }

    .content ul.tabrow li:hover a {
        color: #111;
    }

    .content ul.tabrow li.selected {
        background: #FFF;
        color: #000;
    }

    .content ul.tabrow {
        position: relative;
    }
    .content ul.tabrow:after {
        position: absolute;
        content: "";
        width: 100%;
        bottom: 0;
        left: 0;
        border-bottom: 1px solid #d4d4d4;
        z-index: 1;
    }

    .content ul.tabrow:before {
        z-index: 1;
    }
    .content ul.tabrow li {
        position: relative;
        z-index: 0;
    }
    .content ul.tabrow li.selected {
        margin: 0 5px;
        z-index: 2;
        border-bottom-color: #FFF;
    }

}

@media only screen and (max-width: 479px) {

    .content ul.tabrow {
        margin-bottom: 20px;
        border-bottom: 1px solid #d4d4d4;
    }

    .content ul.tabrow li.selected a {
        font-weight: bold;
        color: #111;
    }
}

.pagination {
    clear:both;
    padding:5px 0 20px 0;
    position:relative;
    font-size:11px;
    line-height:13px;
    margin: 0 0 10px 0;
}

.pagination span, .pagination a {
    display:block;
    float:left;
    margin: 2px 2px 2px 0;
    padding:6px 9px 5px 9px;
    text-decoration:none;
    width:auto;
    color:#fff;
    background: #666;
}

.pagination a:hover{
    color:#fff;
    background: #D22630;
}

.pagination .current{
    padding:6px 9px 5px 9px;
    background: #D22630;
    color:#fff;
}

@media print
{
    body  { color:#000; font:12px arial, helvetica, sans-serif; padding:0; background: #fff; }

    #wrapper { border: none; }
    #strapline { text-align: left; width: 580px; }
    #strapline h2 { font-size: 14px; }
    #strapline h3 { font-size: 18px; }
    .homepage, .footerslider, footer { display: none; }
}

/* CHANGES GDPR */

#cookie-law {
    background-color: #ed1944;
    bottom: 0;
    box-sizing: border-box;
    color: #fff !important;
    display: none;
    left: 0;
    padding: 10px 30px 15px;
    position: fixed;
    right: 0;
    text-align: center !important;
    z-index: 1005;
}

#cookie-law.showCookie {
    animation: 1s ease 0s normal none 1 running bounceInUp;
}
#cookie-law.hideCookie {
    animation: 1s ease 0s normal none 1 running bounceOutDown;
    border: 0 none;
}
#cookie-law a {
    color: #fff;
    text-decoration: underline;
}
#cookie-law button {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: 2px solid #fff;
    border-radius: 5px;
    color: #fff;
    font-size: 1em;
    font-weight: 700;
    padding: 10px 20px;
    margin-top: 5px;
    cursor: pointer;
}
#cookie-law button:hover {
    background-color: #fff;
    border: 2px solid #fff;
    color: #ed1944 !important;
}
#cookie-law p {
    margin: 10px 20px;
    font-size: 14px;
    line-height: 1.2;
}
@keyframes bounceInUp {
    0%, 60%, 75%, 90%, 100% {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    0% {
        opacity: 0;
        transform: translate3d(0px, 3000px, 0px);
    }
    60% {
        opacity: 1;
        transform: translate3d(0px, -20px, 0px);
    }
    75% {
        transform: translate3d(0px, 10px, 0px);
    }
    90% {
        transform: translate3d(0px, -5px, 0px);
    }
    100% {
        transform: translate3d(0px, 0px, 0px);
    }
}
.bounceInUp {
    animation-name: bounceInUp;
}
@keyframes bounceOut {
    20% {
        transform: scale3d(0.9, 0.9, 0.9);
    }
    50%, 55% {
        opacity: 1;
        transform: scale3d(1.1, 1.1, 1.1);
    }
    100% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
    }
}
.bounceOut {
    animation-name: bounceOut;
}

@keyframes bounceOutDown {
    20% {
        transform: translate3d(0, 10px, 0);
    }

    40%,
    45% {
        opacity: 1;
        transform: translate3d(0, -20px, 0);
    }

    to {
        opacity: 0;
        transform: translate3d(0, 2000px, 0);
    }
}

.bounceOutDown {
    animation-name: bounceOutDown;
}