html{
	margin:0px;
	padding:0px;
}
body { 
	font-family:ProximaNovaA-Regular;
	font-size:12px;
	margin:0px;
	padding:0px;
}
body img{
	border:none;
}

section{
	width:100%;
}

/*@media only screen and (min-width: 1025px){ */
#wrapper{
	width:1024px;
	height:auto;
	margin:auto auto;
}
#top{
	height:477px;
	background:url('../designpieces/storefront_fornax.jpg') no-repeat top center;
}
#socialmedia
{
	width:120px;
	height:20px;
	position:relative;
	top:5%;
	left:12.17%;
}

article{
	background:#000000;
	width:74.218%;
	height:68.1341%;
	position:relative;
	left:12.17%;
	top:10%;
	border-radius:6px;
}
#news{
	width:100%;
	height:78.461%;
}
#news .caroufredsel_wrapper{
	height:80% !important;
}
#news-info{
	position:absolute;
	left:0px !important;
	width:100% !important;
	height:100% !important;
	display:table;
}
#image-box{
	display:block;
	float:left;
	width:380px;
	height:300px;
}
#image-box img{
	display:block;
	margin:0px;
	width:380px;
	border:1px;
	border-radius:6px 0px 0px 6px;
}
#overlay{
	display:block;
	margin:0px;
	width:380px;
	border:1px;
	border-radius:6px 0px 0px 6px;
	position:absolute;
	height:256px;
	background:url('../designpieces/BackgroundFade_black.png') no-repeat top right;
	left:13px;
	

}
#news-text{
	width:45%;
	float:right;
	height:20%;
	color:#ffffff;
	margin-bottom:20%;
	margin-right:2%;
}
#news-text a{
	text-decoration: none;
	color:#ffffff;
	text-transform: uppercase;
}
#news-piece{
	top:20px;
	left:0px;
	width:100%;
	height:100%;
	display:block;
	float:left;
	
}



/* -----------carousel----------------- */
#carousel{
	width:36%;
	height:20%;
	float:right;
	color:#ffffff;
	position:absolute;
	right:47px;
	top:179px;
}
#carousel .caroufredsel_wrapper{
	height:100% !important;
	
}
#news-carousel{
	width:380px;
}
#news-carousel a{
	
}
#news-carousel img{
	margin-right:8px;
	height:50px;
	
}
/*-----------------------------*/
#nraowords{
	position:relative;
	height:21.538%;
	width:100%;
	background:#1A2A5B;
	top:0%;
	left:0%;
	border-radius:0px 0px 6px 6px;
}
#nraowords img{
	position:relative;
	left:3%;
	top:16%;
}
#news_prev, #news_next{
	display:none;
}
a.prev, a.next {
	   background: url(../designpieces/carousel-arrows-sprite.png) no-repeat transparent;
	    width: 45px;
	    height: 50px;
	    display: block;
	    position: absolute;
	    top:10px;
	}
a.prev{
    left: -26px;
    background: url(../designpieces/carousel-arrows-sprite.png) 0 0 no-repeat;
}
a.prev.disabled{
    left: -26px;
    background: url(../designpieces/carousel-arrows-sprite.png) -50px 0 no-repeat !important;
    cursor:default;
}
a.next{
    right:-32px;
    background: url(../designpieces/carousel-arrows-sprite.png) -100px 0 no-repeat;
}
a.next.disabled{
    right: -32px;
    background: url(../designpieces/carousel-arrows-sprite.png) -150px 0 no-repeat !important;
    cursor:default;
}
a.prev span, a.next span{
    display:none;
}
nav{
	width:74.218%;
	height:68.1341;
	margin-top:30px;
	position:relative;
	left:12.17%;
	
}

.nrao-links{
	width:47.895%;
	
	
}
.nrao-links a{
	text-decoration: none;
	font-size:14px;
	text-transform: uppercase;
	margin-bottom:8px;
	color:#061B42;
}
.nrao-links img{
	border:none;
}
#left-nrao-links{
	float:left;
	
}
#right-nrao-links{
	float:right;
	
}
.open-link{
	background-color:#FFE7D2;
	width:95%;
	height:130px;
	margin-bottom:8px;
	border-radius:6px;
	padding:10px;
}
.closed-link{
	background-color:#EEEFF0;
	width:95%;
	height:11.2px;
	margin-bottom:8px;
	border-radius:6px;
	padding:10px;
}
.mobile-link{
	display:none;
}

#director-block-mobile, .director-link-mobile{
	display:none;
}

.director-link{
	text-decoration: none;
	font-size:14px;
	text-transform: uppercase;
	margin-bottom:8px;
	color:#111111/*#ffffff*/;
	text-align:center;
}

#director-block{
	background-color:#ffffff /*#1A2A5B*/;
	width:240px;
	height:11.2px;
	margin-bottom:8px;
	border-radius:6px;
	padding:10px;
	/*position:absolute;
	top:0px;
	left:58%;*/
	position:relative;
	float:right;
	right:14%;
	top:-21px;
}


.nrao-logos{
	font-size: 10px;
	margin-top:40px;
	color:#061B42;
}
#mobile-media{
	display:none;
}
#news_prev, #news_next{
	display:none;
}

/*}*/

/*----------Responsive-----------------*/


@media only screen and (max-width:1024px)
{
	#wrapper{
	width:768px;
	height:auto;
	margin:auto auto;
}

	#top{
	height:358px;
	background:url('../designpieces/storefront_fornax.jpg') no-repeat top center;
	background-size:contain;
}
	article{
		height:68%;
		width:82.218%;
		left:8.17%;
		
	}
	#news{
	width:100%;
	height:83.461%;
}
	#news .caroufredsel_wrapper{
	height:84% !important;
}
	#image-box{
	width:301px;
	height:300px;
}
	#image-box img{
	width:301px;
}
	#nraowords{
	height:16.538%;
}
	#nraowords img{
	top:4%;
	width:93%;
}
	#carousel{
		display:none;
	}
	nav{
		width:82.218%;
		left:8.17%;
	}
	a.prev, a.next {
	top:70%;
}
	#news_prev, #news_next{
	display:block;
}
	a.prev, a.prev.disabled{
	left: 85%;
}
	a.next, a.next.disabled{
	right:0%;
}
	#overlay {
	height: 208px;
	width: 321px;
}
	.open-link{
	height:147px;
	margin-bottom:8px;
	border-radius:6px;
	padding:1px 10px;
}
}

@media only screen and (-webkit-min-device-pixel-ratio : 1.5) and (orientation: portrait) and (max-width:320px),
only screen and (min-device-pixel-ratio : 1.5) and (orientation: portrait) and (max-width:320px), only screen and (max-width : 320px)


{
	
	#wrapper{
	width: 100%;
	height:auto;
	
}
	
	#top{
	width:100%;
	height:470px;
	background:url('../designpieces/NRAO_mobile_curve_background.jpg') no-repeat top center;
	background-size:cover;
}
    
	article{
		top:-5%;
		height:80%;
	}
	
	#nraowords{
	position:absolute;
	height:6.538%;
	width:100%;
	background:#1A2A5B;
	top:0;
	left:0%;
	border-radius:0px;
}
	#nraowords img{
	position:relative;
	left:2%;
	top:25%;
	width:97%;
	
}
	.drector-link, #director-block, #director-message{
		display:none;
	}
	
	.director-link-mobile{
		display:block;
	text-decoration: none;
	font-size:1em;
	text-transform: uppercase;
	margin-bottom:6px;
	color:#ffffff;
	text-align:center;
	font-weight: bold;
}

	#director-block-mobile{
	background-color:#1A2A5B;
	width:60%;
	height:2%;
	margin-bottom:8px;
	border-radius:6px;
	padding:10px;
	top:10px;
	left:0px;
	right:0px;
	display:block;
	margin-left:auto;
	margin-right:auto;
	
}

#director-message-mobile{
	margin-left:5px;
}
	
#carousel{
	display: none;
}
#news .caroufredsel_wrapper{
	height:90% !important;
}
#news{
	height:100%; 
}
	#news-info{
		position:absolute;
		top:6.538%;
		
	}
	#news-piece{
		height:initial;
	}
	#image-box{
	display:block;
	float:left;
	width:100%;
	min-height:60%;
	height:auto;
}
	#image-box img{
		width:100%;
		margin:0px;
	}
	#news-text{
	width:90%;
	float:right;
	height:160px;
	color:#ffffff;
	margin-bottom:20%;
	margin-right:5%;
	font-size:1.3em;
	}
	.news-intro{
		font-size:0.8em;
	}
	#news{
	width:100%;
	height:100%;
}
	/*#news .caroufredsel_wrapper{
	height:100% !important;
	width:inherit !important;
}*/
	a.prev, a.next {
	top:99%;
}
	#news_prev, #news_next{
	display:block;
}
	a.prev, a.prev.disabled{
	left: 74%;
}
	a.next, a.next.disabled{
	right:0%;
}
	nav{
		margin-top:0;
		
	}
	.open-link{
		height:200px;
	}
	
	.open-link .link-header p:first-child{
		padding-left:1em;
		text-indent:-1em;
	}
	#left-nrao-links, #right-nrao-links{
		width:100%;
		
}
	.nrao-links a{
		font-size:1.2em;
		font-weight:bold;
	}
	.desktop-link{
		display:none;
	
}
	.mobile-link{
		display:block;
	}
	.nrao-logos{
		display:none;
	}
	#mobile-media{
		display:table;
		width:100%;
		position:relative;
		width:100%;
	}
	#mobile-social-media{
		position:relative;
		display:table;
		width:90%;
		text-align:center;
		margin-left:14px;
	}
	#mobile-social-media img{
		padding-top:10px;
	}
	#mobile-logos{
		display:table;
		font-size:10px;
		width:100%;
	}
	#mobile-logos p{
		width:20%;
		display:block;
		margin:5px auto;
	}
	#mobile-logos span{
		width:40%;
		display:block;
		margin:0px auto;
		margin-top:10px;
	}
	#mobile-logos span img{
		display:inline-block;
		margin-top:0px;
	}
	#mobile-logos img{
		display:block;
		
		margin:10px auto;
		
		
	}
	#mobile-logos p{
		width:75%;
		margin-bottom:5px;
		
	}
	hr{
		background-image: -moz-linear-gradient(left center , transparent, rgba(0, 0, 0, 0.75), transparent);
		background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.74902), rgba(0, 0, 0, 0));
		border: 0 none;
		height: 1px;
		width:80%;
	}
	

}

@media only screen and (-webkit-min-device-pixel-ratio : 1.5) and (orientation: landscape) and (max-width:640px),
only screen and (min-device-pixel-ratio : 1.5) and (orientation: landscape) and (max-width:640px), (max-width:640px) and (orientation:landscape){
	#wrapper{
	width: 100%  /*326px*/ ;
	height:auto;
	
}
	#top{
	width:100%;
	height:500px;
	background:url("../designpieces/NRAO_mobile_curve_background.jpg") no-repeat top center;
	background-size:cover;
}
	
    
	article{
		top:-5%;
		height:85%;
	}
	#nraowords{
	position:absolute;
	height:6.538%;
	width:100%;
	background:#1A2A5B;
	top:0;
	left:0%;
	border-radius:0px;
}
	#nraowords img{
	position:relative;
	left:2%;
	top:25%;
	width:97%;
	
}
	.drector-link, #director-block, #director-message{
		display:none;
	}
	.director-link-mobile{
	display:block;
	text-decoration: none;
	font-size:1.2em;
	text-transform: uppercase;
	margin-bottom:6px;
	color:#ffffff;
	text-align:center;
}

	#director-block-mobile{
	background-color:#1A2A5B;
	width:42%;
	height:3.5%;
	margin-bottom:8px;
	border-radius:6px;
	padding:10px;
	left:0px;
	right:0px;
	display:block;
	margin-left:auto;
	margin-right:auto;
	
}

#director-message-mobile{
	margin-left:15px;
}
	
	#carousel{
		display: none;
	}
	#news{
		height:100%;
	}
	#news-info{
		position:absolute;
		top:7.538%;
	}
	#image-box{
	display:block;
	float:left;
	width:90%;
	height:auto;
}
	#image-box img{
		width:100%;
		margin:0px;
	}
	#news-text{
	width:90%;
	float:right;
	height:250px;
	color:#ffffff;
	margin-bottom:20%;
	margin-right:5%;
	font-size:1.3em;
	}
	.news-intro{
		font-size:0.8em;
	}
	#news{
	width:100%;
	height:100%;
}
	#news .caroufredsel_wrapper{
	height:100% !important;
	width:inherit !important;
}
	a.prev, a.next {
	top:100%;
}
	#news_prev, #news_next{
	display:block;
}
	a.prev, a.prev.disabled{
	left: 74%;
}
	a.next, a.next.disabled{
	right:0%;
}
	nav{
		margin-top:0;
		
	}
	#left-nrao-links, #right-nrao-links{
		width:100%;
		
	}
	.open-link{
		height:200px;
	}
	.nrao-links a{
		font-size:18px;
		font-weight:bold;
	}
	.desktop-link{
		display:none;
	
}
	.mobile-link{
		display:block;
	}
	.nrao-logos{
		display:none;
	}
	#mobile-media{
		display:table;
		width:100%;
		position:relative;
		width:100%;
	}
	#mobile-social-media{
		position:relative;
		display:table;
		width:90%;
		text-align:center;
		margin-left:25px;
	}
	#mobile-social-media img{
		padding-top:10px;
	}
	#mobile-logos{
		display:table;
		font-size:10px;
		width:100%;
	}
	#mobile-logos p{
		width:20%;
		display:block;
		margin:5px auto;
	}
	#mobile-logos span{
		width:40%;
		display:block;
		margin:0px auto;
		margin-top:10px;
	}
	#mobile-logos span img{
		display:inline-block;
		margin-top:0px;
	}
	#mobile-logos img{
		display:block;
		
		margin:10px auto;
		
		
	}
	#mobile-logos p{
		width:75%;
		margin-bottom:5px;
		
	}
	hr{
		background-image: -moz-linear-gradient(left center , transparent, rgba(0, 0, 0, 0.75), transparent);
		background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.74902), rgba(0, 0, 0, 0));
		border: 0 none;
		height: 1px;
		width:80%;
	}


}









