body {
	font-family: "Open Sans", sans-serif;
	margin: 0px;
	padding: 0px;
	background-color: #666;
}

img.iit-logo {
	height: 30px;
}

body h1 {
	margin-top: 0px;
}

body h1, body h2, body h3, body h4, body h5 {
	font-family: "Oswald", sans-serif;
	font-weight: 300;
	color: #C00;
}

div#page-header {
	height: 85px;
/* 	background-color: white; this breaks the box shadow in chrome*/
	background-image: url("/biodem/javax.faces.resource/background.png.xhtml?ln=images");
	border-bottom: 15px solid #666;
	-webkit-box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.45);
	-moz-box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.45);
	box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.45);
	position: relative;
	z-index: 100;
}

div#page-header div.header-text {
	color: #c00;
	font-size: 2.7em;
	font-family: EconomicaBold-IIT;
	position: absolute;
	left: 113px;
	top: 20px;
}

img#site-icon {
	position: absolute;
	top: 17px;
	left: 28px;
	height: 50px;
}

div#page-header div.logLinkContainer {
	position: absolute;
	top: 106px;
	right: 0px;
	margin-right: 0.9em;
	display: -webkit-flex;
	display: flex;
}

div#page-header div.logLinkContainer span.name-caption {
	-webkit-align-self: center;
	align-self: center;
	font-size: 12.5px;
}

div#page-header div.logLinkContainer span.vert-sep {
	-webkit-align-self: center;
	align-self: center;
	font-size: 12.5px;
	padding-left: 5px;
	padding-right: 5px;
}

div#page-header div.logLinkContainer a {
	display: flex;
	font-size: 25px;
	-webkit-align-self: center;
	align-self: center;
	text-decoration: none;
	color: black;
}

div#page-header div.logLinkContainer a span {
	font-size: 12.5px;
	padding-right: 0.4em;
	-webkit-align-self: center;
	align-self: center;
}

div#page-header div.logLinkContainer a:visited {
	color: black;
}

div#page-header div.logLinkContainer a:hover, div#page-header div.logLinkContainer a:active {
	color: #C00;
}

div#page-content {
	padding: 30px;
	z-index: 50;
	background-color: white;
}

div#page-footer {
	border-top: 5px solid #C00;
	color: #FFF;
}

.summary-panel {
	margin: 0 auto;
	margin-bottom: 10px;
	width: 90%;
	position: relative;
	-webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	-moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* override primefaces theme font size and family */
/* this example is per PF documentation */
.ui-widget {
	font-size: 0.95em !important;
	font-family: "Open Sans", Arial, sans-serif;
}

.ui-widget .ui-widget {
	font-size: 0.95em !important;
	font-family: "Open Sans", Arial, sans-serif;
}

.ui-selectonemenu-panel .ui-selectonemenu-filter-container .ui-icon {
	right: -2px;
}

.ui-button {
	-webkit-box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	-moz-box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.ui-button:hover {
	-webkit-box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
	-moz-box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
	box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
}

.ui-commandlink {
    text-decoration: none;
}

.ui-outputlabel-rfi { 
	color: #C00; 
}

.ui-panel .ui-panel-content {
	padding: 0.5em 0.5em
}

.ui-panel .ui-panel-titlebar {
    padding: .4em 1em;
}

.ui-panelgrid .ui-panelgrid-cell {
	padding: 0px;
}

.color-4e5255 {
	color: #4e5255;
}

.caption {
    position: relative;
    overflow: hidden;

    /* Only the -webkit- prefix is required these days */
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
}

.caption::before {
    content: ' ';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: transparent;
    transition: background .35s ease-out;
}

.caption:hover::before {
    background: rgba(192,192,192,0.3);
}

.caption__media {
    display: block;
    min-width: 100%;
    max-width: 100%;
    height: auto;
}

.caption__overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    color: white;

    -webkit-transform: translateY(100%);
            transform: translateY(100%);

    transition: -webkit-transform .35s ease-out;
    transition:         transform .35s ease-out;
}

.caption:hover .caption__overlay {
    -webkit-transform: translateY(0);
            transform: translateY(0);
}

.caption__overlay__title {
	position: absolute;
	right: 0px;
	top: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 4px;
	border-bottom-left-radius: 4px;
	color: white;
	background-color: red;
	font-size: 80%;
}

.caption:hover .caption__overlay__title {
    -webkit-transform: translateY(0);
            transform: translateY(0);
}

.summary-page-text {
	margin-top: 0.5em;
	margin-left: 1.4em;
	margin-right: 1.4em;
	margin-bottom: 1em;
	color: #4f4f4f;
}

.contact-info-panel {
	padding: 11px;
}

.confirm-statement-container {
	margin-top: 1.6em;
	margin-bottom: 0.8em;
}

.confirm-statement {
	margin-left: 0.5em;
}

.submit-statement {
	color: red;
	margin-top: 0.7em;
	margin-bottom: 0.4em;
}

#footer-logo, #footer-copyright {
	margin: 12px;
}

.infobox {
    background-color: #d7e6ff;
    border: 1px solid #7b98cb;
    border-radius: 10px;
    padding: 10px;
}

.infobox-icon {
    color: #25519e;
}

.infobox .infobox-icon {
    font-size: 1.5em;
    margin-right: 10px;
}

.infobox-message {
    font-size: 14px;
    color: #475877;
}

.check-circle-icon {
    color: #28A828;
    font-size:1.5em;
    padding-right:5px
}

input[readonly="readonly"] {
    background-color: lightgrey;
}

ul.disc-style {
    list-style-type: disc;
}

/* =========================================== */
@media all and (max-width: 800px) {
	div#page-header {
		height: 55px;
		border-bottom: 10px solid #666;
	}
	
	div#page-header div.header-text {
		font-size: 1.5em;
		left: 68px;
		top: 17px;
	}
	
	img#site-icon {
		height: 30px;
		top: 14px;
		left: 15px;
	}
	
	div#page-header div.logLinkContainer {
		top: 70px;
		margin-right: 0.5em;
	}
	
	#page-footer {
		flex-direction: column;
		align-items: center;
	}

	img.iit-logo {
		height: 50px;
	}
	
	.iit-logo-container {
		flex-grow: 0;
	}
	
	#footer-logo, #footer-copyright {
	    margin: 7px;
	}
	
	#footer-copyright {
		font-size: 70%;
	}
}


/* =========================================== */
@media all and (max-width: 350px) {
	div#page-header div.header-text {
		top: 1px;
	}
	

}
