/*!  
    Story Show Gallery (SSG) ver: 3.0.1 - https://roman-flossler.github.io/StoryShowGallery/
    Copyright (C) 2020 Roman Flossler - SSG is Licensed under GPLv3  
*/
/*   
    SSG on Github: https://github.com/Roman-Flossler/Simple-Scroll-Gallery.git   

    There is one exception from the license:
    Distributing Story Show Gallery within a Wordpress plugin or theme 
    is only allowed for the author of Story Show Gallery.   
*/

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/opensans/v15/mem8YaGs126MiZpBA-UFW50d.woff) format("woff");
}

#SSG1,
#SSG1 *,
#SSG_exit,
#SSG_exit *,
#SSG_tip,
#SSG_bg,
#SSG_tip * {
    font-size: 100%;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-weight: normal;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    letter-spacing: 0;
    background: none;
    width: auto;
    height: auto;
    border: none;
    vertical-align: initial;
    font-style: normal;
    -webkit-backface-visibility: hidden;
    text-align: inherit;
    line-height: inherit;
    text-decoration: unset;
    text-shadow: none;
    /* combination of * and inherit(unset) cause forcing each element inherit from parent.
    So SSG_ * overwrites * from other CSS and leaves original selectors priority.
    it is possible bug, * {text-align:left} overwrites more specific selector  */
}

/****************************************************************
 * Table of contents:
 *
 *     1. Basic styles
 *     2. The bottom menu
 *     3. The tip Window & exit icon
 *     4. Portrait mode
 *     5. Landscape mode 
 *     6. Smartphones - all
 *     7. Smartphones - small
 *     8. Smartphones - portrait
 *     9. Iphone X
 *     10. Scrollbars & cursors
 *     11. Additional color themes
 * 
*/

/****************************************************************
 * 1. Basic styles
 *
 * Gallery overlay, Images, captions, error image, logo container
 */

#SSG1,
#SSG_tip {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

#SSG_bg {
    background: rgb(22, 22, 22);
    color: #696969;
    width: 100%;
    font-size: 33px;
    text-align: center;
    padding-top: 111vh;
    position: fixed;
    height: 111%;
    z-index: 9999990;
    top: 0;
    left: 0px;
}

#SSG_bg b {
    font-weight: normal; 
    transform: scaleX(1.5);
    display: inline-block;
    font-size: 86%;
    margin-left: 0.1em;
    margin-right: 0.2em;
    text-shadow: 0px 0px 18px #bfbfbf;
}


#SSG1 {
    background: rgb(22, 22, 22);
    position: absolute;
    top: 0px;
    z-index: 9999991;
    width: 100%;
    text-align: center;
    line-height: 1.4em;
    left: 0px;
    padding-top: 33vh;
}

#SSG1 img {
    max-width: 98vw;
    max-height: 92vh;
    display: inline;
    border: 1px solid rgb(10, 10, 10);
    box-shadow: 0 0 8px 0px rgb(12, 12, 12) !important;
}

#SSG1 p.title {
    margin-top: 0.4em;
}

#SSG1 span.SSG_forlogo {
    position: relative;
    vertical-align: bottom;
    display: inline-block;
    -webkit-transform: translate3d(0,0,0);
}

#SSG1 div.SSG_imgWrap {
    line-height: 1em;
    font-size: 0;
}

#SSG1 span.SSG_logo {
    position: absolute;
    background-size: 100%;
    white-space: nowrap;
    background-repeat: no-repeat;
    background-position: center bottom;    
    line-height: 1.3rem;
    color: white;
    display: flex;
    align-items: flex-end;
    text-shadow: 0 0 2px black, 0 0 3px black, 0 0 6px black, 0 0 12px black, 0 0 18px black, 0 0 2px black, 0 0 3px black, 0 0 6px black, 0 0 12px black, 0 0 18px black;
}

#SSG1 p,
#SSG_lastone p {
    display: block;
    margin: auto;
    line-height: 1.44em;
    color:rgb(188, 188, 188);
    text-align: center;
    background: rgb(35, 35, 35);
    padding: 0.4em;
    padding-bottom: 0.3em;
    margin-bottom: 28vh;
    font-size: 108%;
}

#SSG1 p em {
    font-style: italic;
}

#SSG1 p q::before, #SSG1 p q::after {
    content: '';
}

#SSG1 p em::before, #SSG1 figure.title.exif p.title q::before {
    content: ' |';
    color: #71a7b7;
    padding-left: 0.8em;
    padding-right: 0.3em;
    font-style: italic;
    letter-spacing: 0;
}

#SSG_tip .exif-table td {
    padding: 0.1em 0.5em;
    vertical-align: middle;    
    font-weight: normal;
    color: rgb(224, 224, 224);
}

#SSG_tip #table-wrap {
    max-height: 81vh;
    overflow-x: auto;
}

#SSG_tip .exif-table tr:nth-child(odd) {
    background: linear-gradient(90deg, transparent, #1a1a1a, transparent);
}

#SSG_tip .exif-table tr td:nth-child(odd) {
    color: rgb(201, 201, 201);
    text-align: right;    
}

#SSG_tip .exif-table tr td:nth-child(even) {
    text-align: left;
}

#SSG_tip .exif-table td b {
    margin: 0 0.2em 0 0.6em;
    color: #71a7b7;
    line-height: 1.6em;
}

#SSG1 figure:not(.exif) p q {
    display: none;
}

#SSG1 p q {
    font-size: 95%;
    letter-spacing: -0.03em;
    cursor: pointer;
    opacity: 0.86;
}

#SSG1 figure:not(.title) p q:not(.exif-icon) {
    font-size: 100%;    
    opacity: 1;
    letter-spacing: 0;
}

#SSG1 p q b {
    margin: 0 0.2em 0 0.6em;
    color: #71a7b7;
}

#SSG1 b.focal, #SSG_tip b.focal {
    font-size: 109%;
    line-height: 1em;
}

#SSG1 b.iso, #SSG_tip b.iso  {
    font-size: 93%;
}

#SSG1 p q u {
    border-bottom: 1px dashed rgba(121, 121, 121, 0.81);
}

#SSG1 p q u::before {
    content: '»\00a0';
    color: rgb(133, 133, 133);
}

#SSG1 p q.exif-icon {
    margin-left: 1.3em;
    letter-spacing: 2px;
    text-decoration: underline;
    text-decoration-color: #6d939e;    
    text-underline-position: under;
    text-decoration-style: dashed;
    position: relative;
    bottom: 1.44px;
    font-size: 75%;
    line-height: 1.5em;
    color: #8abac7;
    padding-top: 11px;
}

#SSG1 p.uwtitle q.exif-icon {
    padding: 1em 0 0 0;
    margin: 0;
}

#SSG1 p q.exif-icon::before {
    content: none !important;
}

#SSG1 p.uwtitle q {
    margin: 1.3em 0 0.8em 0;
    display: block;
}

#SSG1 figure:not(.title):not(.exif) p em::before {
    content: none;
}

#SSG1 p.uwtitle em {
    padding-top: 0.6em;
    display: block;
}

#SSG1 p.uwtitle em::before  {    
    padding-left: 0;
}

#SSG_lastone p {
    background-color: rgb(44, 44, 44);
}

#SSG_menu a.SSG_link {
    text-shadow: 0 0 16px black;
}

#SSG1 .notitle p.title,
#SSG1 .SSG_uwide p.title {
    padding: 1px;   
    margin: 16vh 0;
    display: inline-block;
    border-radius: 0.1em;
    position: relative;
    /* 4px correction, division line wasn't centered */
    top: 4px;    
}

#SSG1 .SSG_uwide p.title {
    top: 3px;
}

#SSG1 p.uwtitle {
    display: none;
}

#SSG1 div.notitle img {
    margin-bottom: 0;
}

#SSG1 div.notitle span.SSG_logo {
    bottom: -0.1em;
}

#SSG1 p.title {
    display: inline-block;
    padding-left: 2.8vw;
    padding-right: 2.8vw;
    border-radius: 0.3em;
    min-width: 22vw;
}

#SSG1::before,
#SSG_tip span,
#SSG1 .SSG_text {
    font-size: 108%;
}

#SSG1 figure#f0 {
    overflow: hidden; /* bug fix */
}

#SSG1 figure .serror img {
    border: 0;
    height: 40px;
    max-width: 83vw;
    padding: 28vh 13vw;
    box-shadow: 0 0 2px 0px #10334d !important;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;    
    box-sizing: content-box;
    animation-name: invert;
    animation-duration: 8s;    
    animation-iteration-count: infinite;
    background: linear-gradient(-8deg, #006575d1 18%, #0b1617f0 47%, #00a0d061 276%), repeating-linear-gradient(292deg, #00a8b1 0px, #000000 3px, #00000000 26px),  repeating-linear-gradient(476deg, #00a8b1 0px, #000000 11px, #000000 18px);
    /* background: linear-gradient(-6deg, #005967cc 18%, #0b1617f0 49%, #00a0d000 276%), repeating-linear-gradient(292deg, #00a8b1c4 0px, #001919 11px, #00000000 30px),  repeating-linear-gradient(477deg, #00a8b1 0px, #001919 11px, #000000 8px);    */
}

@keyframes invert {
    0% {  filter: brightness(1.3) contrast(1.2) hue-rotate(0deg) invert(0); }
    15% { filter: brightness(1.3) contrast(1.2) hue-rotate(0deg) invert(0); }
    28% { filter: brightness(0.4) hue-rotate(90deg) invert(0.1); }
    28% { filter: brightness(8) contrast(1) hue-rotate(-70deg) invert(0.9); }
    40% { filter: brightness(5) contrast(1) hue-rotate(-170deg) invert(1); }
    60% { filter: brightness(5) contrast(1) hue-rotate(-170deg) invert(1); }    
    73% { filter: brightness(8) contrast(1) hue-rotate(70deg) invert(0.9); }
    85% { filter: brightness(1.3) contrast(1.2) hue-rotate(0deg) invert(0); }    
    100% { filter:brightness(1.3) contrast(1.2) hue-rotate(0deg) invert(0); }
  }

  #SSG_bg {
      animation: fadein;
      animation-duration: 0.3s;
      animation-timing-function: ease-in;
      animation-iteration-count: 1;      
  }

  @keyframes fadein {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

  #SSG1 {
    opacity: 0;
  }


/****************************************************************
 * 1.5. Social share menu
 *
 * No media queries
 */

#SSG1 span.share {
    width: 38px !important;    
    height: 23px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    margin-bottom: -5px;
    margin-top: -5px;
    margin-right: -11px;
    margin-left: 0.5em;
    cursor: pointer;
}

#SSG1 p.uwtitle span.share {
    top: 3px;
    z-index: 2;    
    margin-right: 0.3em;
    margin-left: 0.3em;
}

#SSG1 figure.author.SSG_uwide:not(.title) span.share {
    top: 0px;
    margin: 0;
}

#SSG1 .SSG_forlogo span.share {
    position: absolute !important;
    top: auto;    
    bottom: calc(3vh + 20px);
    right: -10px;
    background: transparent;
}

#SSG1 .SSG_forlogo .share-menu {
    height: 188px;
}

#SSG1 .SSG_forlogo span.share {
    height: 30px;
}

#SSG1 .share:hover {
    overflow: visible;
}

.share-overflow {
    overflow: visible !important;
}

#SSG1 figure.title .SSG_imgWrap .share,
#SSG1 figure.author .SSG_imgWrap .share,
#SSG1 figure.exif .SSG_imgWrap .share,
#SSG1 figure.notitle p.title .share,
#SSG1 figure.notitle.SSG_uwide #uwp0 .share {
    display: none;    
}

#SSG1 .share-menu {
    position: absolute;
    left: auto;
    right: 0;
    bottom: 0;
    display: flex;
    flex-flow: wrap;
    flex-direction: column;
    align-items: flex-end;
    width: 150px;
    height: 183px;    
}

#SSG1.notchright figure.title.SSG_uwide .share-menu {
    left: 0px;
}

#SSG1.notchright figure.exif.SSG_uwide .share-menu,
#SSG1.notchright figure.author.SSG_uwide .share-menu {
    left: 42px;
}

#SSG1 .share .ico {
    position: absolute;
    background: rgb(38, 38, 38);
    bottom: 0px;
    width: 40px;
    left: 0;
    height: 22px;
    line-height: 22px;    
    font-weight: bold;
    font-size: 17px;
    background: no-repeat center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18px' height='18px'%3E%3Cpath fill='%23aaaaaa' stroke='%23000000' d='M14.5,17.5c-3.4-0.3-3-3.3-3-3.3l-5.9-3.1C5.1,11.7,4.3,12,3.5,12c-1.7,0-3.1-1.3-3.1-3 s1.4-3,3.1-3C4.3,6,5,6.3,5.6,6.9l6-3.1c0-2,1.3-3.3,3-3.3c1.7,0,3,1.3,3,3s-1.3,3-3,3c-0.7,0-1.3-0.2-1.8-0.6L6.8,9l5.9,3.1 c0.5-0.4,1.2-0.6,1.9-0.6c1.7,0,3,1.3,3,3C17.5,16,16.3,17.7,14.5,17.5z'/%3E%3C/svg%3E%0A");
    background-size: 17px;
    opacity: 0.66;
}

#SSG1 figure.exif:not(.author) .share .ico {
    opacity: 0.86; 
}

#SSG1 .share .ico:hover {
    opacity: 1 !important;
}

#SSG1 .SSG_forlogo span.share .ico {
    border-radius: 13px;
    width: 28px;
    height: 28px;
    left: 4px;
    background-size: 20px;
    opacity: 0.6;
    background-color: #0c0c0c;
    background-position: 2px;
}

#SSG1 .share-menu * {
    width: 50px;
    height: 50px;
    padding-left: 0px;
    left: 0;    
    line-height: 50px;
    display: block;
    background: #0c0c0c no-repeat center;
    background-size: 26px;
    box-shadow: inset 0px 0px 11px #a644ff85;
    text-decoration: none;
}

#SSG1 .share-menu .pin {    
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-0.5 -0.5 20 20' width='20px' height='20px'%3E%3Cg fill-opacity='0.53' fill='%23ffffff' stroke-opacity='0.8' stroke='%23ffffff' stroke-width='0.7'%3E%3Cpath d='M9.6,18.8c-0.7,0-1.5-0.1-2.2-0.3 c0.7-1.2,0.9-2.4,1.3-3.7c3.5,3,7.3-1.8,7.7-5c0.5-3.7-2-6.9-5.8-7.2C6.8,2.3,2.7,4.8,2.7,9c0,1.6,0.6,3.4,2.2,4.1 c0.9,0.4,1-0.7,1.2-1.3c0.2-0.8-0.8-1.7-0.8-2.5c0-3.6,5.5-6.3,7.6-2.7c0.9,1.5,0.5,3.8-0.4,5.2c-0.4,0.7-1,1.3-1.9,1.3 c-1.7,0-1.1-1.8-0.8-2.7c0.4-1.3,1.1-4-1.2-4c-1.9,0-2.5,2.4-2.1,3.9c0.5,2.3-1.2,5-1.2,7.5C1.1,15.6-0.9,10.4,0.9,6 c1.8-4.3,6.7-6.7,11.2-5.5c4.3,1.2,7.2,5.5,6.7,10C18.3,15.2,14.3,18.8,9.6,18.8L9.6,18.8'/%3E%3C/g%3E%3C/svg%3E");
    background-color: rgb(209, 0, 24);
    background-size: 27px;
}

#SSG1 .share-menu .reddit {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20px' height='20px'%3E%3Cg fill-opacity='0.55' fill='%23ffffff' stroke-opacity='0.9' stroke='%23ffffff' stroke-width='0.7'%3E%3Cpath d='M16.4,7.8c-0.6,0-1,0.3-1.4,0.6c-1.3-0.9-3.2-1.5-5.1-1.6l1-4.7l3.3,0.7c0,0.8,0.7,1.5,1.5,1.5 c0.8,0,1.5-0.7,1.5-1.5c0-0.8-0.7-1.5-1.5-1.5c-0.6,0-1,0.4-1.3,0.8l-3.6-0.8c-0.2-0.1-0.4,0.1-0.4,0.3L9.1,6.8 c-1.9,0.1-3.6,0.7-5,1.5C3.8,7.9,3.3,7.7,2.7,7.7c-2.1,0-2.8,2.8-0.8,3.7c-0.1,0.3-0.1,0.7-0.1,0.9c0,3.2,3.5,5.7,7.8,5.7 s7.8-2.6,7.8-5.7c0-0.3,0-0.7-0.1-0.9C19.1,10.5,18.4,7.8,16.4,7.8L16.4,7.8z M6.3,13c-1,0-1.9-0.8-1.9-1.9c0-1,0.8-1.9,1.9-1.9 c1,0,1.9,0.8,1.9,1.9C8.2,12.1,7.4,13,6.3,13z M13.5,15.7c-3,1.7-5.4,1.6-8,0c-0.2-0.2-0.2-0.6-0.2-1.1c0.1-0.2,0.4-0.6,0.8-0.4 c1.6,1,4.5,1.1,6.6,0c0.5-0.1,0.7,0,0.8,0.3C13.9,14.8,13.6,15.5,13.5,15.7z M12.8,13c-1,0-1.9-0.8-1.9-1.9c0-1,0.8-1.9,1.9-1.9 c1,0,1.9,0.8,1.9,1.9C14.7,12.1,13.8,13,12.8,13z'/%3E%3C/g%3E%3C/svg%3E");
    background-color: #e2511c;
    background-size: 29px;
    box-shadow: inset 0px 0px 11px rgb(165, 4, 6);    
}

#SSG1 .share-menu .FB {   
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-0.5 -0.5 20 20' width='20px' height='20px'%3E%3Cg fill-opacity='0.48' fill='%23ffffff' stroke-opacity='0.8' stroke='%23ffffff' stroke-width='0.8'%3E%3Cpath d='M11.5,18.8V13h3.2l0.7-3.9 h-3.7l0-0.8c0-1.4,0.5-1.4,0.7-1.4h3.1V3.4L14,3.2c-0.1,0-0.2,0-0.4,0c-0.4,0-0.9-0.1-1.7-0.1c-2.9,0-4.5,1.7-4.5,4.8l0,1.2h-3 l0,3.9h2.9v5.7c-4.2-1-7.1-4.7-7.1-9.1c0-5.1,4.2-9.3,9.3-9.3c5.1,0,9.2,4.2,9.2,9.4C18.8,14.1,15.8,17.8,11.5,18.8L11.5,18.8z'/%3E%3C/g%3E%3C/svg%3E%0A");
    background-color: #414D9A;
    box-shadow: inset 0px 0px 11px #4464ff80;
}

#SSG1 .share-menu .tweet {    
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='20px' height='20px' %3E%3Cg fill-opacity='0.48' fill='%23ffffff' stroke-opacity='0.88' stroke='%23ffffff' stroke-width='0.8'%3E%3Cpath d='M5.9,17.8c7.3,0,11.3-6.1,11.3-11.3c0-0.2,0-0.3,0-0.5c0.8-0.6,1.5-1.3,2-2.1c-0.7,0.3-1.5,0.5-2.3,0.6 c0.8-0.5,1.5-1.3,1.8-2.2c-0.8,0.5-1.6,0.8-2.5,1c-1.5-1.6-4-1.7-5.6-0.2C9.5,4,9,5.5,9.4,6.9C6.1,6.7,3.2,5.2,1.1,2.7 C0.1,4.5,0.6,6.9,2.4,8C1.7,8,1.1,7.8,0.6,7.5c0,0,0,0,0,0.1c0,1.9,1.3,3.5,3.2,3.9c-0.6,0.2-1.2,0.2-1.8,0.1c0.5,1.6,2,2.7,3.7,2.8 C4.3,15.4,2.5,16,0.7,16c-0.3,0-0.6,0-0.9-0.1C1.6,17.1,3.7,17.8,5.9,17.8'/%3E%3C/g%3E%3C/svg%3E");
    background-color: rgb(0, 131, 192);
    box-shadow: inset 0px 0px 11px #af107e8c;
}

#SSG1 .share-menu .mess {   
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='226px' width='224px' version='1.1' viewBox='-5 -5 238 238'%3E%3Cg fill-opacity='0.45' fill='%23ffffff' stroke-opacity='0.8' stroke='%23ffffff' stroke-width='10'%3E%3Cpath d='m41.255 185.52v40.2l37.589-21.37c10.478 3.02 21.616 4.65 33.156 4.65 61.86 0 112-46.79 112-104.5 0-57.714-50.14-104.5-112-104.5-61.856 0-112 46.786-112 104.5 0 32.68 16.078 61.86 41.255 81.02z'/%3E%3C/g%3E%3Cg fill-opacity='0.8' fill='%23145791' stroke-opacity='0.8' stroke='%23145791' stroke-width='12'%3E%3Cpath d='m100.04 75.878l-60.401 63.952 54.97-30.16 28.721 30.16 60.06-63.952-54.36 29.632-28.99-29.632z'/%3E%3C/g%3E%3C/svg%3E%0A");
    background-color: #1a84e0;
    box-shadow: inset 0px 0px 11px #af107e8c;
}

#SSG1 .share-menu .link {
    background-color: #71af0c;
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='20px' height='20px' viewBox='0 0 20 20'%3E%3Cpath opacity='0.6' fill='%23000000' d='M19.4,6.3c-0.2-3-2.8-5.5-5.8-5.5c-3.3,0-5,2.7-7.2,4.7c-1,1-2,2-3,3c-1.5,1.5-2.6,2.9-2.6,5.1c0,3,2.4,5.6,5.5,5.8 c3.8,0.3,5.3-2.9,7.8-4.9c1.1-0.9,1.9-1.9,2.9-2.9C18.4,10.1,19.6,8.6,19.4,6.3z M7.7,10.2c0-3.1,4.7-3,4.7,0 C12.4,13.3,7.7,13.2,7.7,10.2z'/%3E%3Cpath fill='%23FFFFFF' fill-opacity='0.8' d='M6.6,18.4c2.2,0,3.6-1.7,5-3.1c-0.5,0.2-1.1,0.2-1.7,0.2c-0.4,0-0.8,0.6-1.1,0.9 C8,17,7,17.3,6,17.1c-2.3-0.5-3.6-3.3-2.3-5.4C4.3,10.7,5.4,9.9,6.2,9C7,8.2,7.8,7.2,9,6.8c2.5-0.8,5.2,1.6,4.5,4.2 c0.4-0.4,0.8-0.9,1.3-1.3c-0.2-2.5-2.5-4.4-5.1-4.3C7.5,5.6,6.1,7.3,4.8,8.8C3.6,10,2.3,11.2,2,13C1.6,15.8,3.7,18.4,6.6,18.4'/%3E%3Cpath fill='%23FFFFFF' fill-opacity='0.8' d='M10.1,14.9c2.3,0,3.7-1.8,5.3-3.3c1.4-1.4,2.8-2.7,2.8-4.8c0-3-2.9-5.3-5.8-4.6 c-1.7,0.4-2.7,1.9-3.9,2.9C9.1,5,9.7,4.9,10.1,5c0.4,0,0.8-0.7,1.1-0.9c0.9-0.7,1.9-1,2.9-0.8c2.3,0.5,3.5,3.3,2.2,5.4 c-0.5,1-1.6,1.9-2.4,2.7c-0.8,0.9-1.7,1.8-2.8,2.2c-2.5,0.8-5-1.6-4.5-4.2c-0.4,0.4-0.8,0.8-1.2,1.3C5.7,13.1,7.7,14.9,10.1,14.9' /%3E%3C/svg%3E%0A");
    box-shadow: inset 0px 0px 11px #077768dc;    
}
#SSG1 .share-menu .whatsapp {
    background-color: #25aa3d;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20px' height='20px' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke-opacity='0.7' stroke='%23ffffff' stroke-width='1.3' d='M9.5,0.5c5,0,9,4,9,9s-4,9-9,9c-1.6,0-3.1-0.5-4.4-1.2c-0.1-0.1-0.2-0.1-0.3,0l-4.1,1l1.1-3.9 c0-0.1,0-0.3,0-0.4C1,12.7,0.5,11.1,0.5,9.5C0.5,4.5,4.5,0.5,9.5,0.5z'/%3E%3Cpath fill-opacity='0.48' fill='%23ffffff' stroke-opacity='0.8' stroke='%23ffffff' stroke-width='0.8' d='M12,14.2c-3.1,0-6.9-3.4-7.6-6.3C4,6.5,4.8,4.7,6.3,4.8c0.7,0.2,1,1,1.3,1.6 C7.8,6.9,8,7.1,7.7,7.5C7.5,7.9,6.7,8.5,7,8.9c0.6,1,3.1,4,4.3,2.6c0.2-0.3,0.5-0.5,0.6-0.8c0.2-0.2,0.5,0,1,0.2 c0.7,0.4,0.7,0.4,1.5,0.7C15.6,12.4,13.2,14.2,12,14.2'/%3E%3C/svg%3E%0A");    
    background-size: 27px;
}
#SSG1 .share-menu .linkedin {
    background-color: #4a76e6;
    box-shadow: inset 0 0 26px 0px #d10119; 
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24px' height='24px' viewBox='-1 0 24 24'%3E%3Cg fill-opacity='0.5' fill='%23ffffff' stroke-opacity='0.88' stroke='%23ffffff' stroke-width='1.1'%3E%3Cpath d='M20,20h-2.5v-5.6c0-2.6-0.8-4-2.5-4c-1.7,0-3.1,1.5-3.1,4V20H9.5V8.7H12V10v1c0,0,1.6-2.5,3.6-2.6c2.1-0.1,4.4,1.5,4.4,4.6 V20L20,20z'/%3E%3Cpolygon points='5,20 2.5,20 2.5,8.7 5,8.7 5,20 '/%3E%3Cpath d='M3.7,5.8c-0.9,0-1.6-0.7-1.6-1.6c0-0.9,0.7-1.6,1.6-1.6c0.9,0,1.6,0.7,1.6,1.6C5.3,5.1,4.6,5.8,3.7,5.8L3.7,5.8z'/%3E%3C/g%3E%3C/svg%3E%0A");
}
#SSG1 .share-menu .email {
    background-color: #2e9425;    
    font-size: 25px;
}

#SSG1 .share-menu .email b {    
    background: rgba(255, 255, 255, 0.44);
    border-radius: 20px;
    width: 28px;
    height: 28px;
    margin-top: 11px;
    display: inline-block;
    line-height: 25px;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.66);
    text-shadow: 0 0 11px #00180f;
}


#SSG1 .share-menu .email:hover b {
    font-size: 29.6px;
    width: 32px;
    height: 32px;
}

#SSG1 .share-menu .reddit:hover {
    background-size: 32px;
}

#SSG1 .share-menu .link:hover {
    font-size: 22px !important;
}

#SSG1 .share-menu *:hover {
    background-size: 30px;
}


/****************************************************************
 * 2. The bottom menu
 *
 * The end menu of Story Show Gallery. No media queries
 */

#SSG_lastone p {
    margin-bottom: 1em !important;
}

#SSG_lastone {
    width: 100%;
    margin-top: 0;
    padding-bottom: 4vh;
}

#SSG1::after {
    content: '';
    height: 18vh;
    display: block;
}


@media (pointer: coarse) {
    #SSG1::after {
        content: '';
        background: linear-gradient(0deg, rgba(255,255,255,0) 44%, #131313 100%);
        height: 44vh;
        display: block;
        position: relative;
        top: 44vh;
        margin-top: -40vh;
    }
}

#SSG_lastone #SSG_menu a:hover {
    text-decoration: underline;
}

#SSG_lastone #SSG_menu {
    overflow: auto;
    display: flex;
    justify-content: space-evenly;
}

#SSG_menu a.SSG_link {
    display: inline-block;
    width: 33%;
    cursor: pointer;
    color: #FF706C;
    padding-top: 0.2em;
    line-height: 1.4;
    text-align: center;
    vertical-align: text-top;
}

#SSG_menu a.SSG_link b {
    font-weight: normal;
    transform: scaleX(1.5);
    display: inline-block;
    margin-right: 4px;
    font-size: 88%;
}

#SSG_menu #SSGL {
    color: #989898;
    text-decoration: none;
}

#SSG_first span {
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13px' height='18px' %3E%3Cg fill='none' stroke='%23FF706C' stroke-width='1.5' %3E%3Cpolyline points='1,9 6,4 11,9 '/%3E%3Cline x1='6' y1='7' x2='6' y2='16'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 11px;
    width: 0.7em;
    shape-rendering: crispEdges;
}


/****************************************************************
 * 3. The tip Window & exit icon
 *
 * Window with a little help how to use Story Show Gallery. No media queries
 */

#SSG1 .SSG_tipCall {
    color: #a1a1a1;
    cursor: pointer;
    padding: 1em;
    display: inline;
    position: relative;    
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20.5px' height='18.8px'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.3' id='svg-arrow'%3E%3Cpolyline points='0.3,0.3 10.3,10.3 10.3,10.3 20.3,0.3 '/%3E%3Cpolyline points='0.3,7.3 10.3,17.3 10.3,17.3 20.3,7.3 '/%3E%3C/g%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center;    
    background-size: 18px;
    font-weight: normal;
    opacity: 0.55;
    animation-name: arrow-down;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

#SSG1 .SSG_tipCall:hover {
    opacity: 1;    
    animation: none;
}

@keyframes arrow-down {
    0% { top: 0; }
    69% { top: 0; }
    77% {  opacity: 0.55; }
    84% { top: 0.4em; opacity: 0; }
    85% { top: -0.4em; opacity: 0; }
    91% {  opacity: 0.55; }
    100% { top: 0; }
}
@keyframes arrow-trans-down {
    0% { transform: translate(0,0);  }
    69% { transform: translate(0,0);  }
    77% {  opacity: 0.55; }
    84% { transform: translate(0,0.4em); opacity: 0; }
    85% { transform: translate(0,-0.4em); opacity: 0; }
    91% {  opacity: 0.55; }
    100% { transform: translate(0,0);   }
}


#SSG_tip {
    top: 50vh;
    width: 99vw;
    padding: 0.33em 1em;
    position: fixed;
    z-index: 9999994;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 1px;
    padding: 0;
}

#SSG_tip div.touch {
    display: none;
}

#SSG_tip a {
    text-decoration: underline;
    color: #6bddff;
    background: none;
    text-underline-position: under;
}

#SSG_tip abbr {
    font-size: 120%;
}

#SSG_tip hr {
    opacity: 0.5;
    margin: 0.5em 0;
    border-bottom: 1px solid white;
}

#SSG_tip strong {
    color: #6bddff;
    background: none;
    font-family: Consolas, Menlo, "Lucida Console", monospace !important;
    font-size: 141%;
    font-weight: normal;
}

#SSG_tip #SSG_tipClose {
    position: absolute;
    top: -6px;
    right: -6px;
    font-family: "Times New Roman", monospace !important;
    font-size: 200%;
    color: #989898;
    background: #111111;    
    border-radius: 3px 11px;
    height: 40px;
    width: 33px;
    line-height: 40px;
    text-align: center;
}

#SSG_tip span {
    padding: 1em 2em;
    background: #2f2f2f;
    color: #fff;
    border: 1px solid black;
    border-radius: 5px;
    line-height: 2em;
    display: inline-block;
    cursor: pointer;
    position: relative;
    box-shadow: 0px 5px 19px 1px rgba(0, 0, 0, 0.9);
}

#SSG_tip textarea {
    border: 1px dashed #000000;
    background: #ffffff1a;
    color: #e9e9e9;
    padding: 0.5em 0;
    margin-top: 0.6em;
    font-style: italic;
    font-size: 16px;
    width: 100%;
}

#SSG_tip button {
    background: black;
    color: #e5e5e5;
    padding: 0.3em 1em;
    border-radius: 6px;
    cursor: pointer;    
    margin: 1em 0 0.5em 0;
    background: linear-gradient(0deg, #000000 0%, #0a252f 100%);    
}

button#copyLink::first-letter {
    font-size: 27px;
    top: -5px;
    vertical-align: text-top;
    color: #6bddff;
    padding-right: 8px;
}


#SSG_tip button:hover {
    box-shadow: 0 0 5px #525252;
}

#SSG_tip span.linkShare {
    line-height: 1.4em;
    width: 100%;
    max-width: 513px;    
}

#SSG_exit.notchright {
    left: -9px;
    background-position: 25px 25px;
}

#SSG_exit {
    top: -9px;
    right: -9px;
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.55);
    cursor: pointer;
    z-index: 9999993;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13px' height='13px'%3E%3Cg fill='none' stroke='%23bbbbbb' stroke-width='1' %3E%3Cline x1='0' y1='0' x2='13' y2='13'/%3E%3Cline x1='0' y1='13' x2='13' y2='0'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 13px 23px;
    background-size: 14px;
    opacity: 0.55;
}

#SSG_exit:hover {
    opacity: 1;
    background-color: black;
}


/****************************************************************
 * 4. Portrait mode
 *
 * Basic elements in portrait mode.
 */

@media (orientation: portrait) {

    #SSG1 img {
        max-width: 100%;
        border-left: none;
        border-right: none; 
    }

    #SSG1 .golandscape {
        color: #bdbdbd;
        margin-bottom: 3.2em;
        display: block;
        margin-top: -4.3vh;
        font-style: italic;
        opacity: 0.55;
        filter: invert(0%) grayscale(100%) contrast(160%);
        text-shadow: 1px 1px 3px black;
    }

    #SSG1 .SSG_tipCall {
        display: block;
        position: fixed ;
        left: calc( 50vw - 16px );
        top: auto;
        bottom: 1vh;
        height: 32px;
        width: 32px;
        background-color: rgb(22, 22, 22);
        border-radius: 50%;
        z-index: 6;
        opacity: 0.8;
        animation-name: arrow-trans-down;
    }

    #SSG1 .SSG_tipCall.hide {
        display: none;
    }

    html.ssg-active body {
        overflow-y: auto;
    }

    #SSG1 p.title {
        display: block;
        padding-left: 2em;
        padding-right: 2em;
        border-radius: 0;
        margin-top: 0.6em;
    }

    #SSG1 p,
    #SSG_lastone p {
        margin-bottom: 8.8vh;
    }
    
    #SSG1 .notitle p.title {
        margin: 5.8vh 0;
    }

    #SSG1 .SSG_uwide p.title {
        margin: 0 0 13vh 0;
        display: block;
        padding: 0.4em;
    }

    #SSG1 figure .serror img {        
        width: 88vw;
        max-width: 320px !important;
        height: auto;
        padding: calc((100vw - 324px) / 2);
        padding-top: 18vh;
        padding-bottom: 18vh;
    }

    #SSG1 .SSG_forlogo span.share {
        bottom: -6px;
        right: 8%;
    }

    #SSG1 figure.exif:not(.eicon) img {
        max-height: 88vh;
    }


    /* spacious EXIF formatting for portrait mode  */
    
    #SSG1 p.title q.exif-icon {
        display: inline-block;
        padding-right: 0.5em;
    }

    #SSG1 figure.exif:not(.author):not(.eicon) p.title .share {
        position: absolute;        
        right: 2em;
        top: 1em;
    }

    #SSG1 figure.exif:not(.author):not(.eicon) p.title {
        padding-bottom: 0.2em;
        padding-right: 3em;
        position: relative;
    }

    #SSG1 figure.title.eicon.author p.title em::before {
        content: '\A|';    
        white-space: pre;
    }

    #SSG1 p.title q {
        display: block;
        padding: 0.5em 0;
    }

    #SSG1 figure.title.author:not(.exif) p.title q {
        display: block;
        margin: 0.4em 0 0 0;
        padding: 0;
    } 

    #SSG1 p.title q::before {
        content: '' !important;
        padding-left: 0 !important;
    }
    

    #SSG1 figure.exif.author p.title em::before {
        padding-left: 0;
    }


}


/****************************************************************
 * 5. Landscape mode
 *
 * ultrawide & standard landscape mode. A lot of media queries
 */

@media (orientation: landscape) {
    
    #SSG1 .golandscape {
        display: none;
    }

    #SSG1 figure:not(.SSG_uwide):not(.notitle) p.title > span {
        display: inline-block;
    }

    #SSG1 .SSG_uwide .SSG_uwBlock {
        display: flex;
        align-items: center;
        justify-content: space-around; /* fallback for IE11*/
        justify-content: space-evenly;
        flex-direction: row-reverse;
    }

    /* fixing MS Edge bug */
    @supports (-ms-ime-align:auto) {
        #SSG1 .SSG_uwide .SSG_uwBlock {
            justify-content: space-around;
        }
    }

    #SSG1.notchright .SSG_uwide .SSG_uwBlock {
        flex-direction: row;
    }
    
    #SSG1 .SSG_uwide img {
        max-width: 77vw;
    }

    #SSG1 :not(#f0).SSG_uwide.notitle img {
        max-width: 99vw;
    }

    #SSG1 :not(#f0).SSG_uwide.notitle .SSG_imgWrap {
        margin: 0;
    }

    #SSG1 .SSG_uwide p.uwtitle {
        display: block;
        width: 20vw;
        padding: 1em 0.5em;
        left: 0;
        margin-bottom: 0;
        margin: 0;
        z-index: 2;
        max-height: 96vh;
        -ms-overflow-style: scrollbar;
        overflow-y: auto;
        overflow-x: hidden;
        position: relative;
    }

    #SSG1 figure.SSG_uwide.notitle:not(.arrow) p.uwtitle {
        display: none;
    }

    #SSG1 .SSG_uwide p.uwtitle .SSG_tipCall {
        padding: 0px 1em;
    }

    #SSG1 .SSG_uwide p.uwtitle .SSG_tipPlace {
        background: rgb(35, 35, 35);
        position: sticky;
        bottom: -2px;
        padding: 0.4em 0 0.6em 0;
        margin-top: 1em;
        display: block;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.08);        
    }

    #SSG1 .SSG_uwide p.uwtitle .SSG_tipCall:after {
        left: 0em;
    }

    #SSG1 .SSG_uwide p.title {        
        display: inline-block;
        border-radius: 0.1em;
    }

    #SSG1 .SSG_uwide p.title span,
    .SSG_uwide p.title .SSG_tipCall {
        display: none;
    }

    #SSG1 .SSG_uwide .SSG_imgWrap {
        width: auto;
    }

    #SSG1 .SSG_uwide.SSG_captionShift .SSG_imgWrap {
        margin: 0 0 0 6vw;
    }

    #SSG1 .SSG_uwide.SSG_captionShift p.uwtitle {
       margin: 0 2vw 0 0;
    }

    #SSG1.notchright .SSG_uwide.SSG_captionShift .SSG_imgWrap {
        margin: 0 6vw 0 0;
    }

    #SSG1.notchright .SSG_uwide.SSG_captionShift p.uwtitle {
        margin: 0 0 0 2vw;
    }

    #SSG1.notchright .SSG_uwide .SSG_imgWrap {
        margin: 0 1vw 0 0;
    }

    #SSG1 .SSG_uwide .SSG_imgWrap {
        margin: 0 0 0 1vw;
    }    

    #SSG1 .SSG_uwide .SSG_imgWrap img,
    #SSG1 .notitle .SSG_imgWrap img {
        max-height: 96.6vh;
    }

    #SSG1 .notitle .SSG_imgWrap img {
        max-width: calc(98vw - 16px);
    }

    #SSG1 #f0.notitle:not(.SSG_uwide) .SSG_imgWrap img {
        max-height: 92vh;
    }

    #SSG1 figure:not(.notitle):not(.SSG_uwide) img {
        margin-top: 3px;
    }

    #SSG1 .SSG_uwide .SSG_imgWrap::after {
        content: none;
    }

    /* offset of share icon from exif */
    #SSG1 figure.exif:not(.author) p.title .share {
        margin-left: 1em;
    }

    /* ************** p0 styles ************** */

    #SSG1 figure.notitle:not(.SSG_uwide) #p0 {
        margin: 0.5em 0 28vh 0;
        background: none;
    }

    #SSG1 .SSG_uwide #uwp0 {
        padding-bottom: 0em;
        position: relative;
    }

    #SSG1 figure.notitle.SSG_uwide #uwp0, 
    #SSG1 figure.notitle.SSG_uwide #uwp0 span {
        border: none;
        width: 40px;
        padding: 0;
        height: 40px;
        margin: 0;
        padding-top: 11px;
        overflow: hidden;
        background: rgb(38, 38, 38);
        border-radius: 50%;
    }

    #SSG1 figure.notitle.SSG_uwide #uwp0 {
        padding-top: 0;
    }

    #SSG1 figure.notitle.SSG_uwide #uwp0 {
        top: 36vh;
    } 

    #SSG1 .SSG_uwide #p0 .SSG_tipCall {
        display: none;
    }

    #SSG1 .SSG_uwide.notitle #uwp0 span {
        margin-bottom: 1.66em;
    }

    #SSG1 figure:not(.SSG_uwide):not(.notitle) #p0 {
        position: relative;
        display: inline-block;
        border-radius: 0.3em;
    }

    /* notitle has default position: inline-block | SSG_uwide has display:none  */
    #SSG1 figure:not(.SSG_uwide):not(.notitle) #p0 .SSG_tipCall {
        display: block;
        position: absolute;
        top: 50%;
        left: auto;
        right: 18px;
        padding: 0;
        width: 40px;
        height: 40px;        
        margin-top: -19px;
        animation-name: arrow-trans-down;
    }

    #SSG1 figure:not(.SSG_uwide).notitle #p0 .SSG_tipCall {
        background-size: 20px;
    }

    #SSG1 figure:not(.SSG_uwide):not(.notitle) #p0 {
        padding-right: 0;
    }

    #SSG1 figure:not(.notitle) #p0 > span {
        padding-right: 2.3em;
        width: calc(100% - 70px);
        margin-right: 71px;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }    
}

@media (orientation: landscape) and (min-width: 1222px) {

    /* extra padding for higher resolutions */
    #SSG1 .SSG_uwide p.uwtitle {
        padding: 1.5em 1em;
    }
}

@media (orientation: landscape) and (min-width: 1333px) {

    /* smaller title block for higher resolutions */
    #SSG1 .SSG_uwide p.uwtitle {
        width: 15vw;
    }

    #SSG1 .SSG_uwide img {
        max-width: 82vw;
    }

    #SSG1 .SSG_uwide .SSG_imgWrap {
        width: auto;
    }
}

@media (orientation: landscape) and (min-height: 1033px) {

    #SSG1 p.title,
    #SSG1 figure.notitle:not(.SSG_uwide) #p0 {
        margin-bottom: 30vh;
    }

    #SSG1 .SSG_uwide p.title,
    #SSG1 .notitle p.title {
        margin: 20vh 0;
    }

    #SSG1 p.title,
    #SSG1 #f0.notitle:not(.SSG_uwide) p.title {
        margin-top: 2.2vh;
    }

    #SSG1 figure:not(.notitle):not(.SSG_uwide) img {
        max-height: 91vh;
    }
}


@media (orientation: landscape) and (max-width: 933px) {

    #SSG1 figure.notitle:not(.SSG_uwide) #p0 {
        margin-bottom: 6em;
        padding: 0.2em;
        margin-top: 3px;
    }
}

@media (orientation: landscape) and (max-height: 800px) {
    #SSG1 p.title {
        padding-top: 0.3em;
        padding-bottom: 0.2em;
        line-height: 1.2em;
    }
}

/* ipad screen ratio */
@media (aspect-ratio: 4/3) {
    #SSG1 p.title {
        line-height: 1.4em;
    }
}


/****************************************************************
 * 6. Smartphones - all
 *
 * Media query for all smartphones
 */

@media (max-width: 933px) and (orientation: landscape),
(max-width: 550px) and (orientation: portrait) {

    #SSG1 img,
    #SSG1 #f0.notitle:not(.SSG_uwide) .SSG_imgWrap img {    
        max-height: 90vh;
    }

    #SSG1 figure:not(.notitle):not(.SSG_uwide) img {
        max-width: 100vw;
        margin-top: 2px;
    }

    #SSG1 {
        padding-top: 8em;
    }

    #SSG1 p.title {
        padding-left: 1.5em;
        padding-right: 1.5em;
        min-width: 33vw;
        margin-top: 0.3em;
    }

    #SSG1 p.uwtitle q {
        margin: 0.8em 0 0 0; 
    }

    #SSG1 figure:not(.title) p q:not(.exif-icon) {
        font-size: 96%;
    }

    #SSG1 figure#f0 {
        overflow: unset; /* bug fix */
    }

    #SSG1 span.SSG_logo {
        font-size: 0.7rem;
        line-height: 1rem;
    }

    #SSG1 .SSG_forlogo span.share .ico {
        width: 23px;
        height: 23px;        
        background-size: 17px;
        left: 6px;
    }    

    #SSG1 .SSG_uwBlock {
        margin-bottom: -0.1em;
    }

    #SSG1 p {
        line-height: 1.2em;
    }
    
    #SSG1 .golandscape {
        margin-bottom: 2.2em;        
        margin-top: -3.3vh;
    }

    #SSG1 p,
    #SSG_lastone p {
        padding-top: 0.3em;
        padding-bottom: 0.2em;
        letter-spacing: -0.01em;
    }

    #SSG1 p.notitle {
        padding: 0.13em;
        display: inline-block;
        border-radius: 0.1em;
    }

    #SSG1 figure.exif p.uwtitle .share-menu,
    #SSG1 figure.author p.uwtitle .share-menu {
        right: 42px;
        top: -66px;
    }

    #SSG1 .SSG_tipCall {
        background-size: 18px !important;
    }

    #SSG1 p,
    #SSG_lastone p,
    #SSG1::before,
    #SSG_tip span,
    #SSG1 .SSG_text {
        font-size: 100%;
    }

    #SSG_exit {
        top: -6px;
        right: -6px;
        opacity: 0.49;
        border-radius: 13px;        
        background-position: 11px 26px;
    }

    #SSG_exit.notchright {
        left: -6px;
        background-position: 26px 26px;
    }

    
    /* space for notch on mobiles
    #SSG1 .SSG_uwide .SSG_imgWrap {
        margin: 0 0 0 2vw;
    }

    #SSG1.notchright .SSG_uwide .SSG_imgWrap {
        margin: 0 2vw 0 0;
    }*/

    #SSG1 .SSG_uwide .SSG_imgWrap img,
    #SSG1 .notitle .SSG_imgWrap img {
        max-height: 97.8vh;
    }
    
    #SSG_bg {
        font-size: 24px;
    }
}

@media (max-width: 933px) and (orientation: landscape) {

    #SSG1 :not(.notitle) #p0 > span {
        padding-right: 4em;
    }

    #SSG1 figure.notitle:not(.SSG_uwide) #p0 {    
        margin-top: 0px;
    }

    #SSG1 figure:not(.notitle) #p0 > span {
        padding-right: 1.5em;
    }
    
    #SSG1 p.title {
        line-height: 1.1em;
    }
}



/****************************************************************
 * 7. Smartphones - small
 *
 * Media query for smaller smartphones (outdated models)
 */

@media (max-width: 660px) and (orientation: landscape),
(max-width: 350px) and (orientation: portrait) {

    #SSG_exit {
        border-radius: 11px;
        top: -18px;
        right: -19px;
        background-position: 8px 30px;
        background-size: 12px;
    }

    #SSG_exit.notchright {
        left: -19px;
        background-position: 30px 30px;
    }

    #SSG1::before,
    #SSG_tip span,
    #SSG1 .SSG_text {
        font-size: 90%;
    }

    #SSG1 p,
    #SSG_lastone p {
        font-size: 90%;
    }

    #SSG_first span {
        background-size: 9px;
    }

    #SSG1 img {
        max-height: 89vh;
    }
}

/****************************************************************
 * 8. Smartphones - portrait
 *
 * Media query for all smartphones in portrait mode
 */

@media (max-width: 550px) and (orientation: portrait) {

    #SSG1 p,
    #SSG_lastone p {
        line-height: 1.44em;
        margin-bottom: 4em;
    }
    
    #SSG1 .notitle p.title {
        margin: 5vh 0;
    }

    #SSG_lastone p {
        padding: 0.3em;
    }

    #SSG1 img {
        margin-top: 1px;        
    }
    
    #SSG_menu a.SSG_link {
        width: 38%;
    }

    #SSG_menu #SSGL {
        width: 23%;
    }

    #SSG1 p.title {
        padding: 1.1em 1.5em 0.8em 1.5em;
        margin-top: 0px;
    }

    #SSG1 figure.exif:not(.eicon) img {
        max-height: 81vh;
    }
}


/****************************************************************
 * 9. Iphone X
 *
 * secure safe area for Iphone X, media query for Iphone X models
 */

 @supports (-webkit-overflow-scrolling: touch) {
    
    @media (min-width: 760px) and (max-width: 933px) and (orientation: landscape) {        
        
        #SSG1 figure:not(.SSG_uwide):not(.notitle) p.title {
            padding-bottom: 1em;
        }

        #SSG1 figure.notitle:not(.SSG_uwide) #p0 {
            padding-bottom: 1.2em;
        }

    }

    @media (min-width: 660px) and (max-width: 933px) and (orientation: landscape), 
    (min-width: 350px) and (max-width: 480px) and (orientation: portrait)  {

        #SSG1,
        #SSG_tip {
            font-size: 19px;
        }

        #SSG1 {
            padding-top: 11em;
        }

        #SSG_exit {
            top: 0;
            right: 0;
            background-position: 12px 24px;
            background-size: 16px;
        }
        
        #SSG1 .SSG_tipCall {
            background-size: 20px !important;
        }

        #SSG1 span.share {
            transform: scale(1.16);
        }
        
        #SSG1 span.SSG_logo {
            transform: scale(1.16);
            transform-origin: bottom left;
        }

        html.ssg-active body {
            background-color: #161616;
        }
    }

    @media (min-width: 660px) and (max-width: 760px) and (orientation: landscape) {
        #SSG1,
        #SSG_tip {
            font-size: 18px;
        }
    }

 }


/****************************************************************
 * 10. Scrollbars & cursors
 *
 * media query for touch devices, no scrollbar for IE and FF
 */


html.ssg-active body, html.ssg-active {
    scroll-behavior: auto !important;
}

/* Firefox scrollbar */
html.ssg-active {
    scrollbar-color: #393939 #0F0F0F; 
    scrollbar-width: thin;
    overflow-x: hidden;
}

/* Webkit scrollbar */

html.ssg-active ::-webkit-scrollbar {
    background: #0F0F0F;
    width: 8px;
}

html.ssg-active ::-webkit-scrollbar:hover  {
    border-left: 2px dashed #555555;
}

html.ssg-active ::-webkit-scrollbar-thumb {
    -webkit-border-radius: 3px;
    background: rgb(26, 26, 26);
    background-size: 100%;
    margin-top: 6px;
    min-height: 81px;
}

html.ssg-active ::-webkit-scrollbar-thumb:hover {
    background: #555555 !important;
}

html.ssg-active ::-webkit-scrollbar-button {
    height: 20px;
    background: #0F0F0F;
    height: 2px;
}

/* scrollbars inside the gallery */

#SSG1 ::-webkit-scrollbar-thumb, #SSG_tip ::-webkit-scrollbar-thumb {
    background: #393939;
    height: auto;
}

/* IE11 scrollbar */
html.ssg-active {
    scrollbar-base-color: #393939;
    scrollbar-track-color: #0F0F0F;
    scrollbar-3dlight-color: #505050;
    scrollbar-highlight-color: #505050;
    /* prev #191919; */
    scrollbar-arrow-color: #191919;
    scrollbar-shadow-color: black;
}

/* 
No scrollbar for Edge in landscape mode, 'cause it can't paint it black
and it is realy irritating. Set !important to overwrite site's styles. 
 */
@supports (-ms-ime-align:auto) {
    @media (orientation: landscape) {
        html.ssg-active body,
        html.ssg-active {
            overflow: hidden !important;
        }
    }
}

/* cursors */

html.ssg-active.crosscur {
    cursor: url('data:image/gif;base64,R0lGODlhEwATAJECAAAAALW1tQAAAAAAACH5BAEAAAIALAAAAAATABMAAAInlH+AyxcNU4xvNmVZzQhz93UREJBmiZ7mGIKt4IVbGH/zV3M3lx8FADs='), url(https://www.flor.cz/js/SSG/cross-ssg.cur), text;
    cursor: -webkit-image-set(
        url('data:image/gif;base64,R0lGODlhEwATAJECAAAAALW1tQAAAAAAACH5BAEAAAIALAAAAAATABMAAAInlH+AyxcNU4xvNmVZzQhz93UREJBmiZ7mGIKt4IVbGH/zV3M3lx8FADs=') 1x,
        url('data:image/gif;base64,R0lGODlhJgAmAJECAAAAALW1tQAAAAAAACH5BAEAAAIALAAAAAAmACYAAAJklI95AOoPFYu0nhCshnj7NH1iKHpdaWboRq5V60ZnTM00BN9So3Nq77ABEbmhoEhhYJQBphOwhDalz2h1Gs1it1dkxNsD64RGAdkovqVp52EbuI7FXe9eXTdf5VH3W5+2VxJYAAA7') 2x
), auto;    
}

html.ssg-active .wait {
    cursor: wait;
}

@media (pointer: coarse) {

    #SSG1 .share:hover {
        overflow: hidden;
    }

    .share-overflow-coarse {
        overflow: visible !important;
    }

    html #SSG1::after {
        background: linear-gradient(to top, rgba(22, 22, 22, 0) 44%, rgba(22, 22, 22, 1) 100%);
    }

    #SSG1 ::-webkit-scrollbar {
        width: 3px;
    }

    /* loading icon for touch devices */
    html.ssg-active body.wait::after {
        content: "";
        background-image: url("data:image/gif;base64,R0lGODlhGADQALMPAKOjo3Nzc0dHR42Nja2trcTExBISEjY2Nra2tmZmZpmZmSUlJYCAgFZWVszMzAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFDQAPACwAAAAAGADQAAAEUvDJSau9OOvNu/9gKI5kaZ5oqq5s675wLM90bd94ru987//AoHBILBqPyKRyyWw6n9CodEqtWq/YrHbL7Xq/4LB4TC6bz+i0es1uu9/wuHyuiwAAIfkEBQ0ADwAsAQADABcALgAABPrwydkYIBirsKaXBlM4ZGk6xPE9B3K+ZuIZI2w7sqS8AOMzilqpYHgsTojOx7AzBR4BE6K4kgBMhMe1lKsaTw+Ciep9CB1hU3kiLqXd6zdJ7hDE2/Mm6bnGo6NDd2pHJgp9ag96JIZxM2cOjI0SAi+RkgmVkhOYJ5aNnFJkny9Tmg8Cj6WaB6micaxIrmuwoaa0QyqrrbaPAKYsjw0PAxlZZbcOBXRxDScHfo1+AdBxgCTEiGuUJRjZZdsk3XDaWH52a80lAIqeK34MoCRdKwPOZicEDWQGCX7JEvFuvDiXSCCMeQ8SPLJRQNgKfv6GAEDoZYGAixeVrIgAACH5BAUNAA8ALAoAMAAFACEAAAQN0MlJq7046827/2DIRQAh+QQFDQAPACwBAFAAFwAuAAAE9PDJ2RhwGKuwppcGU2QkSRzfcyBlSyaeMbq0A0tKCzA8o8yZguGxKCE6H0OOFHgESIhhSnLJEB5VzG1KLD0IJCn3AXR8SeMJOHNmp9sYuEPwXseXmGbabn4G62hFJAp7aA94Gm9JZQ6EihMCLY6PDwmSlBKWJZOPmlBiip4ZUZgCjKSUB6egb6pGrGmun5iyQSipq7SMAJgqjA0PAwTDV2O1DgVybw0lB3yKfAHPb34YwoZpkVbT2SbcY9oYwyR0acwZAIicU3wMojZjA81kJQQNYgYJfMiZNf7lh/y52JKJEY0CwFLk2xcEAMExCwRIlIgkRQQAIfkEBQ0ADwAsCgB9AAUAIQAABA3QyUmrvTjrzbv/YMhFACH5BAUoAA8ALAEAnQAXADAAAATC8Mn5lqBPGMzXKE4oikiwccyoqkWDKWs8MlMq3467rESyTIsEaFQwBFQBzgQ2ShBGACXlKQKoXFJJYoRQnbICXHZiEI8l5nN6vD5PVG4OPE6Z09Gj+zuvf9jvf3SBcYM4MXKGhYl8dYsiiI4OhDeTMpWHbm1SmkqckJhqlGc7omMNnhRMMgemK0MhCVkHr1VEUg20IltQP0CqDrQPuQ4IBARdKgKqGZGxYSFaiQWxEkMTB1YyBL1axhhBDMYECgHcHBEAOw==");
        position: fixed;
        background-color: #001418;
        border-radius: 5px;
        top: auto;
        bottom: 7vh;
        right: 13px;
        width: 22px;
        height: 88px;
		z-index: 9999998;
        filter: opacity(0.81);
        background-repeat: no-repeat;
        background-size: 8px;
        background-position: center;
    }

    #SSG_tip div.touch {
        display: block;
        padding-left: 55px;
        background: no-repeat url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAABVCAMAAAArMteoAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhQTFRF/f39RklLr6+v3d3dfd3+Z6rAcHV3Nzc3Ry55RQAAAAh0Uk5T/////////wDeg71ZAAACLklEQVR42tSW22LlIAhFASv5/z+uF4LGG9h5Gl7anLjCBgWEZzBEjskY8TkaDFj8UYvoBnvMQnuQfyZjBzi6M5w2sHE5Oe3BAl+dKZ/FP8ez2hdEWdYpW/y0AOMiIok6nkBcfhwPLqF3OK3AvUs4L4hblz24yB8bYP8emUIg4vMXBYxNKQaoRji8OYPKCekGOROc5Ka/fAOGuv55Ekk2qMnJSmuOkutgJwcVTMtnEO0DMILWAZBQcAQxGkeuutyBaJXVBoxmIW9ANFvHGmS7WS3B6GiPK9DRHtPaGWTnCJhA/9AZTs7/AgJlY7wHxfivIPBtjJwtvP98NdvJQXUc+A4MS80+jyW9WTNm83usPxXXIVkZDxdgbrWtyfukNjA5LHnCLYi1kw8e001NxsMWfHTfWEZeAXU87MHZFMxh/BuIKusI4lspAnLZH7lQncCPLtAyKAP4AszbFKg4xSuQylKkSl6A7+wuivkPYCXpSirJCamF5wVZz7CUrDurQV1qivz7yB3pBp/PYi0FB9iL9ZmAH7Eu0+rwRfapr1rIpQNegEFbx53Y0r5AnYerEPVKduOynFJoD+DMD5a6gO6JLkLsrmRusbXHQ6/ct5m1S8JHOrmV9kPHKVamEXw1OMRKy4Ahz+TbjGGwesSyyIJRhiX2bW4wZYxcSsdRztbJ08EOc6kdxWobhsUX2aF0Ao38sL6F1TcJd9YGBizDPxnvwO4CtTTcgkjhYG/mfgUYAIPOZqKpW0DKAAAAAElFTkSuQmCC');
        background-size: 28px;
        background-position-y: 10px;                
    }

    #SSG_tip div.classic {
        display: none;
    }

	@media (max-width: 933px) and (orientation: landscape),
            (max-width: 550px) and (orientation: portrait) {
	    html.ssg-active body.wait::after {
			width: 14px;
	        height: 80px;
	        filter: opacity(0.66);
		}	
	}    

}

@media (pointer: coarse) and  (orientation: portrait) {
        #SSG_tip div.touch {
            padding-top: 55px;
            padding-left: 3px;
            background-position-y: 0px;
            background-position-x: center;
        }

        #SSG_tip span {
            padding: 2em 1em;
        }

        html.ssg-active body.wait::after {
            position: fixed;
            right: 13px;
            top: 22vh;
        }
    }



/****************************************************************
 * 11. Additional color themes
 *
 * ssgdim, ssglight, ssgblack, ssgdark (default)
 */

 
/***----------- dim grey -----------**/

.ssgdim #SSG1 {
    background: rgb(43, 43, 43);
}

@media (pointer: coarse) {
    .ssgdim #SSG1::after {
        background: linear-gradient(to top, rgba(43, 43, 43,0) 44%, rgba(43, 43, 43,1) 100%);
    }
}

.ssgdim #SSG_bg {
    background: rgb(43, 43, 43);
    color: #888888;
}

.ssgdim #SSG1 img {
    border-color: #161616;
    box-shadow: 0 0 6px 0px rgb(24, 24, 24) !important;
}

.ssgdim #SSG1 .SSG_uwide p.uwtitle>span, .ssgdim #SSG1 p, .ssgdim  #SSG_lastone p {
    background: rgb(31, 31, 31);	
}

@media (orientation: landscape) {
    .ssgdim #SSG1 figure.notitle.SSG_uwide #uwp0, 
    .ssgdim #SSG1 figure.notitle.SSG_uwide #uwp0 span { 
        background: rgb(31, 31, 31) }
}

    /* scrollbar color */

html.ssg-active.ssgdim {
    scrollbar-color: rgb(66, 66, 66) rgb(33, 33, 33);
}

html.ssg-active.ssgdim {
    scrollbar-base-color: rgb(66, 66, 66);
    scrollbar-track-color: rgb(33, 33, 33);
}

html.ssg-active.ssgdim ::-webkit-scrollbar, html.ssg-active.ssgdim ::-webkit-scrollbar-button {
    background: rgb(33, 33, 33);
}

html.ssg-active.ssgdim ::-webkit-scrollbar-thumb {
    background: rgb(41, 41, 41);
}

html.ssg-active.ssgdim ::-webkit-scrollbar:hover  {
    border-left: 2px dashed #888888;
}

html.ssg-active.ssgdim ::-webkit-scrollbar-thumb:hover {
    background: #696969 !important;
}


/***----------- Black -----------**/

.ssgblack #SSG1 {
    background: rgb(0, 0, 0);
}

@media (pointer: coarse) {
    .ssgblack #SSG1::after {
        background: linear-gradient(to top, rgba(0, 0, 0,0) 44%, rgba(0, 0, 0,1) 100%);
    }
}

.ssgblack #SSG_bg {
    background: rgb(0, 0, 0);
    color: #585858;
}

.ssgblack #SSG_bg b {
    text-shadow: 0px 0px 23px white;
}

.ssgblack #SSG1 img {
    border-color: #161616;
    box-shadow: none !important;
}

.ssgblack #SSG1 .SSG_uwide p.uwtitle>span, .ssgblack #SSG1 p, .ssgblack  #SSG_lastone p {
    background: rgb(20, 20, 20);
}

    /* scrollbar color */

html.ssg-active.ssgblack {
    scrollbar-color: rgb(39, 39, 39) black; 
}    

html.ssg-active.ssgblack {
    scrollbar-base-color: rgb(39, 39, 39);
    scrollbar-track-color: black;
}

html.ssg-active.ssgblack ::-webkit-scrollbar, html.ssg-active.ssgblack ::-webkit-scrollbar-button {
    background: black;
}

html.ssg-active.ssgblack ::-webkit-scrollbar-thumb {
    background: rgb(15, 15, 15);
}



/***----------- light grey -----------**/

.ssglight #SSG1 {
    background: rgb(241, 241, 241);
}

@media (pointer: coarse) {
    .ssglight #SSG1::after {
        background: linear-gradient(to top, rgba(241, 241, 241,0) 44%, rgba(241, 241, 241,1) 100%);
    }
}

.ssglight #SSG_bg {
    background: rgb(241, 241, 241);
    color: #a5a5a5;
}

.ssglight #SSG_bg b {
    text-shadow: 0px 0px 8px white, 0px 0px 13px white, 0px 0px 19px white;
}

.ssglight #SSG1 img {
    border-color: #c5c5c5;
    box-shadow: none !important;
}

@media (max-width: 550px) and (orientation: portrait) {
    .ssglight #SSG1 img {
        box-shadow: 0 0 33px 0 white !important;
    }
}

.ssglight #SSG1 .SSG_uwide p.uwtitle>span, .ssglight #SSG1 p, .ssglight  #SSG_lastone p {
    background: rgb(255, 255, 255);	
}

.ssglight #SSG1 .SSG_uwide p.uwtitle .SSG_tipPlace {
    border-top: 1px solid rgb(233, 233, 233);
}

@media (orientation: landscape) {
    .ssglight #SSG1 figure:not(.notitle) #p0 > span {
        border-right: 1px solid rgb(202, 202, 202);
    }
}

.ssglight #SSG1 p, .ssglight #SSG1 p.title span, .ssglight #SSG1 .golandscape {
    color:#222222;
    text-shadow: 1px 1px 3px white;
}

.ssglight #SSG_menu a.SSG_link {
    color: #dc0600;
    text-shadow: none;
}

.ssglight #SSG_tip span, .ssglight #SSG_tip textarea {
    background: #f1f1f1;
    color:#222222;
}
.ssglight #SSG_tip textarea {
    border: 1px dashed #adadad;
    background: white;
}

.ssglight #SSG_tip #SSG_tipClose {
    background: white;
}

.ssglight #SSG_tip strong, .ssglight #SSG_tip a {
    color: #008bb6;    
}

.ssglight #SSG_tip button {
    filter: invert(1) hue-rotate(180deg) saturate(0);
}

.ssglight #SSG_tip hr {
    border-bottom: 3px solid white;
}

.ssglight #SSG_tip .exif-table tr:nth-child(odd) {
    background: linear-gradient(90deg, transparent, white, white, transparent);
}
.ssglight #SSG_tip .exif-table td {
    color:#222222;
}

.ssglight #SSG_tip .exif-table tr td:nth-child(odd) {
    color: rgb(56, 56, 56);
}

.ssglight #SSG1 p q.exif-icon {
    color: #1d6577;
}

.ssglight #SSG1 .share .ico {
    opacity: 0.66 !important;
}

.ssglight #SSG1 figure .serror .SSG_forlogo {
    filter: brightness(1.5) contrast(0.9);
}

.ssglight #SSG_exit, .ssglight #SSG1 .share .ico, .ssglight .SSG_tipCall {
    filter: invert() contrast(1.1);
}

.ssglight #SSG1 .share-menu {
    filter: brightness(1.2) contrast(0.9);
}

@media (orientation: landscape) {
    .ssglight #SSG1 figure.notitle.SSG_uwide #uwp0, 
    .ssglight #SSG1 figure.notitle.SSG_uwide #uwp0 span { 
        background: white; }
}

    /* scrollbar color */

html.ssg-active.ssglight {
    scrollbar-color: rgb(188, 188, 188) #F5F5F5; 
}    

html.ssg-active.ssglight {
    scrollbar-base-color: white;
    scrollbar-track-color:#F5F5F5;
}


html.ssg-active.ssglight ::-webkit-scrollbar, html.ssg-active.ssglight ::-webkit-scrollbar-button {
    background:#F5F5F5;
}

html.ssg-active.ssglight ::-webkit-scrollbar-thumb {
    background: rgb(222, 222, 222);
}

html.ssg-active.ssglight ::-webkit-scrollbar:hover  {
    border-left: 2px dashed #818181;
}

html.ssg-active.ssglight ::-webkit-scrollbar-thumb:hover {
    background: #8d8d8d !important;
}


