body {
    background-color: #181818;
}

.fotky_panel hr {
    margin: 0px 0px 3px 0px;
}

.fotky_panel p {
    margin-bottom: 7px;
    margin-top: 3px;
}


.fotky_slide {
    z-index: 99;
    position: absolute;
    top:0;
    width: calc(100vw);
    color: white;
    /*mix-blend-mode: difference;*/
    /*font-weight: bold;*/
    min-height: 92px;
}
.fotky_slide .fotky_slide_left {
    padding: 10px;
    display: inline-block;
    position: absolute;
}
.fotky_toolbar {
    display: inline-block;
    right: 7px;
    position: absolute;
}
.fotky_slide_years {
    display: block;
}
.fotky_slide_years div {
    width: 33%;
    text-align: center;
    float: left;
    vertical-align: text-top;
    /*padding-top: 39px;*/
    /*height: 55px;*/
}

.fotky_slide_years div:nth-child(2n-1) {
    background-color: rgba(0,0,0,0.15);
}

.fotky_slide_years div.act a {
    color: white;
}
.fotky_slide_years div a {
    color: white;
    /*mix-blend-mode: difference;*/
    text-decoration: none;
    /*padding-top: 3px;*/
    padding-bottom: 3px;
    width: calc(100%);
    display: block;
    padding-top: 37px;
    height: 52px;
}
.fotky_btn svg {
    color: #ccc;
}
.fotky_btn path {
    fill: white;
}
.fotky_btn {
    /*    background: rgba(30,30,30,.6);
        border: 0;
        border-radius: 0;
        box-shadow: none;
        cursor: pointer;
        display: inline-block;
        height: 44px;
        margin: 0;
        padding: 10px;
        position: relative;
        transition: color .2s;
        vertical-align: top;
        visibility: inherit;
        width: 44px;*/
    background: rgba(30,30,30,.6);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    display: inline-block;
    height: 30px;
    margin: 0;
    padding: 3px 1px 2px 2px;
    position: relative;
    transition: color .2s;
    vertical-align: top;
    visibility: inherit;
    width: 30px;
}

.fotky_main {
    text-align: center;
    position: relative;
    /*width: calc(70% - 16px);*/
    width: calc(70%);
    height: calc(100vh);
    overflow: hidden;
}

.fotky_main img.m {
    max-height: 100%;
    max-width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}

.fotky_main div.m {
    max-height: 100%;
    max-width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.fotky_main img.l {
    top: 50%;
    left: 2%;
    transform: translate(-50%, -50%);
    position: absolute;
    transform-origin: 0 50%;
}

.fotky_main img.l, .fotky_main img.r {
    filter: brightness(0.4);
    z-index: -1;
    max-width: 30%;
    max-height: 30%;
}

.fotky_main img.r {
    top: 50%;
    left: 98%;
    transform: translate(-50%, -50%);
    position: absolute;
    transform-origin: 0 50%;

}

.fotky_panel {
    height: calc(100vh - 16px);
    float: right;
    width: calc(30% - 16px);
    border-left: 1px solid #e5e5e5;
    color: gray;
    top: 0px;
    position: absolute;
    right: 0;
    text-align: center;
    padding: 8px;
    line-height: 1.5em;
    overflow: hidden;
}

.fotky_panel div {
    position: absolute;
    top: 50%;
    width: calc(100% - 8px);
    transform: translate(0%, -50%);
    max-height: calc(100vh);
}

.fotky_panel h1 {
    font-size: 2em;
    color: #e5e5e5;
    display: inline-block;
    margin-bottom: 0.75em;
    line-height: 1em;
}

.fotky_panel a {
    color: white;
    text-decoration: none;
}

.fotky_panel a:hover {
    text-decoration: underline;
}

.fotky_left {
    height: 100%;
    width: 50%;
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(0%, -50%);
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.fotky_left:hover {
    background-image: url(/images/arrows/left.png);
}

.fotky_right {
    height: 100%;
    width: 50%;
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(100%, -50%);
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.fotky_right:hover {
    background-image: url(/images/arrows/right.png);
}

.fotky_panel .fotky_panel_desc {
    display: block;
    padding-top: 10px;
    color: gray;
}

.fotky_panel a.actor_main {
    text-decoration: underline;
}

@media only screen and (max-width: 250px) {
    .y7, .y8, .y9, .y10, .y11 {
        display: none;
    }
}

@media only screen and (max-width: 350px) {
    .y12 {
        display: none;
    }
}

@media only screen and (max-width: 350px) {
    .y12 {
        display: none;
    }
}

@media only screen and (max-width: 400px) {
    .y13 {
        display: none;
    }
}

@media only screen and (max-width: 450px) {
    .y14 {
        display: none;
    }
}

@media only screen and (max-width: 500px) {
    .y15 {
        display: none;
    }
}

@media only screen and (max-width: 550px) {
    .y16 {
        display: none;
    }
}

@media only screen and (max-width: 600px) {
    .y17 {
        display: none;
    }
}

@media only screen and (max-width: 650px) {
    .y18 {
        display: none;
    }
}

@media only screen and (max-width: 700px) {
    .y19 {
        display: none;
    }
}

@media only screen and (max-width: 750px) {
    .y20 {
        display: none;
    }
}

@media only screen and (max-width: 800px) {
    .y21 {
        display: none;
    }
}

@media only screen and (max-width: 850px) {
    .y22, .y23, .y24, .y25, .y26, .y27, .y28, .y29, .y30,
    .y31, .y32, .y33, .y34, .y35, .y36, .y37, .y38
    {
        display: none;
    }
}

@media only screen and (max-width: 1350px) {
    .y39, .y40, .y41
    {
        display: none;
    }
}

@media only screen and (max-width: 900px), (orientation: portrait) {
    .fotky_main {
        height: calc(100vh);
        width: calc(100vw);
    }

    .fotky_panel {
        position: absolute;
        top:0;
        width: calc(100vw - 16px);
        height: calc(30vh - 16px);
        top: calc(70vh);
        overflow-y: auto;
        border-left: none;
        /*border-top: 1px solid #e5e5e5;*/
        background-color: black;
        opacity: 0.7;
        left: 0px;
    }

    .fotky_panel h1 {
        display: none;
    }

    .fotky_panel h1.actor_h1 {
        display: block;
    }

    .fotky_panel .fotky_panel_desc {
        display: none
    }

    .fotky_panel div {
        position: relative;
        top: 0%;
        transform: translate(0%, 0%);
    }
}