/**
	Main page layout - iPortal
	This contains the CSS that defines the layout of the main pages (index, article)
*/

body
{
	background-color: white;
	text-align: center;
	font-family: Futura, Arial, sans-serif;
	font-size: 16px;
	color: black;
	margin: 0 0 168px;
	padding: 0;
}

/* this make sure that the squeezed footer does not overlap with the bottom of the main content */
@media screen and (max-width: 940px) {
	body {
		margin-bottom:250px;
	}
}

html {
    position: relative;
    min-height: 100%;
}

img
{
	border:0px;
}

a {
	color: #41b6e6;
}

a:hover {
	color: #00262e;
}

.page
{
	text-align: left;
}

.maincontent
{
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	width:940px;
	padding:5px;
}


/* HEADER */

header {
	width:100%;
}



.header {
	font-family: Futura, Arial, sans-serif;
	font-size: 18px;
	background-color: #00263e; 
	width:100%;
	height: 60px;
	padding-bottom: 5px;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 5px;
}

.header a {
	color: #41B6E6;
	text-decoration: none;
}

.header a:hover {
	color: #41B6E6;
	text-decoration: underline;
}

.subnavi {
	background-color: #e4eaee;
	text-align: center;
	height: 60px;
	font-family: Futura, Arial;
	font-size: 18px;
	padding: 20px;
}

.subnavi a {
	color: #333333;
}

.subnavi a:hover {
	color: #00262e;
}


.subcontent {
	display: flex;
	margin-top: 1rem;
	margin-bottom: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	flex-direction: row;
}

.subcontent h2{
	margin-bottom: 0.75rem;
}

@media screen and (max-width: 940px) {
	.subcontent {
		display: flex;
		flex-direction: column;
	}
	.maincontent {
		padding: 10px;
	}
}

.welcome {
	width:90%;
	font-size: 18px;
}

.logo
{
	border:0;
	float: left;
	height: 50px;
}



/* BOTTOM BOX */

.bottombox {
	background-color: #f1f4f6;
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
	border-bottom-right-radius: 30px;
	padding:30px;
	margin-top: 20px;
	margin-bottom:20px;
}


@media screen and (max-width: 940px) {
	.bottombox aside {
		flex-direction: column;
	}
}


.bottombox h3 {
	margin: 0;
}

.bottombox ul {
	margin: 0;
	list-style-position: outside;
	padding-bottom: 5px;
	padding-left: 15px;
	padding-right: 5px;
	padding-top: 5px;
}

.bottombox ul li {
}

@media screen and (max-width: 940px) {
	.maincontent {
		width: auto;
	}
	.welcome {
		width: auto;
	}
}




/* FOOTER */

footer {
	font-family: Futura, Arial, sans-serif;
	font-size: 18px;
	background-color: #00263e;
	width:100%;
	text-align: left;
	padding: 10px;

	position: absolute;
	left: 0;
	bottom: 0;
}

.footer {
	width: 940px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	padding: 10px;
}

.footerlogo {
	margin-top: auto;
	margin-bottom: auto;
	width: 300px;
	padding: 10px;
}

.footernav {
	color: white;
	display: flex;
	flex-direction: column;
	width: 300px;
	margin-left:20px;
	padding: 10px;
}

.footer2nd {
	padding-top: 5em;
	width: 450px;
}

.footer3rd {
	padding-top: 5em;
	width: 300px;
}

@media screen and (max-width: 940px) {
	.footer {
		width: auto;
		flex-direction: column;
	}
	.footerlogo {
		width: auto;
	}
	.footernav {
		width: auto;
	}
	.footer2nd {
		margin-left:20px;
		padding-top: 0;
		padding-left: 10px;
		width: auto;
	}
	.footer3rd {
		margin-left:20px;
		padding-top: 0;
		padding-left: 10px;
		width: auto;
	}
}

.footernav a, .footer2nd a, .footer3rd a {
	color: #41B6E6;
	text-decoration: none;
}

.footernav a:hover, .footer2nd a:hover, .footer3rd a:hover {
	color: #41B6E6;
	text-decoration: underline;
}

.footer ul {
	margin-bottom:0;
}

/* OVERWRITE DEFAULT PORTAL CSS - 3rd party lib (BS) */


.table-striped tbody tr:nth-child(2n) {
	background-color: #f0f0f0; 
}

.table-striped tbody tr:nth-child(2n+1) {
	background-color: #ffffff; 
}

.table-striped  th {
	background-color: #00263e;
	color: white;
}


.table-bordered td, .table-bordered th {
	border: 1px solid #eaeaea;
}

.table-responsive {
	border: 0;
}

/* OVERWRITE DEFAULT PORTAL CSS - iPortal */


.itp-search-button {
	background-color: #41b6e6;
	border-color: #41b6e6;
	color: white;
}

.itp-search-button:hover {
	background-color: #00262e;
	border-color: #00262e;
	color: white;
}

#iTermPortalArticle a
{
	color: #41b6e6;
    text-decoration: none;
}

#iTermPortalArticle a:hover
{
	color: #00262e;
    text-decoration: none;
}

#iTermPortalResults a
{
	color: #41b6e6;
    text-decoration: none;
}

#iTermPortalResults a:hover
{
	color: #00262e;
	text-decoration: none;
}


.itp-table-striped2 > tbody > tr:nth-child(2n) > td, .itp-table-striped2 > tbody > tr:nth-child(2n) > th {
    background-color: #FFFFFF;
}

.itp-table-striped2 > tbody > tr:nth-child(2n+1) > td, .itp-table-striped2 > tbody > tr:nth-child(2n+1) > th {
    background-color: #F0F0F0;
}

.itp-table-striped2 > tbody > tr:nth-child(2n) > td.darker, .itp-table-striped2 > tbody > tr:nth-child(2n) > th.darker {
    background-color: #d2eff9;
}

.itp-table-striped2 > tbody > tr:nth-child(2n+1) > td.darker, .itp-table-striped2 > tbody > tr:nth-child(2n+1) > th.darker {
    background-color: #add9e8;
}




.footer2nd {
	padding-top: 3.5em;
}

.header span {
	float: left;
	font-size: 30px;
}

.header span a {
	color: white;
}

.header span a:hover {
	color: white;
	text-decoration: none;
}


.header a {
	float: right;
}
