/*****************************************************************************
* Begin CSS reset
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
sup {
  vertical-align: super;
}
sub {
  vertical-align: sub;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/*
* end CSS reset
*****************************************************************************/

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

body {
  font-family: 'Istok Web', Helvetica, Arial, sans-serif; line-height: 1.3em; -webkit-font-smoothing: antialiased;
  color: #666;
  line-height: 1.4em;
  margin: 0;
  height: 100%;
  width: 100%;
}

.center {text-align: center}
.right {text-align: right}

#container { height: 100%; margin-top: 30px; }
body > #container { height: auto; min-height: 100%; }

h1 { font-size: 2em; margin-bottom: .5em; }
h2 { font-size: 1.5em; margin-bottom: 0.5em; }
h3 { font-weight: bold; }

/* add margin top all but first paragraph */
p ~ p { margin-top: 25px; }
p + p { margin-top: 25px; }

a { text-decoration: none; color: #1188bb; }
a:hover { color: #666; }

a.dark { color: #000; }
a.dark:hover { color: #aaa; }

.link { text-decoration: none; color: #1188bb; }
.link:hover { color: #aaaaff; }
.link-warning { text-decoration: none; color: #BD1A1A; }
.link-warning:hover { color: #DF3C3C; }
.link-admin { text-decoration: none; color: #FFA10A; }
.link-admin:hover { color: #FFD940; }

#main {
  padding: 100px 10px 100px 10px;
  width: 940px;
  margin: 0 auto -20px auto; /* bottom margin should match .push */
}

.footer {
  clear: both;
  position: relative;
  z-index: 10;
  text-align: center;
  bottom: 0px;
  background: #000;
/*
  background:-moz-linear-gradient(0% 100% 90deg,#888888, #999999);
  background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#999999), to(#888888));
*/
  color: #efefef;
  width: 100%;
  padding: 13px 0 11px 0;
}

input[type="text"], textarea {
  width: 200px;
  margin-bottom: 5px;
}

input[type="checkbox"] {
  margin: 0 2px 0 2px;
}

textarea {
  height: 150px;
}

.button-box {
  text-align: center;
}
.button {
  width: 110px;
  background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #cccccc), color-stop(1, #eeeeee) );
  background:-moz-linear-gradient( center top, #cccccc 5%, #eeeeee 100% );
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#eeeeee');
  background-color:#cccccc;
  border:1px solid #dcdcdc;
  display:inline-block;
  color:#555555;
  font-size:13px;
  font-weight:bold;
  padding:6px 24px;
  text-decoration:none;
  text-shadow:1px 1px 0px #ffffff;
  margin: 0;
}
.button:hover {
  background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dddddd), color-stop(1, #ffffff) );
  background:-moz-linear-gradient( center top, #dddddd 5%, #ffffff 100% );
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dddddd', endColorstr='#ffffff');
  background-color:#dddddd;
  color: #888888;
}
.button:active {
  position:relative;
  top:1px;
}

.button.highlight {
  background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #1188ea), color-stop(1, #1188bb) );
  background:-moz-linear-gradient( center top, #1188ea 5%, #1188bb 100% );
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#1188ea', endColorstr='#1188bb');
  background-color: #1188bb;
  color:#ffffff;
  text-shadow:1px 1px 0px #666;
}
.button.highlight:hover {
  background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #bbbbff), color-stop(1, #2299cc) );
  background:-moz-linear-gradient( center top, #bbbbff 5%, #2299cc 100% );
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#bbbbff', endColorstr='#2299cc');
  background-color: #2299cc;
  color:#ffffff;
  text-shadow:1px 1px 0px #666;
}

img.border {
  border: 1px solid #ccc;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}

#edit-hashtags button {
  -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
  -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
  box-shadow:inset 0px 1px 0px 0px #ffffff;
  background-color:#ededed;
  -webkit-border-top-left-radius:6px;
  -moz-border-radius-topleft:6px;
  border-top-left-radius:6px;
  -webkit-border-top-right-radius:6px;
  -moz-border-radius-topright:6px;
  border-top-right-radius:6px;
  -webkit-border-bottom-right-radius:6px;
  -moz-border-radius-bottomright:6px;
  border-bottom-right-radius:6px;
  -webkit-border-bottom-left-radius:6px;
  -moz-border-radius-bottomleft:6px;
  border-bottom-left-radius:6px;
  text-indent:0;
  border:1px solid #dcdcdc;
  display:inline-block;
  color:#777777;
  font-size:11px;
  font-style:normal;
  height:17px;
  line-height:17px;
  width:42px;
  text-decoration:none;
  text-align:center;
  padding: 0;
  margin: 0;
}#edit-hashtags button:hover {
  background-color:#dfdfdf;
}#edit-hashtags button:active {
  position:relative;
  top:1px;
}

.form-option {
  margin-top: 15px;
}

form br {
  clear: left;
}

#notification {
  padding: 10px;
  border: 1px solid #ccc;
  margin: 10px 0 10px 0;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}
#notification.success {
  color: #00aa00;
  background-color: #eeffee;
}
#notification.error{
  color: #aa0000;
  background-color: #ffeeee;
}

.hidden {
  display: none;
}

.small { font-size: 0.8em; }

/*
#nav {
  background: #000;
  padding: 0 5px;
  font-size: 13px;
  overflow: hidden;
*/
/*
  background:-moz-linear-gradient(0% 100% 90deg,#111111, #222222);
  background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#222222), to(#111111));
*/
/*
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}
*/

/*
#nav ol {
  list-style: none;
}
*/

#logo {
  color: #cccccc;
  font-size: 1.6em;
  line-height: 0.8em;
  float: left;
  margin-top: 9px;
  margin-right: 45px;
  margin-left: 10px;
  text-decoration: none;
}

/*
#nav span {
  color: #cccccc;
  font-size: 0.6em;
}

#nav span sup {
  font-size: 0.5em;
}

#nav li.active {
  color: #ccccff;
  font-weight: bold;
}

#nav li  {
  float: left;
  padding: 15px 9px 11px 9px;
}
#nav li.right {
  float: right;
  margin-left: 10px;
}
#nav li.login {
  border-left: 1px solid #444444;
  margin-right: 0;
  padding-right: 15px;
  margin-left: 0;
}
#nav li:hover  {
  background: #444444;
  background:-moz-linear-gradient(0% 100% 90deg,#444444, #555555);
  background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#555555), to(#444444));
  cursor: pointer;
}
#nav a {
  text-decoration: none;
  color: #cccccc;
}
*/

#dialog {
  display: none;
  background: #fff;
  padding: 20px;
}

#hashtags {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 10px;
}

#photo {
  text-align: center;
}

#photo img {
  border: 2px solid #bbbbbb;
  vertical-align: middle;
  margin: 0 20px 8px 20px;
}

#photo > div {
  display: inline-block;
  text-align: right;
}

#photo #photo-options span {
  margin-left: 10px;
}

#copyright {
  margin-top: 40px;
  text-align: center;
}

ol.faq {
  list-style: none;
  margin-bottom: 25px;
}

.faq-question {
  margin-top: 25px;  
}

img.signature {
  margin-left: -11px;
}
p.signature {
  margin-top: -13px;
  text-transform:uppercase;
  font-size: 0.8em;
  font-weight: bold;
}

#featured-photo {
  position: relative;
  overflow: hidden;
  display: none;
  width: 940px;
  height: 500px;
  border: 1px solid #ccc;
  margin-left: auto;
  margin-right: auto;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}

#featured-photo img {
  display: block;
  margin: auto;
  width: 940px;
}

#featured-photo div {
  position: absolute;
  font-size: 1.2em;
  text-align: center;
  color: #fff;
  background-color: #666;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  filter: alpha(opacity=80);
  -moz-opacity:0.8;
  -khtml-opacity: 0.8;
  opacity: 0.8;
} 

.featured-photo-author a { color: #fff; }
.featured-photo-author a:hover { color: #aaaaff; }

.featured-photo-author {
  bottom: 5px;
  right: 5px;
  width: 250px;
  padding: 3px 0;
}

.featured-photo-tags {
  width: 450px;
  bottom: 5px;
  left: 5px;
  padding: 3px 0;
}

.filter {
  margin-top: 50px;
  margin-bottom: 2px;
/*  text-align: right; */
  text-align: center; 
}

.filter span {
  color: #333333;
  font-weight: bold;
}

.photo > a {
  display: block;
}

.shadow {
  -moz-box-shadow: 0 0 13px 3px #999;
  -webkit-box-shadow: 0 0 13px 3px #999;
}

.overlay-tags {
  display: none;
  text-align: center;
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  color: #ffffff;
  padding: 10px 0 0 0;
  margin: 0;
  font-size: 1.4em;
  line-height: 1.2em;
  font-style: italic;
  background-color: #000000;
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
  /* IE 5-7 */
  filter: alpha(opacity=75);
  /* Netscape */
  -moz-opacity: 0.75;
  /* Safari 1.x */
  -khtml-opacity: 0.75;
  /* Good browsers */
  opacity: 0.75;
}

.overlay {
  display: none;
  background: #ffffff;
  position: absolute;
  bottom: 0px;
  padding: 2px 0 0px 0;
  width: 100%;
  color: #666666;
  text-align: right;
  cursor: default;
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
  /* IE 5-7 */
  filter: alpha(opacity=75);
  /* Netscape */
  -moz-opacity: 0.75;
  /* Safari 1.x */
  -khtml-opacity: 0.75;
  /* Good browsers */
  opacity: 0.75;
}

#stream .photo-owner-anonymous {
  font-style: italic;
  float: left;
  margin: 3px 0 0 5px;
}

#stream .photo-options i, .photo-owner i {
  color: #666666;
  margin-right: 8px;
  margin-top: 5px;
  cursor: pointer;
}

#stream .photo-options i:hover, .photo-owner i:hover {
  color: #1188bb;
}

.form-note {
  font-size: 0.75em;
}

.callout {
  display: block;
  margin: 15px auto;
  text-align: center;
  width: 70%;
  color: #336699;
  font-weight: bold;
  font-size: 1.3em;
  text-align: center;
}

.img-center {
  display: block;
  margin: 20px auto;
}

.account-summary {
  height: 275px;
  background: #eee;
  border: 1px solid #ccc;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}

.current-account-summary {
  background: #eef;
}

.account-recent-uploads {
  margin-top: 25px;
}

.account-recent-photos .photo img {
  border: 2px solid #bbbbbb;
  display: block;
}

.account-recent-photos .photo {
  float: left;
  margin: 10px;
  display: block;
}

.account-recent-photos .caption {
  text-align: center;
  margin-top: 3px;
  line-height: 1.2em;
  width: 100%;
  top: 0;
}

.account-recent-photos .date {
  font-size: 0.85em;
  font-style: italic;
}

.account-info {
  color: #fff;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 10px;
  background: #000;
  width: 70%;
  margin-top: 8px;
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
  /* IE 5-7 */
  filter: alpha(opacity=75);
  /* Netscape */
  -moz-opacity: 0.75;
  /* Safari 1.x */
  -khtml-opacity: 0.75;
  /* Good browsers */
  opacity: 0.75;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}

.account-info > h1 {
  color: #fff;
}

.account-info .stats {
  font-size: 0.95em;
  line-height: 1.3em;
}


#infscr-loading {
  position: fixed;
  text-align: center;
  bottom: 100px;
  left: 406px;
  z-index: 100;
  padding: 20px;
/*
  background: black;
  background: hsla( 0, 0%, 80%, 0.9 );
*/
  color: #666;
  font-size: 15px;
  font-weight: bold;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

/*******************************************************************************
* nav bar
*******************************************************************************/
.top-bar {
  margin-bottom: 0;
}

.top-bar sup {
  vertical-align: top;
  font-size: 0.3em;
  position: relative;
  top: -0.8em;
}

.top-bar .motto {
  color: #fff;
  position: absolute;
  left: 50%;
  right: 50%;
  width: 300px;
  margin-left: -145px;
  text-align: center;
}

/*******************************************************************************
* home page
*******************************************************************************/
.stream {
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.stream-nav {
  text-align: center;
  font-size: 1.5em;
  padding: 10px;
}

.stream-notification-row {
  display: none;
}

.stream-notification {
  background: #eeeedd;
  padding: 10px;
  border: 1px solid #ccc;
  margin: 10px 0 -40px 0;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}

.stream-notification p {
  margin: 0;
}

/*******************************************************************************
* icon actions
*******************************************************************************/
.action-add { color: #1188bb; }
.action-add:hover { color: #06aa06; }

/*******************************************************************************
* Photo view
*******************************************************************************/
.photo-landscape { width: 100%; }
.photo-landscape img {
  margin: auto;
  vertical-align: middle;
  border: 1px solid #ccc;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
}
.photo-portrait {
  padding: 15px;
  width: 100%;
}
.photo-portrait img { margin: auto; vertical-align: middle; border: 1px solid #ccc; }
.photo-landscape .photo-owner { margin: 5px; font-size: 1.5em; }
.photo-landscape .photo-hashtags { margin: 0px; }
.photo-landscape .photo-actions { margin-top: 15px; }
.photo-actions i { font-size: 20px; }
.photo-actions.row { line-height: 46px; }
.photo-actions.row .columns { height: 37px; }
.photo-landscape .photo-nav { font-size: 1.5em; margin: 0 10px 0 10px; }
.photo-landscape .photo-summary { height: 75px; width: 100%; }
.photo-landscape .add-date{ margin-top: 10px; font-size: 0.95em; }
.like-mouseover { color: #eebb00; }
.liked > i { color: #eebb00; }
.likers > span { font-size: 0.95em; }

/*******************************************************************************
* Thumb view
*******************************************************************************/
.thumb { position: absolute; overflow: hidden; border: 2px solid #fff;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  -ms-border-radius: 7px;
  -o-border-radius: 7px;
  border-radius: 7px;
 }
.thumb img { position: absolute; max-width: none; }


/*******************************************************************************
* popup menu for photo-options
*******************************************************************************/
.photo-menu ul { display: none; } /* Hide before plugin loads */
.photo-menu ul.dropit-submenu {
  width: 200px;
  background-color: #fff;
  border: 1px solid #b2b2b2;
  padding: 6px 0;
  margin: 3px 0 0 1px;
  text-align: left;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
  -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.15);
     -moz-box-shadow: 0px 1px 3px rgba(0,0,0,0.15);
          box-shadow: 0px 1px 3px rgba(0,0,0,0.15);
}          
.photo-menu ul.dropit-submenu a {
  display: block;
  font-size: 14px;
  line-height: 25px;
  color: #7a868e;
  padding: 0 18px;
}
.photo-menu ul.dropit-submenu a:hover {
  background: #248fc1;
  color: #fff;
  text-decoration: none;
}
.photo-menu ul.dropit-submenu i { font-size: 0.85em; }


/*******************************************************************************
* photo selector page
*******************************************************************************/
#photo-container {
  position: relative;
}
#photo-container img { display: block; }
#img-mask { position: absolute; background:rgba(0,0,0,0.0); top: 0; left: 0;}
#selector {
  border: 1px #999 dashed;
  position: absolute;
  top: 0;
  left: 0;
  cursor: move;
  background:rgba(255,255,255,0.3);
}
