/* Profil popup */
#photo-box-overlay-table-container {
    float: left;
    position: relative;
    left: 50%;
    height: 100%;
}

#photo-box-table {
    float: left;
    position: relative;
    left: -50%;
    height: 100%;
}

#photo-box-photo-container {
    /*position: relative;
    float: left;*/
    position: absolute;
    font-size: 13px;
    padding: 0 10px;
    left: 0;
    right: 320px;
	text-align: center;
}

#photo-box-info {
    height: 48px;
    line-height: 48px;
    text-align: left;
    position: relative;
}

#photo-box-options-button {
    cursor: pointer;
	vertical-align: middle;
}

#photo-box-vote {
    text-decoration: none;
    font-style: italic;
    font-size: 14px;
    font-weight: bold;
}

#photo-box-vote:hover {
    opacity: .8;
}

#photo-box-info-right {
    float: right;
    position: relative;
}

#photo-box-vote-up {
    display: inline-block;
    height: 32px;
    width: 42px;
    background-position: -3px -79px;
    vertical-align: middle;
    margin-left: 10px;
    position: relative;
    top: 2px;
}

#photo-box-votes-count {
    opacity: 1;
    cursor: pointer;
    position: relative;
    display: none;
    height: 32px;
    line-height: 32px;
}

#photo-box-votes-count:hover > span {
    opacity: .8;
}

#photo-box-photo {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    max-height: 800px;
    max-width: 800px;
}

#photo-box-photo-holder {
    display: inline-block;
    height: 100%;
    white-space: nowrap;
    font-size: 0;
    position: relative;
}

#photo-box-photo-holder:before {
    content: ' ';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

#photo-box-photos-counter {
    color: #fff;
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 1;
    font-size: 13px;
}

#photo-box-photo-options {
    height: 49px;
    line-height: 49px;
	text-align: center;
}

#photo-box-options-menu .menu-box-item {
	margin-top: 11px;
}

#photo-box-options-menu .menu-box-item:first-child {
	margin-top: 0px;
}

#photo-box-options-edit .sprites {
    background-position: -495px -237px;
	height: 18px;
    width: 26px;
}

#photo-box-options-change-order .sprites {
    background-position: -522px -237px;
	height: 17px;
    width: 22px;
}

#photo-box-options-make-avatar .sprites {
    background-position: -545px -237px;
	height: 19px;
    width: 19px;
}

#photo-box-options-delete-comments .sprites {
    background-position: -565px -237px;
	height: 23px;
    width: 23px;
}

#photo-box-options-delete .sprites {
    background-position: -589px -237px;
	height: 23px;
    width: 23px;
}

#photo-box-options-info {
    float: right;
    cursor: pointer;
    height: 30px;
    width: 30px;
    margin-top: 12px;
    margin-left: 20px;
    padding: 5px;
    display: inline-block;
    line-height: 30px;
}

#photo-box-options-info span.sprites {
    width: 20px;
    height: 20px;
    background-position: -619px -92px;
    display: inline-block;
}

#photo-box-options-info.close span.sprites {
    background-position: -641px -91px;
    width: 14px;
    height: 14px;
    position: relative;
    left: 3px;
    top: -2px;
}

#photo-box-right {
    /*float: left;
    position: relative;*/
    position: absolute;
    right: 0;

    padding: 0 12px;
    width: 320px;
    border-left: 1px solid #e5e6e7;
    height: 100%;
}

#photo-box-profile {
    margin: 22px 0 12px;
    text-align: center;
}

#photo-box-profile-avatar {
    display: inline-block;
    vertical-align: middle;
}

#photo-box-profile-avatar .gTlo {
    right: -16px;
}

#photo-box-profile-login a {
    color: #444;
    text-decoration: none;
}

#photo-box-profile-login a span {
    font-weight: normal !important;
}

#photo-box-profile-info {
    display: inline-block;
    margin-left: 9px;
    text-align: left;
    vertical-align: middle;
}

#photo-box-profile-basic {
    color: #888;
}

#photo-box-comments {
	margin-bottom: 10px;
}

#photo-box-comments-list-more {
    display: none;
    text-align: center;
    margin: 10px 0;
}

#photo-box-comments-list {
    bottom: 0;
    left: 0;
    overflow: auto;
    padding: 0 12px;
    position: absolute;
    right: 0;
    text-align: left;
    top: 134px;
}

#photo-box-comments .cloud {
	width: auto;
}

#photo-box-comments .avatar-container {
	z-index: 1;
}

.cloud-container-arrow {
	background-position: -79px -137px;
	height: 13px;
	left: 36px;
	position: absolute;
	width: 8px;
	z-index: 1;
}

#photo-box-container #comments-add textarea {
    height: 23px;
    width: 239px;
}

#photo-box-comments .cloud-container {
	padding-left: 42px;
}

#photo-box-comments .cloud-container-body {
	-moz-border-radius: 0 5px 5px 5px;
	-webkit-border-radius: 0 5px 5px 5px;
	border-radius: 0 5px 5px 5px;
	-moz-box-shadow: 0px 1px 0px rgba(0,0,0,0.03);
	-webkit-box-shadow: 0px 1px 0px rgba(0,0,0,0.03);
	box-shadow: 0px 1px 0px rgba(0,0,0,0.03);
	float: none;
	max-width: 100%;
	width: 100%;
}

#comments-add .cloud-container-arrow {
	background-position: -68px -137px;
}

#comments-add .cloud-container-body {
	border: 2px solid #4996BA;
	border-color: #4996BA;
	overflow: hidden;
	padding: 0;
}

#photo-box-comments #comments-ajax {
    display: none;
	margin-top: 70px;
    text-align: center;
}

.options-arrow-border {
	border-top: 5px solid #C7D1D3;
	border-left-color: transparent !important;
	border-right: 5px solid #C7D1D3;
	border-style: solid;
	border-bottom-color: transparent !important;
	border-width: 5px;
	font-size: 0;
	height: 0;
	width: 0;
	position: absolute;
	z-index: 1;
	right: 5px;
	top: 5px;
	cursor:pointer;
}
.options-arrow-border .options {
	font-size: 13px;
    background: #f5f5f5;
    border: 1px solid #C7D1D3;
    margin: 0;
    position: absolute;
	right: -5px;
	top: -5px;
	line-height: 32px;
	height: 32px;
	padding:0 10px;
	display: none;
	white-space: nowrap;
}
.options-arrow-border .options .option {
	color: #4996BA;
	text-decoration: underline;
	cursor: pointer;
}

#photo-box-comments #comments-add-ajax {
	display: none;
    position: absolute;
	right: 45px;
    top: 95px;
}

#photo-box-comments #comments-add-error {
	background-color: #a00;
	color: #fff;
	display: none;
    margin-left: 39px;
	padding: 2px 7px;
	position: relative;
    top: -6px;
    z-index: 999;
}

#photo-box-comments #comments-add b,
#photo-box-comments #comments-add i {
    height: 30px;
    line-height: 30px;
    padding: 0 8px;
}

#photo-box-comments #comments-add i {
    margin-left: 0;
}

#photo-box-comments-placeholder {
    display: block;
    margin-top: 11px;
    text-align: center;
}

#photo-box-comments .emojiButton {
    top: 3px;
}

#comment-inputEmoji.max-height {
    max-height: 86px;
    overflow: auto;
}

.emojiArrowBorder.bottom {
    border-bottom-color: #C7CED3 !important;
    border-top-color: transparent !important;
    top: -16px;
}

.emojiItemArrow.bottom {
    border-bottom-color: white !important;
    border-top-color: transparent !important;
    top: -12px;
}

#photo-box-comments .emojiInput {
    min-height: 30px;
}

#photo-box-previous,
#photo-box-next {
    background-repeat: no-repeat;
    cursor: pointer;
    height: 57px;
    margin-top: -28px;
    position: absolute;
    top: 50%;
    width: 33px;
    z-index: 2;

    display: block;

    visibility: hidden;
    opacity: 0;
    -webkit-transition: visibility 0s linear 0.2s, opacity 0.2s linear;
    transition: visibility 0s linear 0.2s, opacity 0.2s linear;

}

#photo-box-previous {
    background-position: -2px -297px;
    left: 20px;
}

#photo-box-next {
    background-position: -37px -297px;
    right: 20px;
}

#photo-box-photo-container:hover #photo-box-next,
#photo-box-photo-container:hover #photo-box-previous {
    display: block;

    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

#photo-box-photo-description {
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
	vertical-align: middle;
    white-space: nowrap;
}

#photo-box-photo-description.hoverable:hover {
    opacity: 1;
    cursor: pointer;
}

#photo-box-photo-description-form {
    display: none;
}

#photo-box-photo-description-form-input {
    height: 26px;
}

#photo-box-photo-description-form-ajax {
    display: none;
    vertical-align: middle;
}

#photo-box-photo-description-form-save {
    /*margin-right: 30px;*/
}
#photo-box-photo-description-edit {
	display: inline-block;
	vertical-align: middle;
}
#photo-box-options-menu {
    width: 198px;
    bottom: 42px;
    right: -8px;
}

#photo-box-options-menu .menu-box-arrow {
    background-position: -392px -148px;
    bottom: -12px;
    margin-left: 44px;
	top: auto;
}

#photo-box-votes-info {
    width: 232px;
    min-height: 85px;
    left: 50%;
    margin-left: -115px;
    padding: 8px 5px 5px 15px;
    top: 34px;
    z-index: 4;
}

#photo-box-votes-list a {
    float: left;
    width: 32px;
    height: 32px;
    display: inline-block;
}

#photo-box-votes-ajax {
    position: absolute;
}

#photo-box-votes-info-header {
    line-height: 1.5em;
    margin-bottom: 11px;
    position: relative;
    top: 2px;
    color: #333;
}

#photo-box-votes-info a {
    position: relative;
    margin-right: 10px;
    margin-bottom: 10px;
    text-decoration: none;
}

#photo-box-votes-info span {
    float: none;
}

#photo-box-table-td-center-photo {
    padding: 10px;
}

#photo-box-options-arrow,
#photo-box-votes-count-arrow {
    font-size: 11px;
    margin-left: 5px;
}

#photo-box-photo-container-photo-info {
    position: absolute;
    top: 49px;
    bottom: 48px;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .7);
    z-index: 3;
    display: none;
}

#photo-box-photo-container-photo-info-table {
    margin: 50px auto;
	width: auto;
}

#photo-box-photo-container-photo-info-table td {
    color: #fff;
    text-align: left;
}

#photo-box-photo-container-photo-info-ajax {
    margin-top: 50px;
}

#photo-box-photo-owner {
    display: inline-block;
    position: relative;
}

#photo-box-profile-avatar .shadowed-avatar {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* placementy profilowe */
#spolecznosci-23, #spolecznosci-24, #spolecznosci-50 , #spolecznosci-49 {
    width: 160px;
    max-height: 600px;
    margin: auto;
    overflow: hidden;
}

#spolecznosci-25, #spolecznosci-51 {
    height: 100px;
    max-width: 750px;
    max-height: 100px;
    margin: auto;
    overflow: hidden;
}

#spolecznosci-26, #spolecznosci-52 {
    max-width: 750px;
    max-height: 200px;
    margin: auto;
    overflow: hidden;
}

#spolecznosci-28, #spolecznosci-53 {
    max-width: 300px;
    max-height: 300px;
    margin: auto;
    overflow: hidden;
}

.index-container-item .photo-box-rounded {
    float: none;
    position: absolute;
    top: 25px;
    right: 25px;
}

/* wersja mobilna */
@media only screen and (max-width: 1200px) {

}

@media only screen and (max-width: 992px) {

}

@media only screen and (max-width: 768px) {
    .bigwhitetabs .main {
        width: 100%;
        overflow: hidden;
    }
}

@media only screen and (max-width: 480px), only screen and (max-width: 320px) {
    .bigwhitetabs .main {
        width: 100%;
        overflow: hidden;
    }

    #header_android .grey-link:first-child {
        margin-left: 5px;
    }

    #header_android .grey-link:last-child {
        display: none;
    }

    #profile-grid {
        min-width: 100%;
        width: 100%;
        overflow: hidden;
    }

    #profile-leftColumn, #profile-centerColumn {
        width: 100%;
        margin: auto;
        padding: 0 5px;
    }

    .profile-column {
        float: none;
        margin: auto;
        width: 100%;
    }
}

.mobile {
    -webkit-transform: translate3d(0, 0, 0);
}

#photo-box-overlay.mobile #photo-box-previous, #photo-box-overlay.mobile #photo-box-next {
    opacity: 1;
    visibility: visible;
}

#photo-box-overlay.mobile #photo-box-overlay-table-container {
    float: none;
    left: auto;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

#photo-box-overlay.mobile #photo-box-table {
    float: none;
    left: auto;
    width: 100%;
}

#photo-box-overlay.mobile #photo-box-table-td-center {
    width: 100%;
    height: 100%;
}

#photo-box-overlay.mobile #photo-box-table-td-center-photo {
    padding: 0;
    height: 100%;
}

#photo-box-overlay.mobile #photo-box-container-holder {
    height: 100%;
    border: none;

    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#photo-box-overlay.mobile .popup-box-container {
    width: 100%;
    height: 100%;
    min-width: 100%;
}

#photo-box-overlay.mobile #photo-box-photo-container {
    position: relative;
    height: 100%;
    width: 100%;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    overflow: hidden;
}

#photo-box-overlay.mobile #photo-box-right {
    position: relative;
    width: 100%;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    padding-top: 16px;
    z-index: 3;
    border: none;
}

#photo-box-overlay.mobile #photo-box-comments-list {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 0;
}

#photo-box-overlay.mobile #photo-box-close {
    top: 0;
    right: 0;
	border: 15px solid #f2f3f4;
    height: 44px;
    width: 44px;
}

#photo-box-overlay.mobile #photo-box-photo {
    max-height: none;
    max-width: none;
}

#photo-box-overlay.mobile #photo-box-photo-options {
    top: 10px;
}

#photo-box-overlay.mobile #photo-box-profile {
    margin-top: 0;
}

#photo-box-overlay.mobile #photo-box-info {
    padding: 0 5px;
}

#photo-box-overlay.mobile #photo-box-photo-description {
    word-break: break-all;
}

#photo-box-overlay.mobile #photo-box-photo-description-form-input {
    width: 160px;
}

#photo-box-overlay.mobile #photo-box-comments-placeholder {
    margin-bottom: 20px;
}

#photo-box-comments-list-container .cloud {
	margin: 10px 0;
}

#photo-box-comments-list-container .cloud:first-child {
	margin-top: 0;
}

#photo-box-comments-list-container .cloud-container-body {
	border-bottom: 1px solid #d9dadb;
	border-color: #e2e3e4;
}

#photo-box-comments-list-container .cloud-container-footer {
	color: #999;
	font-size: 11px;
	margin-top: 6px;
}

#photo-box-comments-list .cloud-container-body-item {
	word-wrap: break-word;
}

#photo-box-comments-list .cloud-container-body-item img {
    max-width: 100% !important;
    height: auto !important;
}

