* {
	margin: 0; 
	padding: 0;
}

p {
	margin: 7px 0; 
}

input, p, a { /* тень текста */
	text-shadow: 0 1px 1px rgba(0,0,0,0.1);	
}

html, body { height: 100%; }

.wrap { min-height: 100%; }

#content {
	width: 800px;
	height: 100%;
	margin: 0 auto;
	padding-bottom: 170px;
}

a:visited,
a:link {
	color: #0090d3;
	text-decoration: none;
	border-bottom: 2px dotted transparent;
}

a:hover {
	/*border-bottom: 2px dotted #0090d3;*/
}



/*  список найденных торрентов  */
	
.req-list {
	border: 0px; 
	background-color: transparent; 
	margin: 4px; 
	border-bottom: 2px dotted transparent;
}

.req-list:hover {
	color: #0090d3;
	border-bottom: 2px dotted #0090d3;
	cursor: pointer;
}

form[name="TorrentSelect"] {
	margin: 20px 10px;
}


/*  ссылка на фтп  */

.selected {
	text-align: center;
	margin: 40px 0;
}

.selected a:visited,
.selected a:link,
.linkText  {
	color: #0090d3;
	text-decoration: none;
	border-bottom: 2px dotted transparent;
}

.selected a:hover,
.linkText:hover  {
	border-bottom: 2px dotted #0090d3;
	cursor: pointer;
}

.bold {
	font-weight: bold;
}

.orangeText {
	color: orange;
}

/* ссылка на GD */

form > a:link,
form > a:visited,
form > a {
	color: black;
	margin: 6px;
	line-height: 2.1em;
	font-family: "Tahoma", "Times New Roman";
	font-size: 0.84em;
}

form > a:hover {
	color: #0090d3;
}


/*  шапка header  */

#header-bg {
		margin-bottom: 40px;
		position:relative;
}

#header {
	border-bottom: solid 1px #ddd;
	padding: 20px 0;
	background: #fcfcfc;	
}

#header p {
	text-shadow: rgba(0,0,0,0.4) 0px 3px 3px;
	text-align: center;
	font-size: 30px;
	font-weight: bold;
	color: transparent;
	//color: #777777;
	-webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
}

         /* тень хедера  */
#header {
    position:relative;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
 
#header:before,
#header:after {
    content:"";
    position:absolute;
    z-index:-2;
}
 
#header:before {
    top:60%;
    bottom:0px;
    left:10px;
    right:10px;
    -webkit-box-shadow:0 0 15px rgba(0,0,0,0.6);
       -moz-box-shadow:0 0 15px rgba(0,0,0,0.6);
            box-shadow:0 0 15px rgba(0,0,0,0.6);
    -moz-border-radius:100px / 10px;
         border-radius:100px / 10px;
}
 



/*  подвал footer */

#nav-block {
	text-align: center;
	height: 10px;
	margin: 30px 0;
}

#nav-block a {
	margin: 0 5px;
}

#footer-bg {
	position: relative;
	margin-top: -170px;
	clear: both;
}

#footer {
	padding: 20px 0;
	height: 60px;
	background: #fcfcfc;
	border-top: solid 1px #ddd;
	text-align: center;
	color: #666666;
}

        /* тень футера */
#footer {
    position:relative;
    -webkit-box-shadow:0 -1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 -1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 -1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
 
#footer:before,
#footer:after {
    content:"";
    position:absolute;
    z-index:-2;
}
 
#footer:after {
    top:0px;
    bottom:50%;
    left:10px;
    right:10px;
    -webkit-box-shadow:0 0 15px rgba(0,0,0,0.6);
       -moz-box-shadow:0 0 15px rgba(0,0,0,0.6);
            box-shadow:0 0 15px rgba(0,0,0,0.6);
    -moz-border-radius:100px / 10px;
         border-radius:100px / 10px;
}


/* ---subscript----*/

form > div.sub-text {
  margin: 0em 0.5em;
  font-size: 0.55em;
  float: right;
  top: 2.2em;
  left: -83.5em;
  position: relative;
  padding: 0em 0.2em;
  color: rgba(0,0,0,0);
  border-bottom: 0px;
  background: none;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s linear;
}
 
.GDLink:hover + .sub-text {
  visibility: visible;
  color: #0090d3; 
 /* border-bottom-color: #0090d3;*/
  text-decoration: none;
  background: white;
  opacity: 1;
  transition: visibility 0s, opacity 0.5s linear;
}


/*------------------------------*/

form > .GD-logo {
	height: 0.8em;
	float: left;
	position: relative;
	opacity: 0.3;
	top: 0.52em;
}

.GDLink:hover + .GD-logo {
	opacity: 1;
	height: 0.9em;
	top: 0.47em;
}
/*  плавная анимация ссылок */

.req-list,
.req-list:hover,
.GDLink:hover + .sub-text,
.sub-text,
.GD-logo,
.GDLink:hover + .GD-logo,
a:hover,
a:link,
.type-area,
.type-area:hover,
.selected:hover,
.selected,
.linkText:hover,
.linkText {
  transition: 			all 0.5s ease-out;
	-webkit-transition: 	all 0.5s ease-out;
	-moz-transition: 		all 0.5s ease-out;
	-o-transition: 		all 0.5s ease-out;
}



/* поле поиска  */

.container{
	float: center;
  	overflow: hidden;
  	width: 350px;
  	margin: 40px auto;
 	white-space: nowrap;
  	box-shadow: 0 0 2px grey;
}

.container div {
	display: inline-block;
	vertical-align: middle;
}

[if IE].container:before { /*для IE8+ */
	content: "";
	display: inline-block;
	min-height: inherit;
	height: 100%;
	vertical-align: middle;
	overflow: hidden;
	white-space: nowrap;
}

.container input#search {
  width: 350px;
  height: 50px;
  border: none;
  background: #f9f9f9;
  font-size: 10pt;
  float: left;
  color: #111;
  padding-left: 15px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.container input#search::-webkit-input-placeholder {
   color: #444;
}

.container input#search:-moz-placeholder { /* Firefox 18- */
   color: #444;  
}

.container input#search::-moz-placeholder {  /* Firefox 19+ */
   color: #444;  
}

.container input#search:-ms-input-placeholder {  
   color: #444;  
}

.container:hover button.icon, 
.container:focus button.icon, 
.container:active button.icon{
     outline: none; 
     
  }
  
.container button.icon{
  -webkit-border-top-right-radius: 5px;
  -webkit-border-bottom-right-radius: 5px;
  -moz-border-radius-topright: 5px;
  -moz-border-radius-bottomright: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;

  border: none;
  background: #f9f9f9;
  height: 50px;
  width: 50px;
  color: #888;
  outline: none;
  margin-left: -60px;
  font-size: 10pt;

  -webkit-transition: all .55s ease;
  -moz-transition: all .55s ease;
  -o-transition: all .55s ease;
  transition: all .55s ease;
}

.container:hover .icon:hover{
  color: #555;

  -webkit-transform:scale(1.5); /* Safari и Chrome */
  -moz-transform:scale(1.5); /* Firefox */
  -ms-transform:scale(1.5); /* IE 9 */
  -o-transform:scale(1.5); /* Opera */
   transform:scale(1.5);
}


/*  прочее  */

.preview {
	text-align: center;
	margin: 30px 0;
	border: 1px solid black;
	-webkit-border-radius: 5px;
  	-moz-border-radius: 5px;
  	border-radius: 5px;
  	width: 820px;
}
	
	
/*  mega ссылки  */

.megabox {
	margin: 4em auto;
	position: relative;
}

.megabox input, 
.megabox button,
.button {
	border: none;	
	outline: none;
  -webkit-appearance: none;
  	display: block;
    float: center;
  	overflow: hidden;
  	width: 250px;
  	margin: 0px auto;
 	white-space: nowrap;
  	box-shadow: 0 0 2px grey;
  	padding: 5px;
  
}

.megabox button:hover,
.button:hover {
	
	background-color: white;
	cursor: pointer;
}

.megabox button, 
.megabox button:hover,
.megabox input:hover + #notemail,
.megabox input:hover + #notepass,
.megabox input:focus + #notemail,
.megabox input:focus + #notepass,
#notepass,
#notemail,
.button,
.button:hover {	
	transition: 			all 0.5s ease-out;
	-webkit-transition: 	all 0.5s ease-out;
	-moz-transition: 		all 0.5s ease-out;
	-o-transition: 		all 0.5s ease-out;
}

#notemail {
	display: inline;
	background-color: transparent;
	position: relative;
	right: -10em;
	bottom: 3.1em;
	color: transparent;
	font-size: 0.7em;
}
	
#notepass {
	display: inline;
	background-color: transparent;
	position: relative;
	right: -9.2em;
	bottom: 3.1em;
	color: transparent;
	font-size: 0.7em;
}

.noteerror {
	background-color: white !important;
	color: red !important;
}

.notevalid {
	background-color: white !important;
	color: #04d004 !important;
}

.megabox input:focus + #notemail {
	color: black !important;
	background-color: white;
}

.megabox input:hover + #notemail {
	color: grey;
	background-color: white;
}

.megabox input:focus + #notepass {
	color: black !important;
	background-color: white;
}

.megabox input:hover + #notepass {
	color: grey;
	background-color: white;
}
