html {
	
}
body {
	height: 100%;
	width:100%;
	margin: 0px;
 	padding: 0px;
	/*background-color: white;*/

}
@font-face
{
font-family: IMFPica;
src: url(assets/imfedprm29.otf);
}
@font-face
{
font-family: IMFEnglish;
src: url(assets/imfeenrm29c.otf);
}
@font-face
{
font-family: IMFEngItalic;
src: url(assets/imfeenit29c.otf);
}

p {font-family: IMFEnglish;/*Garamond, Times, serif;*/
	font-size: 20px;
	line-height: 21px;
	/*--color: #660000;*/
	color:black;
	margin-left: 3px;
	margin-right:3px;
	vertical-align:top;
	}
h1 {font-family: IMFPica; 
	font-size: 32px; 
	line-height: 30px; 
	color: #003399;
	text-decoration: none;
	}
h1i {font-family: IMFEngItalic; 
	font-size: 32px; 
	line-height: 30px; 
	color: #003399;
	text-decoration: none;
	}
h2 {font-family: IMFPica; 
	font-size: 23px; 
	line-height: 24px; 
	color: #660000;
	text-decoration: none;
	}

.h5 {font-family: IMFEnglish; 
	font-size: 60px; 
	line-height:64px;
	color: #003399;
	text-decoration: none;
}
#border{
	top:0px;
	min-height:170px;
	min-width:170px;
	background-color:none;
	border:100px solid transparent;
	border-image-source:url(images/border-image.png);
	border-image-slice:100;
	border-image-width:100px;
	border-image-outset: 0;
	border-image-repeat:repeat;
	border-color:white;
	margin-bottom:0;
}

#wrapper{
	/*--width:100%;
	height:100%;--*/
	top:0;
	padding:20px;
	margin:0px;
	margin-left:auto;
	margin-right:auto;
	display:block;
	min-height:600px;
	min-width:480px;
	max-width:1280px;
}
#content{
	padding-top:5px;
	padding-bottom:10px;
	background-color:white;
	min-width:300px;
	margin-bottom:0;
	border:#FFFFFF;
	border:medium;
}
#HomeImg
{
	width:150px;
}
.StretchImg{
	width:100%;
}
.gallery{
	display:inline;
	margin:0;
}
a{
	text-decoration:underline;
}
/* unvisited link */
a:link {
    color: #1CAB74;
}

/* visited link */
a:visited {
    color: #14378e;
}

/* mouse over link */
a:hover {
}

/* selected link */
a:active {
}
ul, li{
	-webkit-padding-start: 0px;
	list-style:none;
}
#image{
	width:400px;
}

/*--Main Navigation Bar--*/
div.MainNav {/*--not needed???--*/
	width:100%;
	min-width:600px;
	height:1px;
	position:absolute;
	left: 0;
	top: 2;
	background-color: none; 
	text-align:center;
	margin-top:5px;
	margin-bottom:0px;
	padding:0px;
	z-index:2;
}

/*http://osvaldas.info/drop-down-navigation-responsive-and-touch-friendly*/
#nav
		{
			width: 600px;
			font-weight:bold;
			font-size:24px;
			font-family: IMFPica;
			margin:auto;
		}
		a{
			text-decoration:none;
		}

			#nav > a
			{
				display: none;
			}

			#nav li
			{
				position: relative;
			}
				#nav li a
				{
					color: #1CAB74;
					display: block;
				}
				#nav li a:active
				{
	background-color: #1CAB74 !important; /*greenish */
	color:#CAEB93;
				}

			#nav span:after
			{
				width: 0;
				height: 0;
				border: 0.313em solid transparent; /* 5 */
				border-bottom: none;
				border-top-color: #CAEB93;
				content: '';
				vertical-align: middle;
				display: inline-block;
				position: relative;
				right: -0.313em; /* 5 */
			}

			/* first level */

			#nav > ul
			{
	list-style-type: none;
	margin: 0;
	padding: 0;
	height: 1.75em;
	background-color: #CAEB93;				
			}
				#nav > ul > li
				{
					width: 33%;/*number of UL major categories*/
					height: 100%;
					float: left;
				}
					#nav > ul > li > a
					{
						height: 100%;
						line-height: 1.75em; /* 60 (24) */
						text-align: center;
					}
						#nav > ul > li:not( :last-child ) > a
						{
							border-right: 1px solid #CAEB93;
						}
						#nav > ul > li:hover > a,
						#nav > ul:not( :hover ) > li.active > a
						{
							background-color: #CAEB93;
							color:#14378e;
						}


				/* second level */

				#nav li ul
				{
					background-color: #CAEB93;
					display: none;
					position: absolute;
					top: 100%;
				}
					#nav li:hover ul
					{
						display: block;
						left: 0;
						right: 0;
					}
						#nav li:not( :first-child ):hover ul
						{
							left: -1px;
						}
						#nav li ul a
						{
							font-size: 24px; /* 20 */
							border-top: 1px solid #CAEB93;
							padding: 5px; /* 15 (20) */
						}
							#nav li ul li a:hover,
							#nav li ul:not( :hover ) li.active a
							{
								background-color: #CAEB93;
								color:#14378e;
							}
/* Video scaling */
.videoWrapper {
	position: relative;
	padding-bottom: 75%; /* 16:9=56.25%, 4:3=75% */
	padding-top: 25px;
	overflow:hidden;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
@media screen and (max-width: 980px) {

p {font-size: 16px;
	line-height: 17px;
	color:black;
	margin-left: 3px;
	margin-right:3px;
	vertical-align:top;
	}
h1 {font-size: 28px; 
	line-height: 26px; 
	color: #003399;
	}
h1i {font-size: 28px; 
	line-height: 26px;
	}
h2 {font-size: 20px; 
	line-height: 21px; 
	}
.h5 {font-size: 54px; 
	line-height:56px;
}	
#border{
	top:0px;
	min-height:170px;
	min-width:150px;
	border:100px solid transparent;
	border-image-source:url(images/border-image.png);
	border-image-slice:100;
	border-image-width:100px;
	border-image-outset: 0;
	border-image-repeat:repeat;
	border-color:white;
	margin-bottom:0;
}

#wrapper{height:100%;--*/
	top:0;
	padding:20px;
	margin:0px;
	margin-left:auto;
	margin-right:auto;
	display:block;
	min-height:600px;
	min-width:480px;
	max-width:980px;
}
#press-wrapper{
	padding:20px;
	margin:0px;
	margin-left:auto;
	margin-right:auto;
	display:block;
	min-height:800px;
	min-width:600px;
	max-width:1000px;
}
#content{
	padding-top:5px;
	padding-bottom:10px;
	background-color:white;
	min-width:250px;
	border:medium;
}
#HomeImg
{
	width:120px;
}
#PressImg{
	width:200px;
}
/*--Main Navigation Bar--*/
div.MainNav {/*--not needed???--*/
	width:100%;
	min-width:430px;
	height:1px;
	position:absolute;
	left: 0;
	top: 2;
	background-color: none; 
	text-align:center;
	margin-top:5px;
	margin-bottom:0px;
	padding:0px;
	z-index:2;
}
#nav
		{
			width: 400px;
			font-size:20px;
			
		}
		#nav li ul a
		{
			font-size: 20px; /* 20 */
			border-top: 1px solid #d9ce4d;
			padding: 5px; /* 15 (20) */
		}
							
}


@media screen and (max-width: 736px) {

p {
	font-size: 16px;
	line-height: 17px;
	color:black;
	margin-left: 3px;
	margin-right:3px;
	vertical-align:top;
	}
h1 {font-size: 26px; 
	line-height: 24px; 
	color: #003399;
	}
h1i {font-size: 26px; 
	line-height: 24px; 
	}	
h2 {font-size: 20px; 
	line-height: 21px; 
	color: #660000;
	}
.h5 {font-size: 48px; 
	line-height:46px;
}	
#border{
	min-height:170px;
	min-width:170px;
	top:0px;
	background-color:none;
	border:50px solid transparent;
	border-image-source:url(images/border-image-mobile.png);
	border-image-slice:50;
	border-image-width:50px;
	border-image-outset: 0;
	border-image-repeat:repeat;
	border-color:white;
	margin-bottom:0;
}

#wrapper{
	top:0;
	padding:20px;
	margin:0px;
	margin-left:auto;
	margin-right:auto;
	display:block;
	min-height:600px;
	min-width:440px;
	max-width:800px;
}
#content{
	padding-top:50px;
	padding-bottom:10px;
	background-color:white;
	min-width:250px;
	margin-bottom:0;
	border:#FFFFFF;
	border:medium;
}
#HomeImg
{
	width:120px;
}
/*--Main Navigation Bar--*/
div.MainNav {/*--not needed???--*/
	width:100%;
	min-width:350px;
	height:1px;
	position:absolute;
	left: 0;
	top: 2;
	background-color: none; 
	text-align:center;
	margin-top:5px;
	margin-bottom:0px;
	padding:0px;
	z-index:2;
}
#nav
		{
			width: 300px;
			font-size:18px;
			
		}
		/* first level */

			#nav > ul
			{
				height: 1.5em;
				
			}
				#nav > ul > li
				{
					width: 33%;/*number of UL major categories*/
					
				}
					#nav > ul > li > a
					{
						line-height: 1.5em;
					}
			/* second level */
	#nav li ul a
		{
			font-size: 20px; /* 20 */
			border-top: 1px solid #d9ce4d;
			padding: 3px; /* 15 (20) */
		}
#image{
	width:300px;
}
		
}
@media screen and (max-width: 640px) {
	#content{
	padding-top:75px;
	}
	#nav
			{
				width:300;
				position: relative;
				top: auto;
				left:auto;
				text-decoration:none;
				font-size:26px;
				text-align:center;
			}
				#nav > a
				{
					margin:auto;
					width: 3.75em; 
					height: 2em; 
					text-align: center;
					text-indent: -9999px;
					background-color: #CAEB93;
					position: relative;
				}
					#nav > a:before,
					#nav > a:after
					{
						position: absolute;
						border: 4px solid #1CAB74;
						top: 25%;
						left: 20%;
						right: 20%;
						content: '';
					}
					#nav > a:after
					{
						top: 60%;
					}

				#nav:not( :target ) > a:first-of-type,
				#nav:target > a:last-of-type
				{
					display: block;
				}


			/* first level */

			#nav > ul
			{
				height: auto;
				display: none;
				position: absolute;
				left: 0;
				right: 0;
				text-decoration:none;
			}
				#nav:target > ul
				{
					display: block;
				}
				#nav > ul > li
				{
					width: 100%;
					float: none;
				}
					#nav > ul > li > a
					{
						height: auto;
						text-align: center;
						padding: 0 0.833em; /* 20 (24) */
					}
						#nav > ul > li:not( :last-child ) > a
						{
							border-right: none;
							border-bottom: 1px solid #CAEB93;
						}


				/* second level */

				#nav li ul
				{
					position: static;
					text-align: center;
					padding: 1.25em; /* 20 */
					padding-top: 0;
				}
				#nav li ul a
				{
					font-size:26px;
				}
#image{
	width:250px;
}				
	
}
@media screen and (max-width: 480px) {

p {
	font-size: 14px;
	line-height: 15px;
	color:black;
	margin-left: 3px;
	margin-right:3px;
	vertical-align:top;
	}
h1 {
	font-size: 23px; 
	line-height: 24px; 
	color: #003399;
	}
h1i {font-size: 23px; 
	line-height: 24px; 
	}		
h2 {
	font-size: 17px; 
	line-height: 18px; 
	color: #660000;
	}
.h5 {font-size: 40px; 
	line-height:42px;
}	
#border{
	min-height:170px;
	min-width:170px;
	top:0px;
	background-color:none;
	border:50px solid transparent;
	border-image-source:url(images/border-image-mobile.png);
	border-image-slice:50;
	border-image-width:50px;
	border-image-outset: 0;
	border-image-repeat:repeat;
	border-color:white;
	margin-bottom:0;
}

#wrapper{
	top:0;
	padding:0px;
	margin:0px;
	margin-left:0;
	margin-right:0;
	display:block;
	min-height:600px;
	min-width:320px;
	max-width:480px;
}
#press-wrapper{
	padding:20px;
	margin:0px;
	margin-left:auto;
	margin-right:auto;
	display:block;
	min-height:800px;
	min-width:600px;
	max-width:1000px;
}
#content{
	padding-top:100px;
	padding-bottom:10px;
	min-width:120px;
	margin-bottom:0;
	border:#FFFFFF;
	border:medium;
	
}
#HomeImg
{
	width:85px;
}
/*--Main Navigation Bar--*/
div.MainNav {/*--not needed???--*/
	width:100%;
	min-width:200px;
	height:150px;
	position:absolute;
	left: 0;
	top: 2;
	background-color: none; 
	text-align:center;
	margin:0px;
	padding:0px;
	z-index:2;
}
		#nav
			{
				width:250px;

		}
#image{
	width:200px;
}
/* Video scaling */
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
}
}
