@charset "iso-8859-1";

#leftImage
{
    background-image: url('../images/logo.gif');
}
#centreImage
{
    background-image: url('../images/topmiddle_StB.jpg');
}
#rightImage
{
	background-image: url('../images/home_text.gif');
    background-size:contain;
    background-position: center center;
}

#homeHeading
 {
	display:none;
	font-size: 20px;
    line-height: normal;
    font-weight: normal;
    color: #005C7E;
    padding-bottom: 22px;
    padding-top: 30px;
    text-align: center;
    background-color: white;
}

.section1
{
	display:flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items:center;
	flex-direction:column;
}

#left
{
	display:none;
	margin-top: 100px;
	width: 210px;
}
#centre
{
	font-size: 10pt;
	width: calc(100% - 20px);
    min-width:240px;
	flex-shrink:0;
}
#right
{
	width: calc(100% - 20px);
    min-width:240px;
	flex-shrink:0;
}

#events
{
    margin-top: 20px;
    margin-bottom:10px;
	max-height:450px;
}
.newspanel_maintitle 
{
	font-family:arial, helvetica, sans-serif;
	font-size: 14px;
	line-height: normal;
	font-weight: bolder;
	color: #005C7E;
	padding-bottom: 15px;
}

#social
{
	background-color:white;
    vertical-align: bottom;
    padding-bottom: 10px;
    overflow: hidden; /*Has strange effect of stretching height to fit content*/
}

@media(min-width:480px)
{
    #homeHeading
    {
        display:block;
    }
}

@media(min-width:705px)
{
	.section1
	{
		align-items:flex-start;
		flex-direction:row;
	}
	
	#left
	{
		display:block;
	}
    #centre
    {
		min-width:auto;
        width:calc(100% - 240px);
    }
}

@media(min-width:800px)
{
    #rightImage
    {
        background-image: url('../images/topmiddle_underground.jpg');
		background-size:auto;
    }
}

@media(min-width:908px)
{
	.section1
	{
		flex-wrap:nowrap;
	}
	#centre
    {
		width:calc(100% - 430px);
    }
	
    #right
    {
		display:block;
		min-width:auto;
        width: 180px;
    }
	#events
	{
		margin-top: 50px;
	}
}


@media(min-width:975px)
{
	#centre
    {
		width:calc(100% - 460px);
    }
    #right
    {
        width: 210px;
    }
}

