/******************************************************************************
 * Author: Mike Takahashi - mtakahashi <at> support.ucla.edu
 *         UCLA Communications and Public Outreach
 * Filename: main.css
 *
 ******************************************************************************/

body {
    background: #ffffff url(../images/bg.jpg) repeat-x;
    margin: 0;
    padding: 0;
    font: 90% Georgia, "Times New Roman", Times, serif;
}
input {
    visibility: visible;
    vertical-align: middle;
}
input, textarea {
    border: 1px solid #cccccc;
    padding: 4px;
}
h1 {
    font-size: 140%;
    color: #536895;
    font-weight: normal;
}
h2 {
    font-size: 120%;
    color: #536895;
    font-weight: normal;
    margin-top: 40px;
}
p, ul li {
    line-height: 1.5em;
}
ol li {
    margin: 0;
    padding: 5px 0;
}
.code {
    background-color: #efefef;
    border: 1px solid #cccccc;
    padding: 10px;
}
.fieldRequired {
    background: url(../images/required.gif) center left no-repeat;
    padding: 0 0 0 8px;
    color: White;
}
/* Fixes extra padding in IE */
form {
    border: none;
    margin: 0;
}
label {
    font-weight: bold;

}
.field {
    top: 0;
    left: 0;
    margin: 0 1em 1em 0;
    clear: both;
}
.formHelp {
    font-size: 90%;
    color: #76797c;
    margin: 0 0 0.2em 0;
}
.formHelp:hover {
    color: Black;
    cursor: default;
}
#input-gadget:focus,
#short-url:focus {
    outline: 0;
}
#short-url {
 width: 93%;
 font-family:Arial, Helvetica, sans-serif;
 font-size:16px;
}
#wrapper {
    margin: 0 auto;
	padding: 0;
}
.hiddenStructure{
    display: none;
}
#logo {
    margin: 50px 0;
    text-align: center;
}
#logo img {
    border: none;
}
#error-message {
    background: url(../images/error-icon.gif) no-repeat;
    width: 560px;
    margin: 0 auto;
    padding: 0 0 20px 30px;
    color: #ff0000;
}
#content a,
#content a:visited {
    color: #2685bb;
    text-decoration: none;
    border-bottom: 1px solid #2685bb;
}
#content a:hover {
    border-bottom: none;
}
#input-box-wrapper {
    background: url(../images/input-bg.gif) no-repeat;
    width: 600px;
    height: 60px;
    margin: 0 auto;
}
#input-box {
    float: left;
    margin: 16px 0 0 15px;
    _margin: 16px 0 0 8px;
}
#input-gadget {
    float: left;
	background: #ffffff;
    width: 500px;
    height: 15px;
    border: 1px solid #cccccc;
    padding: 4px;
}
.input-button {
    float: left;
    background: #536895 url(../images/shorten-button.gif) no-repeat;
    border: none;
    color: #ffffff;
    width: 55px;
    height: 24px;
    margin-left: 5px;
}
#about #content,
#faq #content,
#terms-of-service #content,
#contact #content {
    width: 600px;
    margin: 0 auto;
}
#results-wrapper {
    margin: 0 auto;
    width: 600px;
}
.results {
    padding: 5px;
}
.results a,
.results a:visited {
    color: #2685bb;
    text-decoration: none;
    border-bottom: 1px solid #2685bb;
}
.results a:hover {
    border-bottom: none;
}
.input-result {
    border: 1px solid #ffb300;
    padding: 5px;
    font-size: 100%;
	vertical-align: middle;
}
.original-url {
    color: #999999;
	word-wrap:break-word;
}
#footer {
    padding: 50px 0;
    text-align: center;
	color: #666666;
}
#footer a,
#footer a:visited {
    color: #666666;
    text-decoration: none;
}
#footer a:hover {
    color: #2685bb;
}
#footer ul {
    margin: 0;
	padding: 0;
}
#footer ul li {
    display: inline;
    border-left: 1px solid #cccccc;
    padding: 0 6px;
}
#footer .first {
    border-left: none;
}
#copyMsg {
	margin:10px 0;
}
.copy-icon {
    margin-left: 3px;
    cursor: pointer;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.copy-link + .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: #404040;
  color: #fff;
  text-align: center;
  padding: 5px 0px 6px 0px;
  border-radius: 3px;

  position: absolute;
  z-index: 1;
}

#shorturlContainer .tooltiptext {
    bottom: 11px;
    left: 185px;
}

.shorturl .tooltiptext {
    bottom: -5px;
    left: 185px;
}

.copy-link + .tooltiptext::after {
  content: " ";
  position: absolute;
  top: 50%;
  right: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent black transparent transparent;
}

.recent-link {
    margin: 0;
}

/*====================RECENT LINKS====================*/
#recent p.separator {display:block; font-size:13px; color:#DDDDDD; background-color:#EFEFEF; margin-top:42px; margin-bottom:30px; text-align:center; position:relative; height:2px;}
#recent p.separator span {line-height:30px; padding: 0 20px; position:relative; background-color:#FFF; top:-11px;}
#recent	p.separator span:before {content: " "; height:60%; padding:1px 0 0; border:1px solid #EFEFEF; border-width:2px 2px 0 2px; position:absolute; display:block; left:-1px; right:-2px; top:-7px;}

#recent ul, #recent li{padding:0; margin:0; list-style:none;}

#recent .linkRow ul li {display:inline-block;}
#recent .linkRow ul li:first-child {padding-left:25px; width:430px; background: url(../images/ucla-icon.png) no-repeat 2px 3px;}
#recent .linkRow ul li:first-child + li {width:65px; font-size:0.8em;}
#recent .linkRow ul li:first-child + li + li {width:70px; float:right; text-align:right;}
#recent .linkRow {margin-bottom:25px;}
#recent .linkRow:hover {background-color:#FAFAFA;}

#recent .copy, .results .copy {color:#FFF; background-color:#536895; border:0px solid; padding:5px 10px; cursor:pointer; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; -moz-box-shadow: 2px 2px 2px -1px #ccc; -webkit-box-shadow: 2px 2px 2px -1px #ccc; box-shadow: 2px 2px 2px -1px #ccc; position:relative; top:5px; left:2px;}
#recent .copy:active {position:relative; top:6px;}

#shorturlContainer {display:inline-block; position:relative; width:180px; }
.results .copy:active {position:relative; top:3px;}
.results .copy {top:2px;}

#recent .main {font-size:1.2em;}
#recent .fullLink {font-size: 0.8em; word-wrap:break-word;}

#recent .linkRow .shorturl {position:relative;}
#recent .linkRow .shorturl .copytext {position:absolute; color:#2685bb; display:none; opacity:1; filter:alpha(opacity=100);}

.lt-ie10 #recent .copy {padding:2px 10px; margin-right:5px;}
.lt-ie9 #recent .copy {padding:2px 10px; margin-right:5px;}
.lt-ie8 #recent .copy {padding:0px 4px; margin-right:5px;}
.lt-ie8 #recent .linkRow ul {overflow:hidden;}
.lt-ie8 #recent .linkRow ul li{display:inline;}
.lt-ie8 #recent .linkRow ul li:first-child + li + li {float:right; position:absolute; width:172px;}
.lt-ie8 #recent	p.separator span#before {content: " "; height:60%; padding:1px 0 0; border:1px solid #EFEFEF; border-width:2px 2px 0 2px; position:absolute; display:block; left:-1px; right:-2px; top:-7px; background:none;}

.lt-ie10 .results .copy {padding:4px 10px; margin-right:5px;}
.lt-ie9 .results .copy {padding:4px 10px; margin-right:5px;}
.lt-ie8 .results .copy {padding:2px 4px; margin-right:5px; margin-left:8px; top:-4px; }
.lt-ie8 .results label { float:left; }
.lt-ie8 #shorturlContainer { float:left; margin-left:5px; top:-7px }
.lt-ie8 #shorturlContainer span { left:11px; }

#recent .linkRow ul li:first-child + li {text-align:right; width:318px;}
#recent .linkRow ul li:first-child + li + li {display:none;}
.results .copy {display:none;}
