#auto-book-overlay, #auto-book-profile-photos-overlay, #auto-photo-select-overlay {
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    height: calc(100vh - var(--head-height));
    height: calc(100dvh - var(--head-height));
    top: var(--head-height);
}

#auto-photo-select-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.auto-book-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px 40px 0 40px;
    max-width: 800px;
    width: 100%;
    max-height: 90%;
    box-sizing: border-box;
}

#auto-book-wrapper {
    width: 100%;
    padding-bottom: 40px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

#auto-book-wrapper::-webkit-scrollbar {
    display: none;
}

h1 {
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
}

.section {
    margin-bottom: 25px;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.section.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    max-height: 0;
    margin: 0;
    overflow: hidden;
}

.section-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
    font-size: 16px;
}

select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

select:hover {
    border-color: #667eea;
}

select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    color: #999;
}

.section.active select {
    border-color: #667eea;
}

.info-text {
    color: #999;
    font-size: 14px;
    margin-top: 5px;
    font-style: italic;
}

.slider-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.slider-min,
.slider-max {
    min-width: 60px;
    text-align: center;
    font-weight: 600;
    color: #666;
    font-size: 16px;
}

.slider-min:after, .slider-max:after {
    content: '\f03e';
    font-family: 'FontAwesome';
    color: #666;
    text-align: center;
}

.slider-min:after {
    font-size: 20px;
}

.slider-max:after {
    font-size: 50px;
}

input[type="range"] {
    flex: 1;
    height: 8px;
    border-radius: 5px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    transition: background 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: #5568d3;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: none;
    transition: background 0.3s ease;
}

input[type="range"]::-moz-range-thumb:hover {
    background: #5568d3;
}

.slider-value {
    text-align: center;
    font-weight: 600;
    color: #667eea;
    font-size: 18px;
}

.slider-info {
    font-size: 14px;
    text-align: center;
    margin: 5px 0;
}

.submit-button {
    width: 100%;
    padding: 15px 30px;
    background: var(--main-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 20px;
}

.submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(54, 54, 54, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button.hidden {
    display: none;
}

.shape-options, .book-type-options {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-end;
}

.book-type-options {
    align-items: flex-start;
}

.shape-option, .book-type-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.2s ease;
    opacity: 0.6;
    max-width: 45%;
}

.book-type-option {
    opacity: 1;
}

.shape-option:hover {
    opacity: 1;
}

.shape-option.selected {
    opacity: 1;
}

.shape-option.disabled, .book-type-option.disabled {
    display: none;
}

.shape-icon, .book-type-icon {
    width: 100px;
    height: 80px;
    border: 3px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 10px;
}

.book-type-icon {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.shape-option:hover .shape-icon, .book-type-option:hover .book-type-icon {
    border-color: #667eea;
}

.shape-option.selected .shape-icon, .book-type-option.selected .book-type-icon {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.shape-icon.horizontal {
    width: 120px;
    height: 80px;
}

.book-type-icon.horizontal {
    width: 280px;
    height: auto;
    aspect-ratio: 3/2;
    max-width: 100%;
}

.shape-icon.vertical {
    width: 80px;
    height: 120px;
}

.shape-icon.square {
    width: 100px;
    height: 100px;
}

.shape-label, .book-type-label, .book-type-price-from, .size-price-from {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    text-align: center;
}

.book-type-info {
    width: 280px;
    max-width: 100%;
    font-size: 12px;
    color: #555;
    text-align: left;
    margin-top: 5px;
}

.book-type-price-from, .size-price-from {
    color: #667eea;
}

.regular-price-from {
    position: relative;
    margin: 0 10px 0 5px;
    white-space: nowrap;
}

.regular-price-from::after {
    content: ' ';
    position: absolute;
    left: -4%;
    top: 50%;
    width: 108%;
    height: 2px;
    background-color: red;
    transform: rotate(-7deg);
}

.akcija-price-from {
    color: red;
    white-space: nowrap;
}

.size-akcija {
    color: red;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-top: 5px;
}

.shape-option.selected .shape-label, .book-type-option.selected .book-type-label {
    color: #667eea;
}

.size-options {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-end;
}

.size-option {
    display: flex;
    flex-direction: column;
    max-width: 45%;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.2s ease;
    opacity: 0.6;
}

.size-option:hover {
    opacity: 1;
}

.size-option.selected {
    opacity: 1;
}

.size-icon {
    position: relative;
    border: 3px solid #e0e0e0;
    border-radius: 4px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 10px;
}

.size-icon:before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 5%;
    width: 2px;
    height: 100%;
    background: #e0e0e0;
}

.size-icon:after {
    content: ' ';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35%;
    height: 35%;
    transform: translate(-50%, -50%);
    border: 2px solid #e0e0e0;
}

.size-option:hover .size-icon {
    border-color: #667eea;
}

.size-option.selected .size-icon {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.size-label {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    text-align: center;
}

.size-option.selected .size-label {
    color: #667eea;
}

#auto-book-x {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 24px;
    background-color: white;
    border-radius: 50%;
    padding: 5px;
}

#auto-book-x::after {
    content: "\f00d";
    font-family: "FontAwesome";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #444;
    font-size: 26px;
}

/* Autobook wrap styles */
#autobook_wrap {
    position: relative;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.autobook-title {
    text-align: center;
    color: #333;
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 600;
}

.autobook-intro {
    text-align: center;
    margin-bottom: 30px;
    height: calc(100% - 70px);
    width: 100%;
    padding: 0 20px 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 80px;
}


.autobook-intro-bottom {
    margin: 0 auto;
    max-width: 800px;
}

.autobook-steps {
    text-align: left;
    display: inline-block;
    font-size: 18px;
    color: #555;
    margin: 0 auto 30px;
    padding-left: 0;
    line-height: 2.2;
    list-style: none;
    counter-reset: step-counter;
}

.autobook-steps li {
    margin-bottom: 15px;
    padding-left: 50px;
    position: relative;
    counter-increment: step-counter;
    text-indent: -35px;
    line-height: 1.2;
}

.autobook-steps li::before {
    content: counter(step-counter) ".";
    margin-right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: var(--main-color);
}

.autobook-btn, .autobook-smallbtn {
    position: relative;
    padding: 15px 40px;
    background: var(--main-color, #667eea);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.autobook-btn.autobook-btn-blue {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.autobook-smallbtn {
    padding: 5px 8px;
    font-size: 14px;
    border-radius: 4px;
    background: transparent;
    border: 1px solid white;
}

.autobook-btn.greenbtn {
    background: #6bb733;
}

.autobook-btn:hover, .autobook-smallbtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(54, 54, 54, 0.4);
}

.autobook-btn:active {
    transform: translateY(0);
}

.autobook-btn i,
.autobook-btn img {
    position: absolute;
    font-size: 24px;
    left: 30px;
    top: 50%;
    transform: translate(-50%, -50%);
}

.autobook-btn img {
    width: 34px;
}

.autobook-btn.nextbtn i {
    left: unset;
    right: 30px;
}

#photoOptions .autobook-btn {
    padding: 15px 15px 15px 45px;
}

#photoOptions .autobook-btn.nextbtn {
    padding: 15px 45px 15px 15px;
}

.btn-content-center {
    width: fit-content;
    margin: 0 auto;
}

.auto-btns-flex-divider {
    flex: 1;
}

.autobook-photo-options {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 500px;
    margin: 40px auto;
    padding: 40px 20px;
    
}

.autobook-photo-options.hidden {
    display: none;
}

#photoOptions {
    right: 50%;
}

.autobook-back-image {
    position: fixed;
    bottom: 0;
    left: 50%;
    width: 600px;
    max-width: 100%;
    aspect-ratio: 2;
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    opacity: 0.5;
    transform: translateX(-50%);
    z-index: -1;
}

#photoswrap.autobook-photos-wrapper {
    display: block;
    float: none;
    width: 100%;
}

#autobook_wrap.photoactive {
    padding: 0 0 0 20px;
    border-top: 1px solid #e0e0e0;
}


.photowrap.auto-photo-selected > .photo {
    transition: transform 0.3s ease-in-out;
}

.photowrap.auto-photo-selected > .photo.no-transition {
    transition: none;
}

.photowrap.auto-photo-selected .phzoom, .photowrap.auto-photo-selected .phsorticon {
    display: none;
}

.photoactive .autobook-title {
    display: none;
}

.photoactive #photos {
    width: calc(100% - 300px);
    padding: 40px 0;
    box-sizing: border-box;
}

.phuploadbtn {
    width: 100%;
}

#phupldproginfo {
    position: relative;
    height: 0;
    padding: 0;
    border-radius: 6px;
    box-shadow: inset 0 0 6px 0px rgb(0 0 0 / 50%);
    transition: height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

#phupldproginfo.visible {
    height: auto;
    padding: 15px 10px 15px 40px;
}

#phupldproginfo.visible:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 25px;
    color: #fff;
    font-size: 3px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    text-indent: -9999em;
    animation: mulShdSpin 1.3s infinite linear;
    transform: translateZ(0);
}
  
@keyframes mulShdSpin {
    0%,
    100% {
      box-shadow: 0 -3em 0 0.2em, 
      2em -2em 0 0em, 3em 0 0 -1em, 
      2em 2em 0 -1em, 0 3em 0 -1em, 
      -2em 2em 0 -1em, -3em 0 0 -1em, 
      -2em -2em 0 0;
    }
    12.5% {
      box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 
      3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, 
      -2em 2em 0 -1em, -3em 0 0 -1em, 
      -2em -2em 0 -1em;
    }
    25% {
      box-shadow: 0 -3em 0 -0.5em, 
      2em -2em 0 0, 3em 0 0 0.2em, 
      2em 2em 0 0, 0 3em 0 -1em, 
      -2em 2em 0 -1em, -3em 0 0 -1em, 
      -2em -2em 0 -1em;
    }
    37.5% {
      box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
       3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, 
       -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }
    50% {
      box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
       3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, 
       -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
    }
    62.5% {
      box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
       3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, 
       -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
    }
    75% {
      box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 
      3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, 
      -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
    }
    87.5% {
      box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 
      3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, 
      -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
    }
}
    

.photoactive #photoOptions {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    border-left: 1px solid #e0e0e0;
    padding: 5px 20px 20px;
    margin: 0;
    box-sizing: border-box;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
}

.photoactive .autobook-back-image {
    display: none;
}

#auto-book-profile-photos-selection-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    flex: 1;
    padding-bottom: 10px;
}

#auto-book-profsel-container {
    height: 90%;
}

.folder-photos {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    background-color: #eee;
    overflow-y: scroll;
}

.folder-photos-btns-wrapper {
    text-align: right;
}

#select-all-photos-btn, #photos-btns-wrapper button, #select-photos-done {
    padding: 8px 10px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
}

#photos-btns-wrapper button {
    padding-left: 40px;
    text-wrap: nowrap;
}

#photos-btns-wrapper .autobook-btn i {
    left: 22px;
}

#select-all-photos-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#select-all-photos-btn i, #select-photos-done i {
    position: relative;
    left: unset;
    top: unset;
    transform: none;
    font-size: inherit;
}

.folder-photo {
    position: relative;
    width: 100%;
    padding-top: 100%;
    cursor: pointer;
}

.folder-photo-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.folder-photo-selected:after {
    position: absolute;
    content: '\f00c';
    font-family: 'FontAwesome';
    font-size: 24px;
    color: var(--main-color);
    bottom: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.7);
    padding: 5px;
    border: 2px solid var(--main-color);
    border-radius: 50%;
}

.folder-photo-selected .folder-photo-img {
    opacity: 0.3;
}

.section-btns-label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

#selected-photos-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#selected-photos-number {
    font-size: 18px;
    font-weight: 600;
}

.photoactive #photos-btns-wrapper {
    position: absolute;
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: calc(100% - 300px);
    padding: 5px 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

#source-btn {
    display: none;
}

#autoBookInfo {
    padding: 8px;
    margin-top: 10px;
    text-align: center;
}
.prod-info-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 5px;
}
.prod_topdesc {
	margin-bottom: 11px;
}
.prod_topdesc, .prod_enddesc {
    font-size: 16px;
    font-weight: 400;
}
.prod_datael {
    font-size: 15px;
    font-weight: 500;
	margin-bottom: 3px;
    text-indent: -16px;
    padding-left: 16px;
}
.prod_datael:last-child {
	margin-bottom: 0;
}
.prod_dataval {
    font-weight: 300;
	font-size: 0.8em;
    margin-right: 8px;
    text-transform: uppercase;
}
.prod_enddesc {
	padding-top: 10px;
}

.auto-photo-select-buttons {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 10px;
    color: white;
}

.auto-photo-select-buttons-up {
    bottom: 100%;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.auto-photo-select-buttons-down {
    top: 100%;
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.autobook_help_btn {
    position: absolute;
    display: block;
    bottom: 20px;
    left: 20px;
    width: calc(100% - 40px);
    background: #667eea;
    box-sizing: border-box;
}


.top_img_modern_btn_secondary {
    text-align: center;
    padding: 18px 40px;
    font-size: 1.05rem;
    border-radius: 10px;
    font-weight: 600;
    background: transparent;
    border: 2px solid #333;
    color: #333;
    width: 100%;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    max-width: 200px;
}

.top_img_modern_btn_secondary:hover {
    background-color: #333;
    color: #fff;
    border-color: #333;
    transform: translateY(-2px);
}


/* media queries */
@media (max-width: 768px) {
    #autobook_wrap.photoactive {
        border: none;
        padding: 0;
    }
    .photoactive #photoswrap {
        height: calc(100% - 72px);
    }
    .photoactive #photos {
        width: 100%;
    }
    .photoactive #photos-btns-wrapper {
        width: 100%;
        padding: 5px 10px;
        border-bottom: 1px solid #e0e0e0;
        box-sizing: border-box;
    }
    #photos-btns-wrapper .autobook-btn {
        display: block;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    .photoactive #photoOptions {
        height: 0;
        padding: 0;
        border: none;
        overflow: hidden;
        transition: height 0.3s ease-in-out, padding 0.3s ease-in-out;
    }
    .photoactive #photoOptions.btn-open {
        top: 45px;
        height: auto;
        padding: 0 0 0 30px;
        gap: 10px;
        z-index: 1;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 6px;
    }
    #phupldproginfo {
        position: fixed;
        bottom: 88px;
    }
    #selected-photos-wrapper {
        position: fixed;
        display: flex;
        bottom: 0;
        left: 0;
        width: 100%;
        flex-direction: row;
        background: rgba(255, 255, 255, 0.8);
        padding: 10px 10px 10px 75px;
        box-sizing: border-box;
        align-items: anchor-center;
        border-top: 1px solid #e0e0e0;
    }
    .section-btns-label {
        display: none;
    }
    #selected-photos-number {
        flex: 1;
        font-size: 14px;
        font-weight: 500;
        text-align: center;
    }
    #create-auto-book-btn {
        width: 100%;
        max-width: 300px;
    }
    .auto-book-container {
        padding: 20px 20px 0 20px;
    }
    #auto-book-title, #auto-book-profile-photos-selection-title {
        font-size: 20px;
    }
    #auto-book-wrapper {
        padding-bottom: 20px;
    }
    #auto-book-x {
        right: 0;
    }
    .size-options {
        gap: 20px;
    }
    .autobook_help_btn {
        position: fixed;
        bottom: 10px;
        left: 10px;
        width: auto;
        z-index: 1;
    }
    #photoOptions .autobook_help_btn {
        padding: 25px 27px;
    }
    .autobook_help_btn i {
        left: 50%;
    }
    .autobook-btn.nextbtn i {
        right: 15px;
    }
    .help-btn-text {
        display: none;
    }
}

@media (max-width: 600px) {
    #photos-btns-wrapper .autobook-btn {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    #photos-btns-wrapper .autobook-btn {
        max-width: 110px;
    }
    .submit-button {
        font-size: 16px;
    }
}


/* da se kod skrolanja na manjim devicesima (aka iPhone) */
body {
    overflow: hidden;
}
#content {
    height: 100%;
    height: 100vh;
    height: 100dvh;
    box-sizing: border-box;
}
.topbutton {
    padding: 6px 20px;
    text-transform: none;
    text-shadow: none;
    border: none;
    font-size: 19px;
    border-radius: 3px;
}
.transbtn {
    background: transparent;
    color: white;
    border-color: white;
    border-width: 1px;
    border-style: solid;
}
.phzoom {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 6px 8px;
    color: #ccc;
    font-size: 18px;
    text-shadow: 0 0 2px rgba(0,0,0,0.5);
    cursor: pointer;
}
.phsorticon {
    position: absolute;
    left: 0;
    top: 0;
    padding: 6px 8px;
    color: #ccc;
    font-size: 18px;
    text-shadow: 0 0 2px rgba(0,0,0,0.5);
    cursor: grab;
}
#photoswrap.editingmode .phzoom {
    display: none;
}
#photos .photostop {
    display: none;
}
#sharefwrap {
    text-align: center;
}
#sharefwrap p {
    text-align: left;
}
#shareqrcode {
    height: 250px;
    max-height: 28vh;
    margin: 18px 0 25px;
}
#sharelink {
    padding: 10px 0 25px;
}
.copydone, .copydone:hover {
    background: red;
}
.fixoverlay.trgray {
    background: rgba(0,0,0,0.7);
}
.prodshowback {
    background: transparent;
    max-width: 1000px;
    margin: 0 auto;
}
.phpreview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
}
#phpreviewprev, #phpreviewnext {
    position: absolute;
    top: 50%;
    background: transparent;
    padding: 50px 0;
    transform: translateY(-50%);
}
#phpreviewprev {
    left: 15px;
    text-align: left;
    padding-right: 50px;
}
#phpreviewnext {
    right: 15px;
    text-align: right;
    padding-left: 50px;
}
#phpreviewprev .topbutton, #phpreviewnext .topbutton {
    border: none;
    font-size: 40px;
    box-shadow: none;
    text-shadow: 0 0 6px rgba(0,0,0,0.8);
}
#phpreviewprev .topbutton:hover, #phpreviewnext .topbutton:hover {
    background: transparent;
}
#phpreviewremove {
    position: absolute;
    right: 15px;
    top: 15px;
}
.widgetoverlay {
    z-index: 1;
}
#a-dialog .ui-message {
    font-size: 18px;
    padding: 10px 5px 0;
}
@media only screen and (min-width: 769px) {
    .pagetoptitle {
        display: none;
    }
    ul.navmenu li[lnk="moje"] {
        border-color: #ccc;
        border-bottom-color: transparent;
    }
}