/**
	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;
}





/* Overrides */

/*
A-green #116a3e
B-green #5f9e6c
C-green #a6d0ab
Bo #64ba76

blue #434EE4
blue-hover #5F68E8
*/


.logo {
	margin-top: 5px;
	height: 40px;
}

a {
	/*color: #116a3e;*/ /* A */
	color: #434EE4; /* b */
}

a:hover {
	/*color: #5f9e6c;*/ /* B */
	color: #5F68E8; /* bh */
}

.itp-search-button {
	/*background-color: #64ba76;*/ /* Bo */
	/*border-color: #64ba76;*/ /* Bo */
	background-color: #5f9e6c; /* B */
	border-color: #5f9e6c; /* B */
	color:black;
}

.itp-search-button:hover {
	/*background-color: #5f9e6c;*/ /* B */
	/*border-color: #5f9e6c;*/ /* B */
	background-color: #116a3e; /* A */
	border-color: #116a3e; /* A */
	color:black;
}

.header {
	background-color: #116a3e; /* A */ 
}

.subnavi {
	background-color: #a6d0ab; /* C */
}

.subnavi a:hover {
	color: #116a3e; /* A */
}

.bottombox {
	background-color: #e0efde;
}

footer {
	background-color: #116a3e; /* A */
	color: white;
}

.footernav a, .footer2nd a {
	/*color: #a6d0ab;*/ /* C */
	color: white;
	text-decoration: underline;
}

.footernav a:hover, .footer2nd a:hover {
	/*color: #a6d0ab;*/ /* C */
	color: white;
}

#iTermPortalArticle a
{
	color: #434EE4; /* b */
    text-decoration: underline;
}

#iTermPortalArticle a:hover
{
	color: #5F68E8; /* bh */
    text-decoration: underline;
}


#iTermPortalResults a
{
    /*color: #116a3e;*/ /* A */
    color: #434EE4; /* b */
    text-decoration: underline;
}

#iTermPortalResults a:hover
{
    /*color: #5f9e6c;*/ /* B */
    color: #5F68E8; /* bh */
    text-decoration: underline;
}


.table-striped  th {
	/*background-color: #64ba76;*/ /* Bo */
	background-color: #a6d0ab; /* C */
	color: black;
}

.itp-table-striped2 > tbody > tr:nth-child(2n) > td.darker, .itp-table-striped2 > tbody > tr:nth-child(2n) > th.darker {
    background-color: #a6d0ab; /* C */
}

.itp-table-striped2 > tbody > tr:nth-child(2n+1) > td.darker, .itp-table-striped2 > tbody > tr:nth-child(2n+1) > th.darker {
    /*background-color: #64ba76;*/ /* Bo */
    background-color: #5f9e6c; /* B */
}


.table-bordered td, .table-bordered th {
	/*border: 1px solid #ffffff;*/
}

.footer {
	padding-left: 5px;
}


.footernav {
	width: 450px;
	padding-left: 0;
	margin-left:0;
}

.footernav ul {
	-margin-left: 0;
	padding-left: 0;
	list-style-position: inside;
}


.footer2nd {
	padding-top: 2.0em;
}

.header_content {
	width: 940px;
	margin-left: auto;
	margin-right: auto;
}

@media screen and (max-width: 940px) {
	.header_content {
		width: auto;
	}
	.footernav {
		width: auto;
	}
	.footer2nd {
		padding-top: 0;
		padding-left: 0;
		margin-left:0;
	}
}

