/********************************************************************************
Media Queries
******************************************************************************* */
@media only screen and (-Webkit-min-device-pixel-ratio: 1.5),
only screen and (-moz-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-device-pixel-ratio: 1.5) {

}

	@media only screen and (min-width: 1440px) {
		/*	Slider */
	}

	/*	iPad Smaller than 959px
	-------------------------------------------------- */	
	@media only screen and (min-width: 768px) and (max-width:959px) {
		body { min-width: 768px}
		.wrap{margin:0 auto; width:768px;}
		.slider {width: 768px;}
		.slider .slide { width: 640px; margin:20px;}
		.header {
		height: auto;
		margin: 0 auto;
		width: 768px;
		}
		
		.header .logo {
		height: 67px;
		padding: 10px 0;
		text-align: center;
		width:100%;
		}
		.header .nav {
		background-color:#eee;
		display: inline;
		float: left;
		width: 100%; }
		
		.one-half {width:auto; border:none !important;}
		
		.banner img{width: 488px;}
		.footerwrap {
		margin: 0 auto;
		width: 768px;
		}
		
		.footernav {
		margin-left: 50px;
		}

	}

	/*	420px and 300px;
	-------------------------------------------------- */
	@media only screen and (max-width: 767px) {

	}

	/*	iPhone (portrait)
	-------------------------------------------------- */	
	@media only screen and (min-width: 480px) and (max-width: 767px) {
		body {min-width: 480px}
		.wrap{margin:0 auto; width:480px;}
		.slider {width: 480px;}
		.slider .arrow {margin-left: 10px;}
		.slider .slide { width: 400px; margin:10px;}
		.header {
		height: auto;
		margin: 0 auto;
		width: 480px;
		}
	
		.header .logo {
		height: 67px;
		padding: 10px 0;
		text-align: center;
		width:100%;
		}
		.header .nav {display:none;}
		.header .nav-responsive {  background-color: #EEEEEE;
		display: block;
		float: left;
		text-align: center;
		width: 100%;}
		
				.inputbig{width:auto;}
		.box-three-fourth{width:440px; border:none;}
		.box-three-fourth .slider .slide {width:100%;}
		.box-three-fourth .slider .slide img{width:100%; margin:0;}
		.tab-content{padding:0;}
		.one-fourth {
		float: left;
		padding: 20px;
		width: 440px;
		}
		.banner img{width: 458px;}
		.one-half {width:auto; border:none !important;}
		
		.leftsidebar {width: auto;}
		.rightsidebar {width: auto;}
		.content {border:none; width:auto;}
		.entry {margin-bottom:0px;}
		.entry p.big {width: 300px;}
		.entry p.publications {width: 300px;}
		.entry p.threefourth{float:left; margin:0; width:350px; line-height:18px;}
		
		.footerwrap {
		margin: 0 auto;
		width: 480px;
		}
		
		.footernav {
		margin-left: 0;
		text-align: center;
		}
		.footernav ul li {
		display: inline;
		float:none;
		}
		.blocks label.error,
.blocks label.ok {
position:absolute;
z-index:1;
top:-4px;
left:110px;
padding:32px 15px 5px 10px;
/*reset label*/
width:auto;
text-align:left;
margin:0;
background-repeat:no-repeat;
background-position:257px 16px;
background:none !important;
}
}

	/*	iPhone (landscape) 
	-------------------------------------------------- */	
	@media only screen and (max-width: 479px) {
	body {min-width: 310px}
	.wrap{margin:0 auto; width:310px;}
		.slider {width: 310px;}
		.slider .arrow {display:none;}
		.slider .slide { width: 300px; margin:5px; text-align:center;}

		.header {
		height: auto;
		margin: 0 auto;
		width: 310px;
		}
		.header .logo {
		height: 67px;
		padding: 10px 0;
		text-align: center;
		width:100%;
		}
		.header .nav {display:none;}
		.header .nav-responsive {  background-color: #EEEEEE;
		display: block;
		float: left;
		text-align: center;
		width: 100%;}
		
		.inputbig{width:auto;}
		.box-three-fourth{width:300px; border:none; padding:5px;}
		.box-three-fourth .slider .slide {width:100%;}
		.box-three-fourth .slider .slide img{width:100%; margin:0;}
		.tab-content{padding:0;}
		.one-fourth {
		float: left;
		padding: 10px;
		width: 290px;
		}
			.one-half {width:auto; padding:5px; border:none !important;}
		
		.leftsidebar {width: auto;}
		.rightsidebar {width: auto;}
		.content {border:none; width:auto;}
		.entry {margin-bottom:0px;}
		.entry p.big {width: 200px;}
		.entry p.publications {width: 200px;}
		.entry p.threefourth{float:left; margin:0; width:200px; line-height:18px;}
		.banner img{width: 288px;}
		.footerwrap {
		margin: 0 auto;
		width: 310px;
		}
		
		.footernav {
		margin-left: 0;
		text-align: center;
		}
		.footernav ul li {
		display: inline;
		float:none;
		}
		.blocks label.error,
.blocks label.ok {
position:absolute;
z-index:1;
top:-4px;
left:110px;
padding:32px 15px 5px 10px;
/*reset label*/
width:auto;
text-align:left;
margin:0;
background-repeat:no-repeat;
background-position:257px 16px;
background:none !important;
}
}

	/*	@media print
	-------------------------------------------------- */
		@media print {
			* { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important} 

			a, a:visited { text-decoration: underline}

			a[href]:after { content: " (" attr(href) ")"}

			abbr[title]:after { content: " (" attr(title) ")"}

			.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""} 

			pre, blockquote { border: 1px solid #999; page-break-inside: avoid}

			thead { display: table-header-group} 

			tr, img { page-break-inside: avoid}

			img { max-width: 100% !important}

			@page { margin: 0.5cm}

			p, h2, h3 { orphans: 3; widows: 3}

			h2, h3 { page-break-after: avoid}

		}