/* Общие значения по умолчанию */
html, body {
        margin: 0px;
        padding: 0px;
        color: #FFFFFF;
        background-color: #222;
        font-size: 10pt;
        height: 100%;
}
a {
        outline: none;
}
.all-content {
        position: relative;
        height: 100%;
        min-height: 99%;
}
html>body .all-content {
        height: auto;
}
.footer-pusher {
        height: 32px;
}
.footer-div {
        height: 32px;
        width: 100%;
        position: absolute;
        left: 0px;
        bottom: 0px;
        /*background: #444;*/
}

/* Основные экранные блоки */
.header-div {
        border-bottom: 1px solid #000;
        background-color: #222;
}
.auth-div {
        padding-top: 20px;
        padding-bottom: 12px;
        padding-right: 20px;
        float: left;
        overflow: hidden;
        /*background-color: gray;*/
}
.aqua_text {
        padding-top: 20px;
        padding-bottom: 12px;
        padding-right: 20px;
        float: right;
        overflow: hidden;

        color: #BBBBBB;
        font-family: Arial,sans-serif;
        font-size: 11pt;
        /*background-color: gray;*/
}
.auth-welcome {
        background-image: url(/foto/images/maifoto.gif);
        background-repeat: no-repeat;
        background-position: 20px center;
        padding-left: 187px;
        padding-top: 6px;
        padding-bottom: 6px;

        color: #BBB;
        text-decoration: none;
        font-family: Arial,sans-serif;
        font-size: 11pt;
        font-weight: bold;
        overflow: visible;

        /*background-color: blue;*/
}
.action-div {
        text-align: right;
        font-size: 12pt;
        padding: 10px;
        padding-left: 25px;
        padding-right: 15px;
        background-color: #222;
        display: none;
}
.a-top {
        margin-top: 1px;
        border-top: 1px solid #363636;
        border-bottom: 1px solid #000;
}
.a-bottom {
        margin-top: 1px;
        border-top: 1px solid #363636;
        border-bottom: 1px solid #000;
}
.comment-div {
        margin-top: 1px;
        border-top: 1px solid #363636;
        border-bottom: 1px solid #000;
        padding: 15px;
        padding-left: 25px;
        background-color: #222;
        /*border-bottom: 3px dotted #999;*/
}
.comment-caption {
        font-family: "Tahoma";
        font-size: 16pt;
        /*text-align: center;*/
}
.comment-edit {
        position: relative;
        left: -10px;
        padding-left: 10px;
}
.main-div {
        margin-top: 1px;
        border-top: 1px solid #363636;
        border-bottom: 1px solid #000;

        padding-left: 25px;
        padding-top: 21px; /* 15px + 6px from photo-tile */
        padding-bottom: 5px; /* remove extra padding because of photo-tile bottom margin*/
        /*border: 1px solid #999;*/
        background-color: #222;
        display: none;
}
.footer-border {
        height: 0px;
        margin-top: 1px;
        border-top: 1px solid #363636;
}


/* Флоаты-модификаторы */
.left {
        float: left;
}
.right {
        float: right;
}
.clear {
        clear: both;
}


input {
        background-color: #ссс;
}
textarea {
        background-color: #ссс;
}



/* Основной экран - превьюшки */
.photo-img {
        background-repeat: no-repeat;
        background-position: center center;
        height: 150px;
        width: 150px;
        position: absolute;
        left: 2px;
        top: 1px;
        /*background-color: green;*/
}
.zoom-img {
        position: absolute;
        left: 128px;
        top: 160px;
}
.photo-holder {
        background-image: url(/foto/images/photo-frame.png);
        background-repeat: no-repeat;
        text-align: center;
        vertical-align: middle;
        height: 154px;
        width: 154px;
        position: absolute;
        left: 3px;
        top: 4px;
        /*background-color: blue;*/
}
.photo-caption {
        left: 5px;
        bottom: 6px;
        width: 150px;
        height: 27px;
        line-height: 27px;
        position: absolute;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        -o-text-overflow: ellipsis; /* Opera */
        font-size: 10pt;
        font-family: verdana,sans-serif;
        text-align: center;
        color: #FFFFFF;
        /*background-color: gray;*/
}
.photo-caption-small {
        width: 120px;
        /*make nice left align*/
        text-align: left;
        left: 10px;

}
.photo-tile {
        float: left;
        height: 191px;
        width: 160px;
        position: relative;
        margin-top: 0px;
        margin-right: 12px;
        margin-bottom: 16px;
        cursor: pointer;
        cursor: hand;
        display: inline;
        background-repeat: no-repeat;
        /*background-color: red;*/
}
.photo-tile-cpt {
        height: 181px;
        margin-bottom: 16px;
}
.normal-cursor {
        cursor: auto;
}
.photo-selected {
        background-image: url(/foto/images/selected.png);
}
.photo-gray {
        background-image: url(/foto/images/selected-gray.png);
}

/* Кнопки и линки для actions */
.button {
        color: #BBB;
        text-decoration: none;
        font-family: Arial,sans-serif;
        font-size: 11pt;
        /*font-weight: bold;*/

        margin: 0px;
        padding: 8px;
        padding-left: 34px;
        padding-right: 7px;

        /*position: relative;*/
        overflow: hidden;

        cursor: pointer;
        cursor: hand;

        /*background-color: green;*/
        background-image: url(/foto/images/icons2/external.png);
        background-repeat: no-repeat;
        background-position: left center;
}
:hover.button {
        color: #FFF;
}


.button-link {
        color: #BBB;
        text-decoration: none;
        font-family: Arial,sans-serif;
        font-size: 11pt;
        position: relative;
        overflow: hidden;
        cursor: pointer;
        cursor: hand;
        margin: 0px;
        padding: 6px;
        padding-left: 4px;
        padding-right: 40px;
}
.button-pic-h {
        position: relative;
        left: -0px;
        top: 10px;
        height: 1px;
        width: 1px;
        background-color: red;
}
.button-pic {
        position: relative;
        overflow: hidden;
        top: 2px;
}
:hover.button-link {
        color: #FFF;
}

.gbutton {
        color: #BBB;
        font-family: Arial,sans-serif;
        font-size: 11pt;
        text-decoration: underline;
        margin: 0px;
        padding: 3px;
        cursor: pointer;
        cursor: hand;
        /*background-color: green;*/
}
:hover.gbutton {
        color: #FFF;
}
.button-little {
        padding-left: 21px;
        padding-right: 7px;
        background-position: left 7px;
}
.button-right {
        padding-left: 7px;
        padding-right: 37px;
        background-position: right 0px;
}
.button-close {
        padding-left: 7px;
        padding-right: 32px;
        background-position: right -1px;
}
.button-next {
        padding-left: 7px;
        padding-right: 40px;
        background-position: right center;
}
.button-prev {
        padding: 6px 7px 6px 38px;
        background-position: left center;
}


.link {
        color: #BBB;
        font-family: Arial,sans-serif;
        font-size: 11pt;
        cursor: pointer;
        cursor: hand;
}
:hover.link {
        color: #FFF;
}

/* login */
.login-left {
        margin-right: 0.5em;
        text-align: right;
        /*background-color: green;*/
}
.login-input {
        width: 10em;
        font-family: Verdana, sans-serif;
        font-size: 100%;
}

/* send2friend */
.s2f-left {
        width: 5em;
        font-size: 12pt;
        text-align: right;
        padding-right: 0.5em;
}
.s2f-right {
        margin: 1px;
        width: 23em;
}

/* для добавления в букмарки */
.bm-link {
        color: #BBB;
        text-decoration: none;
        display: block;
        cursor: pointer;
        cursor: hand;

        background-image: url(/foto/images/icons2/next-little.png);
        background-repeat: no-repeat;
        background-position: right center;
}
:hover.bm-link {
        color: #000;
        background-color: #DDD;
}
.bm-big {
        font-family: Verdana, sans-serif;
        font-size: 14pt;
        color: #BBB;
}
.bm-little {
        font-family: Verdana, sans-serif;
        font-size: 11pt;
        padding-left: 1em;
}
.bm-input {
        background-color: #888;
        color: #000;
        font-family: Verdana, sans-serif;
        font-weight: bold;
        font-size: 100%;
}
.bm-right {
        margin: 1px;
        width: 29.7em;
        font-size: 100.1%;
}
.bm-caption {
        margin: 0px;
        background-color: blue;
}
.bm-private {
        color: #F00;
        font-weight: bold;
}

/* control center */
.cc-holder {
        margin-left: 20px;
}

.cc-level1 {
        margin-left: 20px;
        margin-top: 6px;
        font-family: Arial,sans-serif;
        font-size: 12pt;
        font-weight: bold;
        padding: 3px;
}
.cc-link {
        color: #BBB;
        font-family: Arial,sans-serif;
        font-size: 12pt;
        font-weight: bold;
        cursor: pointer;
        cursor: hand;
}
:hover.cc-link {
        color: #FFF;
}
.cc-level1-addon {
        display: none;
        color: #FFF;
        font-size: 9pt;
        font-family: verdana;
        font-weight: normal;
}
.cc-level2 {
        margin-left: 40px;
        margin-top: 6px;
        color: #BBB;
        font-family: Arial,sans-serif;
        font-size: 12pt;
        font-weight: normal;
        padding: 3px;
}
.cc-expire {
        color: #56BBFF;
        font-family: Tahoma;
        font-size: 11pt;
        margin-top: 0.3em;
}

/* inplace edit */
.inplace-edit {
        display: none;
        background-color: #ffffcc;
        margin-left: -1px;
        padding-left: 1px;
}

/* страница с букмарками */
/* режим просмотра */
.album-holder {
        /*background: #444;*/
}
.album-photo-holder {
        margin-left: 2.5em;
        /*background: red;*/
}
.album {
        margin: 0.3em 0px;
        padding: 0.3em;
        /*background: #555;*/
}
.album-link {
        color: #BBB;
        font-family: Arial,sans-serif;
        font-size: 14pt;
        font-weight: normal;
        text-decoration: none;
        cursor: pointer;
        cursor: hand;
}
:hover.album-link {
        color: #FFF;
}
.album-desc {
        color: #BBB;
        font-family: Arial,sans-serif;
        font-size: 14pt;
        font-weight: normal;
        padding: 3px;
}
.album-fulldesc {
        font-family: Arial,sans-serif;
        font-size: 11pt;
        padding: 3px;
}
.album-url {
        font-family: "Tahoma";
        font-size: 11pt;
        color: #AAA;
}

.album-private {
        color: #F00;
        font-weight: bold;
        text-decoration: underline;
        cursor: pointer;
        cursor: hand;
}
.album-public {
        color: #33F;
        font-weight: bold;
        text-decoration: underline;
        cursor: pointer;
        cursor: hand;
}
:hover.album-private {
        color: #F77;
}
:hover.album-public {
        color: #77F;
}


/* режим редактирования */
.album-drag-handler {
        overflow: hidden;
        background-color: #777;
        cursor: move;
}
.album-edit {
        background-color: #333;
}
.album-dragging {
        margin: 2px;
        padding: 0.3em;
        background-color: #555;
        border: 2px solid #FFF;
        cursor: move;
}
.album-close {
        float: right;
        position: relative;
        top: -5px;
        left: 5px;
        cursor: pointer;
        cursor: hand;
}
:hover.hover {
        background-color: #555;
}

.album-w-left { /* ширина хендлера */
        width: 2em;
        height: 0px;
        cursor: auto;
}
.album-w-desc { /* ширина полей ввода справа */
        width: 40em;
}
.album-w-right { /* ширина правой части (desc + ширина close) */
        width: 43em;
        height: 1px;
}
.album-w4-holder { /* ширина всей таблицы (left+right+паддинги) */
        width: 46em;
}


/* Popup window */
.popup-window {
        background: #222222;
        border: 2px solid #CCCCCC;
        color: #FFFFFF;
        font-family: Arial,sans-serif;
        font-size: 12pt;
        text-align: left;
        position: fixed;
        display: block;
        z-index: 102;
        padding: 20px;
        padding-top: 10px;
        left: -1000px;
        top: -1000px;
        overflow: auto;
}
* html .popup-window { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}
.popup-caption {
        text-align: left;
        font-family: Arial,sans-serif;
        font-size: 14pt;
        padding-bottom: 10px;
}
.popup-close {
        background-image: url(/foto/images/icons2/close.png);
        background-repeat: no-repeat;
        position: relative;
        float: right;
        width: 32px;
        height: 32px;
        top: -5px;
        left: 15px;
}
:hover.popup-close {
        background-image: url(/foto/images/icons2/close-hover.png);
}
.popup-text { /* for help pages */
        color: #BBB;
        text-align: left;
        font-family: Arial,sans-serif;
        font-size: 10pt;
}


/* разное всякое */
.whitebold {
        color: #FFF;
        font-weight: bold;
}
.middlegray {
        color: #BBB;
        font-family: Arial,sans-serif;
        font-size: 11pt;
}
.misc1 {
        font-family: times;
        font-size: 12pt;
}
.gray {
        color: #CCC;
}


/* Разная хрень */
.centered {
        margin-left: auto;
        margin-right: auto;
}
.big {
        font-size: 11pt;
        font-family: verdana;
}
.bold {
        font-weight: bold;
}
.big-input {
        font-size: 14pt;
}
.underline {
        text-decoration: underline;
        margin-bottom: 0.1em;
}
.italic {
        text-decoration: italic;
}
.red {
        color: #F00;
}


/* uploader based on input type=file */
.upload-holder-left {
        text-align: left;
}
.upload-input-file {
        margin: 1px;
        background-color: #AAA;
        border: 1px solid #FFF;
}
.upload-status {
        position: absolute;
        padding: 2px 5px;
        color: #FFF;
        font-weight: bold;
        /*background-color: blue;*/
}
.upload-info {
        font-family: Arial,sans-serif;
        font-size: 10pt;
        font-weight: bold;
        text-align: left;
        padding-left: 5px;
        margin-top: 5px;
        margin-bottom: 10px;
        color: #FFF;
}


/* uploader based on flash */
.upload-button-holder {
        padding: 8px;
}

.upload-div {
         width: 208px;
         height: 28px;
         float: left;
         margin-right: 7px;
         margin-bottom: 6px;
         border: 1px solid #999999;
         color: #FFF;
}

.upload-null-holder {
         position: absolute;
         width: 0px;
         height: 0px;
         overfow: visible;
}
.upload-filename {
        position: relative;
        display: block;
        top: 2px;
        left: 3px;
        width: 186px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-family: sans-serif;
        -o-text-overflow: ellipsis; /* Opera */
        /*background-color: red;*/
}
.upload-closebtn {
        position: relative;
        display: block;
        width: 14px;
        height: 14px;
        top: 3px;
        left: 191px;
}
.upload-closebtn-close {
        background: url(/foto/images/icons2/close-little.png) no-repeat;
        cursor: pointer;
        cursor: hand;
}
.upload-closebtn-ok {
        background: url(/foto/images/icons2/ok-little.png) no-repeat;
        cursor: auto;
}
.upload-progressbar {
        position: relative;
        display: block;
        top: 21px;
        left: 3px;
        width: 202px;
        height: 4px;
        overflow: hidden;
        background-color: #999999;
}
.upload-progressbar-active {
        width: 0px;
        background-color: #FFCC00;
}
.upload-progressbar-semidone {
        background-color: #CCFF00;
}
.upload-progressbar-done {
        background-color: #66CC00;
}
.upload-progressbar-cancelled {
        background-color: #FF6666;
}

.upload-input-file-width { /* fucking Mozilla! */
        width: 590px;
}

.upload-tile-holder {
        margin-left: 15px;
}
.upload-browse {
        background-image: url(/foto/images/icons2/upload.png);
}
.upload-upload {
        display: none;
        background-image: url(/foto/images/icons2/accept.png);
}

.upload-cancelbtn {
        display: block;
        width: 16px;
        height: 16px;
        float: right;
        background: url(/foto/images/icons2/cancel.png) no-repeat;
}
.fileUploading   {
        background: #fee727;
}
.uploadCompleted {
        background: #d2fa7c;
}
.uploadCancelled {
        background: #f77c7c;
}
.uploadCompleted .upload-cancelbtn, .uploadCancelled .upload-cancelbtn {
         display: none;
}


/* QR Code window */
.qr-window {
        border: 2px solid #AAA;
        position: absolute;
        display: block;
        z-index: 102;
        left: -1000px;
        top: -1000px;
}

.nav-button {
        margin-right: 18px;
        padding-top: 10px;
        padding-bottom: 10px;
        cursor: pointer;
        cursor: hand;
}

.aqua-left {
        float: left;
        margin-left: 20px;
}
.aqua-right {
        float: right;
        margin-right: 12px;
}


