/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.e-nekrologi {
    margin-top: 40px;
}

#nekrologi-back,
#headlineactive {
    display: none;
}

#content {
    margin: 20px 0;
}

.player {
    display: none;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.flex-item {
    flex: 50%;
    padding: 20px 25px;
}

embed,
iframe,
object,
video {
    max-width: 100% !important;
    border: 4px double #280400;
}

/* Responsive layout - makes a one column layout instead of a two-column layout */
@media (max-width: 800px) {
    .flex-item {
        flex: 100%;
        padding: 10px 0px;
    }

    #nocamera,
    #nocamera-no-password {
        margin-top: 20px;
        width: 93% !important;
    }
}

#nocamera-no-password {
    display: none;
}

#nocamera,
#nocamera-no-password {
    grid-template-columns: 100%;
    max-width: 800px;
    grid-template-rows: 48px auto 60px;
    margin: auto;
    width: 50%;
    border: 2px solid #121212;

}

/* other styles */
#nocamera,
#nocamera-no-password {
    padding: 20px;
    color: #222;
    box-sizing: border-box;
}

#nocamera h3,
#nocamera-no-password h3 {
    font-family: "PT Serif", sans-serif;
    font-size: 28px;
    font-weight: bold;
}

#nocamera p,
#nocamera-no-password p {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.transmisje-online-footer,
#passinfo {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

#nekrolog-back {
    display: inline;
}

#nekrologi-back {
    display: none;
}

.player {
    display: none;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.flex-item {
    flex: 50%;
    padding: 20px 25px;
}

embed,
iframe,
object,
video {
    max-width: 100% !important;
    border: 4px double #280400;
}

#HIDDENDIV {
    display: none;
}

.noshow {
    display: none !important;
}

.showform {
    display: block;
}

#player-container.show> :nth-child(1),
#player-container.show> :nth-child(2),
#player-container.show> :nth-child(3),
#player-container.show> :nth-child(4),
#nocamera.show, #nocamera-no-password.show {
    display: block;
}

#nocamera {
    display: none;
}

#respond input[type=text],
#respond textarea,
.eltdf-style-form textarea,
.post-password-form input[type=password],
.wpcf7-form-control.wpcf7-date,
.wpcf7-form-control.wpcf7-number,
.wpcf7-form-control.wpcf7-quiz,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-text,
input[type=text],
input[type=email],
input[type=password] {
   /* width: 300px; */
}

/* age gate */

#age-verification {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000000ef;
    -webkit-transition: 500ms;
    transition: 500ms;
    z-index: 90000001;

    display: none;
}

.age-verification-img {
    padding: 30px;
    max-width: 260px;
}

.age-verification-main {
    background-color: white;
    color: black;
    font-size: 13pt;
    text-align: center;
    padding: 25px;
    position: relative;
    top: 10px;
    width: 500px;
    max-width: 80%;
    margin: 0 auto;
    -webkit-box-shadow: 1px 2px 9px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 1px 2px 9px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 1px 2px 9px 0px rgba(0, 0, 0, 0.3);
}

@media only screen and (min-height: 400px) {
    .age-verification-main {
        top: 20%;
    }

    .age-title {
        font-size: 18pt;
        margin-bottom: 0.5em;
        line-height: normal;
    }
}

.age-title,
.age-main-text {
    display: block;
    margin-bottom: 1em;
}

.age-title {
    font-size: 24pt;
    margin-bottom: 0.5em;
    line-height: normal;
}

.age-button:hover {
    background-color: rgb(39, 39, 39) !important;
}

.age-button {
    background-color: #121212;
    border: none;
    font-size: 10pt;
    color: #fff;
    display: inline-block;
    width: 150px;
    padding: 10px;
    margin: 5px 10px;
    -webkit-box-shadow: 1px 2px 9px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 1px 2px 9px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 1px 2px 9px 0px rgba(0, 0, 0, 0.3);
}

.age-credits {
    font-weight: 600;
    text-decoration: underline;
}

/* slider transmisje */

.image-card-component {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.1);
    border: #000 solid 2px;
    transition: all 0.5s ease;
}

.image-card-component .content {
    display: flex;
    align-items: center;
    padding: 30px;
    flex: 1;
    box-sizing: border-box;
}

.image-card-component .content .cta {
    margin-left: auto;
    margin-right: 20px;
    min-width: 200px;
    background: #000;
    padding: 10px;
    text-align: center;
    border-radius: 3px;
    color: #FFF;
    text-decoration: none;
    transition: all 0.5s ease;
}

.image-card-component .content .cta:hover {
    background: #000;
    box-shadow: 0px 0px 6px 0px #000;
}

.image-card-component .content .content-text {
    margin-right: 60px;
}

.image-card-component .content h4 {
    margin: 0 0 15px;
    font-size: 30px;
    line-height: 34px;
    font-weight: 700;
    color: #111;
    transition: all 0.5s ease;
}

.image-card-component .content p {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: rgba(17, 17, 17, 0.84);
    transition: all 0.5s ease;
}

.transmisja-info {
    margin: 45px 0;
}

@media screen and (max-width: 991px) {
    .image-card-component {
        flex-direction: column;
        margin: 0 16px;
    }

    .image-card-component .content {
        flex-direction: column;
    }

    .image-card-component .content .content-text {
        margin: auto;
        text-align: center;
    }

    .image-card-component .content .cta {
        margin: 25px auto 0;
        width: 60%;
    }

    .image-card-component .content h4 {
        margin-bottom: 20px;
        font-size: 24px;
    }

    #passinfo {
        padding: 0 20px;
    }
}

.splide__arrow {
    display: none !important;
}

.splide__pagination__page.is-active {
    background: #000;
}

.iv-embed {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto;
    padding: 0 !important;
    border: 0;
    box-sizing: border-box;
}

/* Desktop Full HD – proporcje bez dodatkowych px (UI Ivideon wliczone w 56.4%) */
.iv-v {
    position: relative;
    width: 100%;
    height: 0 !important;
    padding: 0 !important;
    padding-bottom: 56.4% !important;
    display: block !important;
    margin: 0;
    border: 0;
    background: #000;
    overflow: hidden;
    box-sizing: border-box;
}

div.iv-v iframe,
div.iv-v iframe.iv-i {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    display: block;
    margin: 0;
    padding: 0;
    border: 0 !important;
}

.iv-b {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
}

.content-section-transmisje .flex-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
    box-sizing: border-box;
}

/* Mobile – pełna szerokość kontenera + padding z UI playera */
@media (max-width: 768px) {
    .iv-embed {
        width: 100%;
        max-width: 100%;
    }

    .iv-v {
        padding-bottom: calc(56.25% + 46px) !important;
    }
}

input[type="password"] {
    border: 1px solid #cab172 !important;
    background-color: #edecea !important;
    width: 300px !important;
    color: #000;
}

[data-tooltip]:before {
    position: absolute;
    bottom: 150%;
    left: 0% !important;
    margin-bottom: 5px;
    margin-left: 0px !important;
    padding: 7px;
    width: auto;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-color: #000;
    background-color: hsla(0, 0%, 20%, 0.9);
    color: #fff;
    content: attr(data-tooltip);
    text-align: center;
    font-size: 12px;
}

/* Add this attribute to the element that needs a tooltip */
[data-tooltip] {
    position: relative;
    z-index: 2;
    cursor: pointer;
}

/* Hide the tooltip content by default */
[data-tooltip]:before,
[data-tooltip]:after {
    visibility: hidden;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
    opacity: 0;
    pointer-events: none;
}

/* Position tooltip above the element */
[data-tooltip]:before {
    position: absolute;
    bottom: 150%;
    left: -30%;
    margin-bottom: 5px;
    margin-left: -80px;
    padding: 7px;
    width: auto;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-color: #000;
    background-color: hsla(0, 0%, 20%, 0.9);
    color: #fff;
    content: attr(data-tooltip);
    text-align: center;
    font-size: 12px;
}

/* Triangle hack to make tooltip look like a speech bubble */
[data-tooltip]:after {
    position: absolute;
    bottom: 150%;
    left: 50%;
    margin-left: -5px;
    width: 0;
    border-top: 5px solid #000;
    border-top: 5px solid hsla(0, 0%, 20%, 0.9);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: " ";
    font-size: 0;
    line-height: 0;
}

/* Show tooltip content on hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
    visibility: visible;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
    opacity: 1;
}

.transmisje-button {
    margin-top: 15px;
}

.splide__arrow--prev {
    left: -1em !important;
}

svg:not(:root),
.sc_skills_arc {
    overflow: visible;
    margin: 0em !important;
}

.splide__arrow--next {
    right: -1em !important;
}

div.content-text h4 {
    font-family: 'Cinzel' !important;
}

.splide__arrow {
    display: none !important;
}

.content-section-transmisje h1 {
    font-size: 5.9vw;
}

.content-section-transmisje h2 {
    font-size: 4vh;
    line-height: 1.2;
}

content-section-transmisje h3 {
    font-size: 4vh;
}

.content-section-transmisje .h4 {
    font-size: 3.4vh
}

.content-section-transmisje p {
    font-size: 2vmin;
}

.h4-title-kamera {
    padding: 1rem;
    text-transform: uppercase;
}

.splide__pagination__page.is-active {
    background: #333 !important;
}

.password--lock {
    width: 20px;
    height: 20px;
    fill: #111;
    transition: all 0.5s;
    padding-right: 4px !important;
}

.password--info {
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

@media (max-width: 800px) {
    .flex-item {
        flex: 100%;
        padding: 10px 0px;
    }

    .flex-container {
        display: flex;
        flex-wrap: wrap;
        margin-top: 10px;
    }

    main {
        margin: 0;
        text-align: center;
    }

    .h4-title-kamera {
        font-size: 2.4vh;
    }

    .content-section-transmisje h1 {
        font-size: 10vh;
    }

    .content-section-transmisje h2 {
        font-size: 3vh;
    }

    content-section-transmisje h3 {
        font-size: 4vh;
    }

    .content-section-transmisje .h4 {
        font-size: 3.4vh
    }

    .content-section-transmisje p {
        font-size: 2vmin;
    }

    .content-section-transmisje {
        padding: 40px 0;
        text-align: center;
    }

    button-transmisja {
        display: inline;
    }
}