html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

div#container {
    width: 100%;
    height: 100%;
    text-align: center;
}

div#header {
    position: absolute;
    top: 0px;
    height: 40px;
    left: 0px;
    right: 0px;
    padding: 4px;
}

div#content {
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 4px;
    right: 4px;
}

div#socialContent {
    position: absolute;
    overflow-y: scroll;
    height: 100%;
    top: 0px;
    right: 0px;
    width: 24%;
    margin-top: 0;
    text-align: left;
}

div#socialContent textarea {
    width: 95%;
    margin: 0;
    padding: 0;
}

div#socialTextFooter {
    width: 95%;
    margin: -2px 0px 0px 0px; 
    border-left: 1px solid gray;
    border-right: 1px solid gray;
    border-bottom: 1px solid gray;
    padding: 0;
    background-color: #DDD;
}

div#embedContent {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

div#footer {
    position: absolute;
    height: 30px;
    bottom: 4px;
    left: 4px;
    right: 4px;
    padding: 4px;
    font-family: Arial, Verdana, sans-serif;
    font-size: 10px;
    color: #272727;
    text-align: left;
}

div#footer #footer-left {
  float: left;
  width: 90%;
}

div#footer #footer-right {
  float: right;
  width: 10%;
  text-align: right;
  font-size: 12px;
}

#header div {
    height: 32px;
    line-height: 32px;
    float: left;
    font-family: Arial, Verdana, sans-serif;
    font-size: 12px;
    padding-left: 50px;
    vertical-align: middle;
}

div#title {
    font-size: 14px;
    font-weight: bold;
    background-image: url('../img/sprite.png');
    background-repeat: no-repeat;
    padding-left: 110px;
}

.buttons {
    float: right !important;
    text-align: right;
    padding: 2px;
}

.buttons a, .buttons button, .buttons input[type="submit"] {
    margin: 0 0 4px 4px;
    background-color: #f5f5f5;
    border: 1px solid #B5C2CB;
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
    font-family: Arial, Verdana, sans-serif;
    font-size: 10;
    height: 28px;
    text-decoration: none;
    color: #565656;
    cursor: pointer;
    padding: 5px 10px 6px 7px; /* Links */
}

.buttons button {
    width: auto;
    overflow: visible;
    padding: 4px 10px 3px 7px; /* IE6 */
}

.buttons button[type] {
    padding: 5px 10px 5px 7px; /* Firefox */
}

*: first-child+html button[type] {
    padding: 4px 10px 3px 7px; /* IE7 */
}

.buttons span {
    background-image: url('../img/sprite.png');
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: text-top;
    margin-right: 4px;
    margin-bottom: 4px;
    width: 18px;
    height: 16px;
}

button#save span {
    background-position: 0 -32px;
}

button#email span {
    background-position: 0 -48px;
}

button#print span {
    background-position: 0 -64px;
}

button#share span {
    background-position: 0 -80px;
}

button#do_share_button span {
    background-position: 0 -80px;
}

button#link span {
    background-position: 0 -96px;
}

button#capture span {
    background-position: 0 -112px;
}

button#tutorial span {
    background-position: 0 -128px;
}

button#close span {
    background-position: 0 -144px;
}

.buttons button img, .buttons a img {
    margin: 0 3px -3px 0 !important;
    padding: 0;
    border: none;
    width: 16px;
    height: 16px;
}

button: hover, .buttons a: hover{
    background-color: #dff4ff;
    border: 1px solid #c2e1ef;
    color: #336699;
}

.hidden {
    display: none;
}

#link_popup {
    position: absolute; 
    top: 40px; 
    right: 4px; 
    background: #E2F1F4; 
    border: 1px solid #00A8C8; 
    padding: 5px 5px 10px 10px;
}

#link_popup div:first-child {
    line-height: 28px;
}

#link_popup input {
    font-size: 12px; 
    width: 31em;
}

#share_popup {
    position: absolute;
    top: 40px;
    right: 4px;
    background: #E2F1F4;
    border: 1px solid #00A8C8;
    padding: 5px 5px 10px 10px;
}

#share_popup textarea {
    width: 200px;
    resize: none;
}