/***************************
*
file name:		footer.css
Theme Name: 	nentrium footer defaults
Designed by: 	nentrium graphics
Description:	default footer settings for all pages
*
*****************************/

/***** FOOTER *****/
/* FOR FIXED FOOTER AT BOTTOM OF PAGE */

footer tbody{
	background-color:#ccc;
}

.footerbuffer {
	height: 30px;
	background-color: #ffc;
	border-left: 2px solid white;
	border-right: 2px solid white;
}

footer {
	/* DEFAULT FFF HIGHLIGHTS RHS SUBHEADER AREA */
	background:#fff;
	/* inherit the width from previous object required for position:fixed */
    width: inherit;
	/* height of footer */
	height: fit-content;
	/* place object at bottom of screen */
	bottom:0;
	/* fix object at bottom of screen */
	position:fixed;
	
    font-style: normal;
	font-weight: bold;						
	font-family:"Times New Roman",Times,serif;
	font-size:16px;
	text-align: left;
	text-decoration: none;
}
	
.foottabcen {
	/* height of footer
	height: 34px;
	*/
    margin: auto;
	width: 100%;
	}

footer a{
	/* Change footer link colour */
	color:#888;
	}

footer a:hover {
	/* Change footer text background colour
	background:#aaf; */
	/* Change footer link hover colour */
	/* color:#008; 111; */
	}
	
footer  a:visited {
	/* blue */
	/* color:#00f; 848; */
	}
	
.foottable{
	 border-width:5px; 
	 width:100%;
	}
	
.tablestyle {
	border-spacing:0;
	/* border:10px solid #777; */
	width:100%;
	margin:0 ;
	}

/***** FOOTER TABLE BORDER AROUND THE WHOLE TABLE WITH THE NEXT FOUR DECLARATIONS *****/

.tablestyle {
	/* 
	 */
	height:inherit;
	/*
	border-top:0px solid #000;
	border-right:0px solid #000;
	border-bottom:0px solid #000;
	border-left:0px solid #000;
	*/
	border:0;
	}

.tablestyle  td{
	/* 
	padding:8px;
	 */
	height:auto;
	text-align:center;
	border:2px solid #fff;
	width:33%;
	}	



 /*  ########## MEDIA 740 ##########  */

@media screen and (max-width : 740px)
and (orientation:landscape)
/* and (-webkit-device-pixel-ratio : 2) */
{
	/*.footerbuffer {
		background-color: #ffe;
		height:45px;
	}*/
}

/*  ########## ##########  */

/* iPhone 6, 7, & 8 in portrait & landscape
@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px)
{}
*/

@media only screen
and (max-width: 667px)
and (orientation:landscape)
and (-webkit-device-pixel-ratio : 2)
{
	.footerbuffer {
		background-color: #ffc;
		height:25px;
	}
}

@media screen
and (max-width: 375px)
and (orientation:portrait)
and (-webkit-device-pixel-ratio : 2)
{
	.tablestyle  td{
		width:unset;
	}
	
	.footerbuffer {
		background-color: #ffc;
		height:45px;
	}
	
	footer tr {
		display: grid;
	}
}

/*  ########## ##########  */

/* 320 x 567 iPhone 5s */
@media only screen
and (max-width : 568px)
and (orientation:landscape)
/* and (-webkit-device-pixel-ratio : 2) */
{
	.footerbuffer {
		height: 60px;
	}

}

@media screen and
(max-width: 320px)
and (orientation:portrait)
/* and (-webkit-device-pixel-ratio : 2) */
{
	.footerbuffer {
		/* background-color:pink; */
		height: 80px;
	}
}