/*SET BASIC PAGE FORMAT*/

html,
body {
	margin: 0;
	padding: 0;
	font-family: 'Istok Web';
	font-size: 9pt;
	color: #555;
	
}

html {
	height: 100%;
}

body 	{
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
a	{text-decoration:none; color:#990000;}

a:hover	{text-decoration:underline; }

/*==============HEADER-START=============*/

.HeaderWrapper {
	background-image: linear-gradient(#880000 20%, #990000 55%, #660000 100%);
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center; /*was flex-start*/
	height: 70px; /*was 140px*/
	width: 100%;
	/*needs hamburger*/
}

@media screen and (min-width: 480px) {
    .HeaderWrapper {
	background-image: linear-gradient(#880000 20%, #990000 55%, #660000 100%);
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center; 
	height: 70px;
	width: 100%;
	/*needs hamburger*/
}

}

@media screen and (min-width: 768px) {
    .HeaderWrapper {
	background-image: linear-gradient(#880000 20%, #990000 55%, #660000 100%);
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	height: 90px;
	width: 100%;
}
	}

@media screen and (min-width: 992px) {
	.HeaderWrapper {
	background-image: linear-gradient(#880000 20%, #990000 55%, #660000 100%);
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	height: 110px;
	width: 100%;
}
	}

@media screen and (min-width: 1200px) {
	.HeaderWrapper {
	background-image: linear-gradient(#880000 20%, #990000 55%, #660000 100%);
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	height: 110px;
	width: 100%;
}
	}
/*============START img.logo=================*/

	
	img.logo { height: 50px; width: 105px; padding: 20px 0 20px 20px; }
	

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

	img.logo { height: 50px; width: 105px;  padding: 20px 0 20px 20px; }
	}

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

	img.logo { height: 50px; width: 105px;  padding: 20px 0 20px 20px;}
	}

@media screen and (min-width: 992px) {
	
	img.logo { height: 60px; width: 127px;  padding: 20px 0 20px 20px;}
	}

@media screen and (min-width: 1200px) {
	
	img.logo { height: 80px; width: 169px;  padding: 20px 0 20px 20px;}
	}
/*============ END img.logo=================*/

/*===============START HeaderLogo================*/

	.HeaderLogo {
		display: flex;
		flex-direction: column;
	}
	
@media screen and (min-width: 480px) {
    .HeaderLogo {
		display: flex;
		flex-direction: column;		
	}
	}

@media screen and (min-width: 768px) {
    .HeaderLogo {
		display: flex;
		flex-direction: column;		
	}
	}

@media screen and (min-width: 992px) {
	.HeaderLogo {
		display: flex;
		flex-direction: column;		
	}
	}

@media screen and (min-width: 1200px) {
	.HeaderLogo {
		display: flex;
		flex-direction: column;		
	}
	}

/*===============END HeaderLogo================*/

/*START Hamburger*/
@media only screen and (min-width: 900px) {
      /* hide the hamburger */
      .hamburger {
        display: none;
      }
      /* show all the MenuItems */
      .MenuItem {
        display: block;
      }
    }
    /* if browser window is small (max-width) */
    
    @media only screen and (max-width: 899px) {
      /* show everything with the hamburger class */
      .hamburger {
        display: block; /*was block*/
        padding: 30px; 
      }
      /* hide all the nav-buttons */
      .MenuItem {
        display: none;
      }
    }

/*END Hamburger*/

/*===============END HeaderMenu================*/

/*===================START MenuItem====================*/

a:hover.MenuItem	{color: yellow; }

.MenuItem {
    color: #f2e6d9;
	text-decoration: none;
	font-size: 9pt;
	margin-right: 20px;
	padding: 3px;
	
}

@media screen and (min-width: 480px) {
	.MenuItem {
	    color: #f2e6d9;
		text-decoration: none;
		font-size: 9pt;
		margin-right: 0.5rem;
		padding: 0 10px 0 0;
	}	
}

@media screen and (min-width: 768px) {
	.MenuItem {
	    color: #f2e6d9;
		text-decoration: none;
		font-size: 10pt;
		margin-right: 1rem; /*was 2rem*/
		padding-right: 3px;
	}	
}

@media screen and (min-width: 992px) {
	.MenuItem {
	    color: #f2e6d9;
		text-decoration: none;
		font-size: 12pt;
		margin-right: 1rem; /*was 2rem*/
		padding-right: 3px;
	}	
}

@media screen and (min-width: 1200px) {
	.MenuItem {
	    color: #f2e6d9;
		text-decoration: none;
		margin-right: 2rem;
		padding-right: 3px;
	}	
}

/*===================END MenuItem====================*/

/*======================START Dropdown Menu====================*/

.hamburger_container {
   position: relative; /*was relative*/
   display: inline-block; /*was inline-block*/
}
.drop_btn {
   background-color: transparent;
   color: white;
   padding: 16px;
   font-size: 16px;
   /*font-family: Verdana, sans-serif;*/
   border: none;
   width: 80px;
}
.MenuList {
   display: none;
   position: absolute;
   left: -130px;
   background-color: #990000;
   color: white;
   width: 250px;
   z-index: 1;
}
.links {
   text-align: center;
   color: #f2e6d9;
   padding: 12px 16px;
   text-decoration: none;
   display: block;
   font-size: 16px;
   border: 1px solid #031926;
}
.links:hover {
   background-color: #f2e6d9;
   color: #031926;
}
.hamburger_container:hover .drop_btn {
   background-color: transparent;
   color: red;
}


/*======================END Dropdown Menu====================*/

/*====================HEADER-END========================*/

/*===================CONTENT-START===================*/

hr	{
	border: 0;
  	width: 80%;
	color: #900;
	background-color: #900;
	height: 1px;
	}

/*==========START <h1>, <h2> etc SETTINGS=======*/
/* Custom sizes using rem (relative to root font size) */  
h1 { font-size: 2.5rem;  padding: 0 20px 0 20px;} /* Larger than default */  
h2 { font-size: 2rem;  padding: 0 20px 0 20px;}  
h3 { font-size: 1.75rem;  padding: 0 20px 0 20px;}  
h4 { font-size: 1.5rem;  padding: 0 20px 0 20px;}  
h5 { font-size: 1.25rem;  padding: 0 20px 0 20px;}
/*padding left and right allows .Content to have no padding so that an image can meet the edges*/

h1 { 
	font-family: CopperplateGothicTL-Regular;
}
/* Smaller font size for tablets */
@media screen and (max-width: 991px) {
    h1 {
        font-size: 2.0rem;
    }
}
 /* Even smaller font size for phones */
@media screen and (max-width: 767px) {
    h1 {
        font-size: 1.8rem;
    }
}
h2, h3, h4, h5 { 
	font-family: 'Istok Web';
}
/* Smaller font size for tablets */
@media screen and (max-width: 991px) {
    h2 {
        font-size: 1.4rem;
    }
}
 /* Even smaller font size for phones */
@media screen and (max-width: 767px) {
    h2 {
        font-size: 1.3rem;
    }
}
/* Smaller font size for tablets */
@media screen and (max-width: 991px) {
    h3 {
        font-size: 1.3rem;
    }
}
 /* Even smaller font size for phones */
@media screen and (max-width: 767px) {
    h3 {
        font-size: 1.2rem;
    }
}
/* Smaller font size for tablets */
@media screen and (max-width: 991px) {
    h4 {
        font-size: 1.2rem;
    }
}
 /* Even smaller font size for phones */
@media screen and (max-width: 767px) {
    h4 {
        font-size: 1.1rem;
    }
}
/* Smaller font size for tablets */
@media screen and (max-width: 991px) {
    h5 {
        font-size: 1.1rem;
    }
}
 /* Even smaller font size for phones */
@media screen and (max-width: 767px) {
    h5 {
        font-size: 1.0rem;
    }
}
/*==========END <h1>, <h2> etc SETTINGS=======*/
/*==========START <p> SETTINGS===========*/
p, li { font-size: 1.4rem; padding: 0 20px 0 20px;}
/*padding left and right allows .Content to have no padding so that an image can meet the edges*/

/* Smaller font size for tablets */
@media screen and (max-width: 991px) {
    p, li {
        font-size: 1.1rem;
    }
}
 /* Even smaller font size for phones */
@media screen and (max-width: 767px) {
    p, li {
        font-size: 1.0rem;
    }
}
/*==========END <p> SETTINGS===========*/

.MainLayout {
	
	flex: 1 0 auto; /*=== this keeps footer at bottom ===*/
	display: flex;
    flex-direction: row;    
    justify-content: center; /*this is why <hr> is centred*/
    align-items: stretch;
    
	}

.SideColumn {    
    background-color: #f2e6d9;
    width: 15%;  
}

@media screen and (max-width: 991px) {
	.SideColumn {
	width: 10%;}
}
	
@media screen and (max-width: 767px) {
	.SideColumn {
	width: 5%;}
	}

.Content {
  
    border-left: 2px solid #990000;
    border-right: 2px solid #990000;
    background-color: #faf5f0 ;
    font-size: 16px;
    width: 90%; /*was 90%*/
    padding: 10px 0 10px 0;
  
}

img {
max-width: 100%;
height: auto;
/*this works in Firefox Android*/
}
/*=============START HOMEPAGE LINKS MENU========================*/
div.HomeLinks {
display: flex;
    flex-direction: row;    
    justify-content: flex-start;
    padding: 0 20px 0 20px;    
}
/*padding left and right allows .Content to have no padding so that an image can meet the edges*/

@media screen and (max-width: 767px) {
div.HomeLinks {justify-content: center;}
}
	
a.HomeLinks {
	color:#990000;	
	background-color: #f2e6d9;
	border: 1px solid #990000;
	padding: 3px 5px 3px 5px;
}
@media screen and (max-width: 767px) {
a.HomeLinks {font-size: 0.8rem;}	
}
/*=============END HOMEPAGE LINKS MENU========================*/
				/*========================START GRIDS==================*/
				
/*MAGAZINE GRID START*/			
 .mag-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            grid-gap: 1px;
            background: #f7f0e9 ;
        }

        .mag-grid > div {
            font-size: 16px;
            padding: 1rem;
            color: #990000;
            text-align: center;
            background: #f7f0e9 ;
            margin: auto;
        }	
/*MAGAZINE GRID END*/
			

				/*========================END GRIDS==================*/

				/*=======================START BOXES==================*/

div.purplebox /*width + padding(x2) + border(x2) = width of greyheading*/

	{
		
	background:#d6d2e3;
	
	width:auto;
	
	height:auto;
	
	padding:5px 10px 5px 10px;
	
	border:solid black 1px;
	margin: 0 20px 0 20px;
	
	}

				/*======================END BOXES====================*/

	div.refblocks {
		padding: 1px;
		background: #f7f0e9 ;
	}
				/*======================START FLEX CONTAINER====================*/
	.container {
		display: flex;		
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px 20px; /* row-gap column gap */
		}			
				
			 /*======================END FLEX CONTAINER====================*/
			 /*======================START FLEX ITEM====================*/
		.flex-item	{
			
		} 
			 /*======================END FLEX ITEM====================*/
	
			/*======================START TABLES====================*/
			.table-container {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 40px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}
 
.table-header, .table-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #ddd;
}
 
.table-header {
    background-color: #4CAF50;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
}
 
.table-row:nth-child(even) {
    background-color: #f9f9f9;
}
 
.table-row:hover {
    background-color: #e8f5e9;
}
 
.table-cell {
    flex: 1;
    text-align: left;
}
 
.table-cell.status {
    flex: 1;
    text-align: center;
}
			
			/*======================END TABLES====================*/
	
/*====================CONTENT-END===========================*/


/*===================FOOTER-START=========================*/

/*SET FONT COLOUR AND SIZE*/

h1.footer {
	font-size:11pt;
	font-style: normal;
	color: #f2e6d9;
}

span.footer {
	font-size:9pt;
	color: #f2e6d9;
	font-style: italic;
}

@media screen and (min-width: 480px) {
	h1.footer {
		font-size:11pt;
	}
	
	span.footer {
		font-size:8pt;
	}	
}
@media screen and (min-width: 768px) {
	h1.footer {
		font-size:12pt;
	}

	span.footer {
		font-size:9pt;
	}	
}
@media screen and (min-width: 992px) {
	h1.footer {
		font-size:14pt;
	}

	span.footer {
		font-size:10pt;
	}	
}
@media screen and (min-width: 1200px) {
	h1.footer {
		font-size:24pt;
	}

	span.footer {
		font-size:10pt;
	}	
}

/*========================FooterWrapper=====================*/
.FooterWrapper {
	background-color: #666;
	display: flex;	
	flex-direction: column;	
	align-items: center;
	justify-content: space-between;
	height: auto;
	width: 100%;
	color: #f2e6d9;
}

@media screen and (min-width: 480px) {
.FooterWrapper {
    	background-color: #666;
	    display: flex;	
	    flex-direction: column;	
	    align-items: center;
	    justify-content: space-between;
	    height: auto;
	    width: 100%;
	    color: #f2e6d9;
}
}
@media screen and (min-width: 768px) {
	.FooterWrapper {
		background-color: #666;
		display: flex;	
		flex-direction: row;	
		align-items: center;
		justify-content: space-between;
		height: auto;
		width: 100%;
		color: #f2e6d9;
	}
	}
@media screen and (min-width: 992px) {
	.FooterWrapper {
		background-color: #666;
		display: flex;	
		flex-direction: row;	
		align-items: center;
		justify-content: space-between;
		height: auto;
		width: 100%;
		color: #f2e6d9;
	}
	}
@media screen and (min-width: 1200px) {
	.FooterWrapper {
		background-color: #666;
		display: flex;	
		flex-direction: row;	
		align-items: center;
		justify-content: space-between;
		height: auto;
		width: 100%;
		color: #f2e6d9;
	}
	}
/*========================END FooterWrapper=====================*/

/*=======================START FooterGroup1================*/
.FooterGroup1 {
    	display: flex;
    	flex-direction: column;
    	align-items: center;
    	justify-content: space-between;
    	padding-top: 10px;
    	height: auto;
    	width: 300px;	
}
@media screen and (min-width: 480px) {
.FooterGroup1 {
    	display: flex;
    	flex-direction: column;
    	align-items: center;
    	justify-content: space-between;
    	padding-top: 10px;
    	height: auto;
    	width: 400px;
}
}
@media screen and (min-width: 768px) {
	.FooterGroup1 {
		display: flex;
    	flex-direction: column;
	    align-items: flex-start;
    	justify-content: space-between;
	    padding:15px 0 20px 30px;
	    height: 80px;
    	width: 700px;	
	}
	}
@media screen and (min-width: 992px) {
	.FooterGroup1 {
		display: flex;
	    flex-direction: column;
    	align-items: flex-start;
	    justify-content: space-between;
    	padding:15px 0 20px 30px;
    	height: 80px;
    	width: 800px;	
	}
	}
@media screen and (min-width: 1200px) {
	.FooterGroup1 {
		display: flex;
    	flex-direction: column;
    	align-items: flex-start;
    	justify-content: space-between;
	    padding:15px 0 20px 30px;
	    height: 80px;
    	width: 800px;	
	}
	}


/*=======================END FooterGroup1================*/

/*=======================START FooterGroup2================*/
.FooterGroup2 {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 10px;
	height: auto;
	width: 300px;	
}
    @media screen and (min-width: 480px) {
.FooterGroup2 {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 10px;
	height: auto;
	width: 400px;
}
}
@media screen and (min-width: 768px) {
	.FooterGroup2 {
		display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
	padding:20px 30px 20px 0;
	height: 80px;
	width: 280px;	
	}
	}
@media screen and (min-width: 992px) {
	.FooterGroup2 {
		display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
	padding:20px 30px 20px 0;
	height: 80px;
	width: 280px;	
	}
	}
@media screen and (min-width: 1200px) {
	.FooterGroup2 {
		display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
	padding:20px 30px 20px 0;
	height: 80px;
	width: 280px;	
	}
	}


/*=======================END FooterGroup2================*/

/*=======================START FooterItem1==================*/
.FooterItem1 {
		font-family: CopperplateGothicTL-Regular;
		font-size:12pt;
		font-style: normal;
		
		text-align: center;
	}

@media screen and (min-width: 480px) {
.FooterItem1 {
		font-family: CopperplateGothicTL-Regular;
		font-size:14pt;
		font-style: normal;
		
		text-align: center;
}
}
@media screen and (min-width: 768px) {
	.FooterItem1 {
		font-family: CopperplateGothicTL-Regular;
		font-size:20pt;
		font-style: normal;
		
	}
	}
@media screen and (min-width: 992px) {
	.FooterItem1 {
		font-family: CopperplateGothicTL-Regular;
		font-size:26pt;
		font-style: normal;
		
	}
	}
@media screen and (min-width: 1200px) {
	.FooterItem1 {
		font-family: CopperplateGothicTL-Regular;
		font-size:26pt;
		font-style: normal;
		
	}
	}
/*=======================END FooterItem1==================*/

/*=======================START FooterItem2==================*/
.FooterItem2 {
		font-family: 'Istok Web';
		font-size: 9pt;
		font-style: normal;
		
		text-align: center;
}

@media screen and (min-width: 480px) {
.FooterItem2 {
	font-family: 'Istok Web';
		font-size: 9pt;
		font-style: normal;
		
		text-align: center;
}
}
@media screen and (min-width: 768px) {
	.FooterItem2 {
		font-family: 'Istok Web';
		font-size: 10pt;
		font-style: normal;
		
	}
	}
@media screen and (min-width: 992px) {
	.FooterItem2 {
		font-family: 'Istok Web';
		font-size: 12pt;
		font-style: normal;
		
	}
	}
@media screen and (min-width: 1200px) {
	.FooterItem2 {
		font-family: 'Istok Web';
		font-size: 12pt;
		font-style: normal;
		
	}
	}
/*=======================END FooterItem2==================*/

/*=======================START FooterItem3==================*/
.FooterItem3 {
		font-family: 'Istok Web';
		font-size: 8pt;
		font-style: italic;
		text-align: center;
		
}

@media screen and (min-width: 480px) {
.FooterItem3 {
		font-family: 'Istok Web';
		font-size: 8pt;
		font-style: italic;
		text-align: center;
		
}
}
@media screen and (min-width: 768px) {
	.FooterItem3 {
		font-family: 'Istok Web';
		font-size: 9pt;
		font-style: italic;
		text-align: right;
		
	}
@media screen and (min-width: 992px) {
	.FooterItem3 {
		font-family: 'Istok Web';
		font-size: 9pt;
		font-style: italic;
		text-align: right;
		
	}
	}
@media screen and (min-width: 1200px) {
	.FooterItem3 {
		font-family: 'Istok Web';
		font-size: 9pt;
		font-style: italic;
		text-align: right;
		
	}
	}
/*=======================END FooterItem3==================*/

/*=======================START FooterItem4==================*/
.FooterItem4 {
		font-family: 'Istok Web';
		font-size: 8pt;
		font-style: italic;
		text-align: center;
		
}

@media screen and (min-width: 480px) {
.FooterItem4 {
		font-family: 'Istok Web';
		font-size: 8pt;
		font-style: italic;
		text-align: center;
		
}
}
@media screen and (min-width: 768px) {
	.FooterItem4 {
		font-family: 'Istok Web';
		font-size: 9pt;
		font-style: italic;
		text-align: right;
		
	}
	}
@media screen and (min-width: 992px) {
	.FooterItem4 {
		font-family: 'Istok Web';
		font-size: 9pt;
		font-style: italic;
		text-align: right;
		
	}
	}
@media screen and (min-width: 1200px) {
	.FooterItem4 {
		font-family: 'Istok Web';
		font-size: 9pt;
		font-style: italic;
		text-align: right;
		
	}
	}
/*=======================END FooterItem4==================*/

/*======================FOOTER-END=======================*/


}