/***********reset************/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}
ins{background-color:#ff9;color:#000;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}

* {
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
	width: 100%;
}

body {
	height: 100%;
	width: 75%;
	margin: 0px auto;
	position: relative;
}

@media only screen 
	and (max-width: 1150px) {
	
	body {
		height: 100%;
		width: 100%;
	}

}

#wrapper {
	height: 100%;
	width: 100%;
	background: #FFF;
	font-family: Georgia, serif;
	font-weight: bold;
	font-size: 18px;
	color: white;
	text-align: center;
}

p {
	width: 100%;
	position: absolute;
	opacity: .75;
	top: 45%;
	left: 0;
	color: #FFF;
	text-decoration: none;
}




#netflix, #amazon, #itunes, #itunestv, #netflixbuddy, #itunestvbuddy, #logo, #vudu, #hulu {
	width: 19.1%;
	position: absolute;
}

#netflix, #amazon, #itunes, #itunestv {
	height: 66%;
}

#netflixbuddy, #itunestvbuddy, #vudu, #hulu {
	height: 32%;
}



#netflix {
	background: rgb(204, 109, 89);
	background: url('img/netflix.jpg');
	top: 0%;
}

#amazon {
	background: url('img/amazon.jpg') top left repeat;
	bottom: 0%;
}

#itunes {
	background: url('img/blue.jpg');
	top: 0%;
}

#itunestv {
	background: url('img/appletv.jpg');	
	bottom: 0%;
}

#netflix, #vudu {
	left: .75%;
}

#search, #amazon {
	left: 20.6%;
}

#logo, #netflixbuddy {
	left: 40.45%;
}

#itunes, #itunestvbuddy {
	left: 60.3%;
}

#hulu, #itunestv {
	left: 80.15%;
}


/***********search************/

#search {
	background: url('img/gray.jpg');
	position: absolute;
	height: 33%;
	width: 38.95%;
	top: 0%;
}

#q {
	background: url('img/logo.png') center 50% no-repeat;
	background-size: 101.5%;
	width: 100%;
	height: 75%;
}

input {
	background: url('img/paper.png');
	opacity: .5;
	outline: none;
	border: none;
	width: 100%;
	height: 25%;
	font-family: Georgia;
	font-weight: bold;
	font-size: 36px;
	color: rgba(0, 0, 0, 1);
	position: absolute;
	bottom: 0%;
	left: 0%;
	padding-left: 5px;
}

#button {
	background: url('img/searchbutton2.png') left center repeat;
	background-size: 100% 100%;
	border: none;
	width: 100px;
	height: 25%;
	position: absolute;
	right: 0;
	bottom: 0;
	opacity: .6;
}

#button:hover {
	cursor: pointer;
}


/************logo**************/

#logo {
	background: url('img/green.jpg');
	position: absolute;
	top: 34%;
	height: 32%;
}

#logo img {
	position: absolute;
	height: 50px;
	top: 50%;
	margin-top: -25px;
	
	width: 50px;
	left: 50%;
	margin-left: -25px;
	opacity: 0;
	display: none;
}


/*************hulu & vudu**************/

#netflixbuddy {
	background: url('img/gray.jpg');
	position: absolute;
	bottom: 0%;
	height: 33%;
}

#huluguts {
	display: none;
	width: 100%;
	height: 50%;
	opacity: .75;
	position: absolute;
	top: 0%;
	border-bottom: 10px dotted rgba(255, 255, 255, .25);
}

#huluguts img {
	position: relative;
	width: 50%;
	top: 25%;
}

#huluguts:hover {
	opacity: 1;
}

#hulu img:hover {
	opacity: 1;
}

#vuduguts {
	display: none;
	width: 100%;
	height: 50%;
	opacity: .75;
	position: absolute;
	bottom: 0%;
}

#vuduguts img {
	position: relative;
	width: 50%;
	top: 30%;
}

#vuduguts:hover {
	opacity: 1;
}

#vudu {
	background: url('img/gray.jpg');
	position: absolute;
	bottom: 0%;
	height: 33%;
}

/*************vudu**************/

#itunestvbuddy {
	position: absolute;
	bottom: 0%;
	height: 33%;
	background: url('img/gray.jpg');
}

/********itunesTVbuddy*********/

#hulu {
	background: url('img/gray.jpg');
	position: absolute;
	top: 0%;
	height: 33%;
}

#netflix a, #netflix a:visited, #amazon a, #amazon a:visited, #itunes a, #itunes a:visited, #itunestv a, #itunestv a:visited {
	width: 100%;
	position: absolute;
	opacity: .75;
	top: 35%;
	left: 0;
	color: #FFF;
	text-decoration: none;
}

#netflix a:hover, #netflix a:focus, #amazon a:hover, #amazon a:focus, #itunes a:hover, #itunes a:focus, #itunestv a:hover, #itunestv a:focus {
	opacity: 1;
}

#netflix4, #amazon4, #itunes4, #itunestv4 {
	display: none;
	width: 100%;
	height: 15%;
	position: absolute;
	top: 0%;
}

#netflix4 img, #amazon4 img, #itunes4 img, #itunestv4 img {
	position: relative;
	width: 70%;
	top: 20%;
}

#netflix5, #amazon5, #itunes5, #itunestv5 {
	display: none;
	background-position: center top;
	background-repeat: repeat-x;
	background-size: auto 100%;
	position: absolute;
	top: 12.5%;
	width: 100%;
	height: 34%;
}

#netflix5 a, #amazon5 a, #itunes5 a, #itunestv5 a {
	width: 100%;
	height: 100%;
}

#netflix0, #amazon0, #itunes0, #itunestv0 {
	display: none;
	width: 100%;
	height: 15%;
	background: rgba(0,0,0,.3);
	position: absolute;
	top: 50%;
}

#netflixText0 a, #amazonText0 a, #itunesText0 a, #itunestvText0 a {
	width: 100%;
	position: absolute;
}

#netflix1, #amazon1, #itunes1, #itunestv1 {
	display: none;
	position: absolute;
	top: 63%;
	width: 100%;
	height: 15%;
}

#netflix2, #amazon2, #itunes2, #itunestv2 {
	display: none;
	position: absolute;
	top: 78%;
	width: 100%;
	height: 15%;
}


#netflix3, #amazon3, #itunes3, #itunestv3 {
	display: none;
	position: absolute;
	width: 100%;
	height: 15%;
	top: 93%;
}
.truncate a {
	max-width: 90%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	margin-left: 5%;
}

#netflix1, #amazon1, #itunes1, #itunestv1, #netflix0, #amazon0, #itunes0, #itunestv0, #netflix2, #amazon2, #itunes2, #itunestv2 {

}










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

body {
	background: #000;
}

a {
	font-size: 2em;
}

#netflix, #amazon, #itunes, #itunestv, #netflixbuddy, #itunestvbuddy, #logo, #vudu, #hulu {
	width: 100%;
	position: absolute;
	display: block;
	left: 0;
}

#netflix, #amazon, #itunes, #itunestv {
	height: 19%;
}

#itunestvbuddy, #vudu, #hulu, #netflixbuddy {
	display: none;
}

#netflix {
	background: rgb(204, 109, 89);
	background: url('img/netflix.jpg');
	top: 20%;
}

#amazon {
	background: url('img/amazon.jpg') top left repeat;
	top: 40%;	
}

#itunes {
	background: url('img/blue.jpg');
	top: 60%;	
}

#itunestv {
	background: url('img/appletv.jpg');	
	top: 80%;	
}


#netflix a, #netflix a:visited, #amazon a, #amazon a:visited, #itunes a, #itunes a:visited, #itunestv a, #itunestv a:visited {
	width: 100%;
	position: absolute;
	opacity: 1;
	top: 35%;
	left: 0;
	color: #FFF;
	text-decoration: none;
}

#netflix a:hover, #netflix a:focus, #amazon a:hover, #amazon a:focus, #itunes a:hover, #itunes a:focus, #itunestv a:hover, #itunestv a:focus {
	opacity: 1;
}

/*service titles*/

#netflix4, #amazon4, #itunes4, #itunestv4 {
	display: none;
	width: 100px;
	height: 100%;
	position: absolute;
	bottom: 0;
	right: 0;
}

#netflix4 img, #amazon4 img, #itunes4 img, #itunestv4 img {
	position: absolute;
	width: 100%;
	top: auto;
	bottom: 0;
	right: 0;
}




/*art*/
#netflix5, #amazon5, #itunes5, #itunestv5 {
	display: none;
	background-position: center top;
	background-repeat: repeat-x;
	background-size: auto 100%;
	opacity: .5;
	position: absolute;
	top: 0;
	width: 100px;
	height: 100%;
}

#netflix5 a, #amazon5 a, #itunes5 a, #itunestv5 a {
	width: 100%;
	height: 100%;
}

/*results*/
#netflix0, #amazon0, #itunes0, #itunestv0 {
	display: none;
	background: none;
	width: 100%;
	height: 50%;
	position: absolute;
	top: 25%;
}

#netflixText0 a, #amazonText0 a, #itunesText0 a, #itunestvText0 a {
	width: 100%;
	position: absolute;
}

#netflix1, #amazon1, #itunes1, #itunestv1 {
	display: hidden;
	position: absolute;
	top: 63%;
	width: 100%;
	height: 15%;
}

#netflix2, #amazon2, #itunes2, #itunestv2 {
	display: hidden;
	position: absolute;
	top: 78%;
	width: 100%;
	height: 15%;
}


#netflix3, #amazon3, #itunes3, #itunestv3 {
	display: hidden;
	position: absolute;
	width: 100%;
	height: 15%;
	top: 93%;
}

#netflixText1, #netflixText2, #netflixText3, #amazonText1, #amazonText2, #amazonText3, #itunesText1, #itunesText2, #itunesText3, #itunesText1, #itunesText2, #itunesText3 {
	width: 100%;
	height: 50%;
}


/***********search************/

#search {
	background: url('img/gray.jpg');
	height: 19%;
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
}

#q {
	background: url('img/logo2.png') center bottom no-repeat;
	background-size: auto 100%;
	width: 100%;
	height: 66%;
}

input {
	background: url('img/paper.png');
	opacity: .5;
	outline: none;
	border: none;
	width: 99.3%;
	height: 50%;
	font-family: Georgia;
	font-weight: bold;
	font-size: 36px;
	color: rgba(0, 0, 0, 1);
	position: absolute;
	bottom: 0%;
	left: 0%;
	padding-left: 5px;
}

#button {
	background: url('img/searchbutton2.png') left center repeat;
	background-size: 100% 100%;
	border: none;
	width: 100px;
	height: 50%;
	position: absolute;
	right: 0;
	bottom: 0;
	opacity: .6;
}

#button:hover {
	cursor: pointer;
}


/************logo**************/

#logo {
	background: url('img/green.jpg');
	position: absolute;
	top: 100%;
	height: 19%;
	width: 100%;
	left: 0;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px; 
}

#logo img {
	position: absolute;
	height: 50px;
	top: 50%;
	margin-top: -25px;
	
	width: 50px;
	left: 50%;
	margin-left: -25px;
	opacity: 0;
	display: none;
}


/*************hulu & vudu**************/

#netflixbuddy {
	background: url('img/gray.jpg');
	position: absolute;
	bottom: 0%;
	height: 33%;
	width: 18.8%;
	left: 1%;
}

#huluguts {
	display: none;
	width: 100%;
	height: 50%;
	opacity: .75;
	position: absolute;
	top: 0%;
	border-bottom: 10px dotted rgba(255, 255, 255, .25);
}

#huluguts img {
	position: relative;
	width: 50%;
	top: 25%;
}

#huluguts:hover {
	opacity: 1;
}

#hulu img:hover {
	opacity: 1;
}

#vuduguts {
	display: none;
	width: 100%;
	height: 50%;
	opacity: .75;
	position: absolute;
	bottom: 0%;
}

#vuduguts img {
	position: relative;
	width: 50%;
	top: 30%;
}

#vuduguts:hover {
	opacity: 1;
}

#vudu {
	background: url('img/gray.jpg');
	position: absolute;
	bottom: 0%;
	height: 33%;
	width: 18.8%;
	left: 40.6%;
}

/*************vudu**************/

#itunestvbuddy {
	position: absolute;
	bottom: 0%;
	height: 33%;
	width: 18.8%;
	left: 60.4%;
	background: url('img/gray.jpg');
}

/********itunesTVbuddy*********/

#hulu {
	background: url('img/gray.jpg');
	position: absolute;
	top: 0%;
	height: 33%;
	width: 18.8%;
	left: 80.2%;
}











}




@media only screen 
	and (max-width: 634px) {
	#q {
		background: url('img/logo2.png') left bottom no-repeat;
		background-size: auto 100%;
		width: 100%;
		height: 66%;
	}
	
}

@media only screen 
	and (max-width: 480px) {
	
	#button {
		background: url('img/searchbutton.png') 90% center no-repeat;
		background-size: auto 75%;
		border: none;
		width: 100px;
		height: 50%;
		position: absolute;
		right: 0px;
		opacity: .6;
		bottom: 0px;
	}
}

@media only screen 
	and (max-width: 444px) {
	
	a {
		font-size: 1.5em;
	}
	
	#q {
		background: url('img/logo2.png') left bottom no-repeat;
		background-size: 100% auto;
		width: 100%;
		height: 66%;
	}

}

@media only screen 
	and (max-width: 385px) {
	
	#q {
		background: url('img/logo2.png') left bottom no-repeat;
		background-size: 100% auto;
		width: 100%;
		height: 64%;
	}
	
}

@media only screen 
	and (max-width: 320px) {
	
	#q {
		background: url('img/logo2.png') left bottom no-repeat;
		background-size: 100% auto;
		width: 100%;
		height: 64%;
	}
	
}
