﻿

html,
body {
    width: 100%;
    font-family: "Open sans", sans-serif;
    font-size: 22px;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 0;
    color: #000000;
    font-size: 14px;
}

.blog-link {
    text-decoration: none;
    color: inherit
}

.vcenter {
    top: 50%;
    transform: translate(-0%,-50%);
    position: relative;
}


@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

header {
    text-align: center;
    height: 80px;
    background-color: #292929;
    height: 85px;
}

.blogtitle {
    display: inline-block;
    color: white;
    font-size: 40px;
    bottom: 0px;
    position: relative;
    vertical-align: top;
    margin-top: 20px;
}

.greenify {
    background-color: rgb(50, 150, 50);
}

.buttonarea {
    position: relative;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.newbut {
    padding: 10px 20px 10px 20px;
    background-repeat: repeat-x;
    border-radius: 5px;
    width: 190px;
    text-align: center;
    margin: 0 auto;
    font-size: 19px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    -webkit-text-size-adjust: none;
    border: 2px solid black;
    margin-bottom: 5px;
    display: inherit;
}

.weight800 {
    font-weight: 800;
}

.nav {
}

.titleimgarea {
    width: 100%;
    height: 40vh;
    background: grey;
}

.titleimg {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    /* background-image:url('https://bbadigital.co.uk/images/blogpic.jpg'), url('https://bbadigital.co.uk/images/blogpic.jpg'); */
}

.shade {
    background-size: 100%;
    height: 100%;
    width: 100%;
    background-color: rgb(0 0 0 / 0.5);
}

.textarea {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    margin-left: 30px;
    max-height: 200px;
}

.prevheadline {
    font-size: 1.25em;
    text-overflow: ellipsis;
    overflow: hidden;
    font-weight: bold;
}

.prevtext {
    font-size: 1em;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 40%;
}

.prevdate {
    font-weight: 200;
    font-size: 0.8em;
}

.titleOverlay {
    text-align: center;
    color: white;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    margin: auto;
    background-color: rgba (0,0,0,0.3);
}

.previmg {
    max-height: 200px;
    overflow-y: hidden;
}

.previmgin {
    width: 100%;
    max-width: 300px;
}

.title {
    font-size: 50px;
}

.overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3)
}

.mainarea {
    padding-left: 10px;
    padding-right: 10px;
}

.paddedmiddle {
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.result {
    display: grid;
    grid-template-columns: .5fr 1fr;
    padding: 15px 15px 10px;
    border: 1px solid black;
    margin: 10px 0px 10px 0px;
    height: 200px;
}



.headline {
}

.text {
}

.prevdate {
}

.story {
}

.date {
}

.headline {
}

.text {
}

.inlineimg {
    width: 85%;
    display: block;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}
 .button {
	background-color: lightgray;
	padding: 5px 10px;
	margin: 10px 20px 0px 0px;
	color: black;
	border: 1px solid black;
	text-decoration: none;
	min-width: 80px;
	display: inline-block;
	text-align: center;
}

.button:hover {
	background-color: lightgreen;
}

table, th, td {
	border: 1px solid;
	border-collapse: collapse;
	padding: 5px;
	}

td 
{
    text-align: center; 
    vertical-align: middle;
}