html,
body {
    min-height: 100%;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'PoltawskiNowy-Medium';
}

p {
    font-family: 'Open-Sans';
}
body {
    overflow-x: hidden;
    background: url("/static/images/Hero1-1920w.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

header {
    background-color: #fff;
    padding: 20px;
}

.footer {
    background: #376642;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 13px 5px 13px 5px;
    text-align: center;

}

.help {
    width: 250px;
    background-color: #ffd76b;
    color: #000;
    padding: 5px;
}

.help:hover {
    background-color: #fff;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 10px;
    max-width: 700px;
    width: 80%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.shake {
    animation: shake 3s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-10px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(10px);
    }
}



.main-container {
    height: 100%;
    width: 1200px;
}

.main {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    justify-content: center;
}

.logo img {
    width: 200px;
}

div#uploaded_media {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 50px 0px 50px 0px;
    flex-wrap: wrap;
}

video {
    width: 250px;
    height: 169px;
    transform: translate(0px, -15px);
}

div#upload_widget {
    background-color: #ffd76b;
    color: #212121;
}

h1 {
    font-size: 25px;
    font-weight: 500;
    font-family: 'PoltawskiNowy-Medium';
    color: #376642;
}

label {
    width: 100%;
    display: none;
}

.two-column {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}

#preloader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(255 215 107);
    border: 2px solid #000;
    color: #000;
    padding: 20px;
    border-radius: 5px;
    display: none;
}

#successModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #376642;
    border: 2ps solid #000;
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    display: none;
}

#deleteModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #376642;
    border: 2px solid #000;
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    display: none;
}

#submitModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #376642;
    border: 2px solid #000;
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    display: none;
}

.image-container {
    position: relative;
    display: inline-block;
    width: 250px;
    padding: 5px;
    border: 2px solid #376642;
    border-radius: 5px;
}

.disabled {
    filter: grayscale(100%);
    cursor: not-allowed !important;
}

button:disabled {
    filter: grayscale(100%);
    cursor: not-allowed !important;
}

.tooltip {
    display: none;
    position: absolute;
    background-color: #f00;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -90px;
}

div#startTooltip {
    margin-top: 0;
    transform: translateX(-119%);
}

#nextMedia[disabled]+.tooltip {
    display: none;
}

#startButton[disabled]+.tooltip {
    display: none;
}

#submitButton[disabled]+.tooltip {
    display: none;
}

textarea:disabled {
    cursor: not-allowed;
}

/* Define styles for the disabled button */
.next.action-button:disabled {
    filter: grayscale(100%);
    /* Apply grayscale filter */
    cursor: not-allowed !important;
    /* Show disabled pointer */
}

button#renameButton {
    width: 100%;
    padding: 10px;
    background-color: #ffd76b;
    color: #111 !important;
    margin-bottom: 10px;
}

button#submitAllButton {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #ffd76b;
    transform: translate(0px, 0px);
    color: #111 !important;
}

.delete-button {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background-color: red;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

button.delete-button::after {
    content: 'X';
    display: flex;
    justify-content: center;
    margin-top: -7px;
}

button.delete-button:hover {
    scale: 1.4;
}

.two-column .content {
    flex: 1;
    margin-right: 20px;
}

.two-column img {
    max-width: 100%;
    height: auto;
}

#msform {
    width: 100%;
    margin: 50px auto;
    text-align: center;
    display: flex;
    position: relative;
    justify-content: center;
}

div#uploaded_media img {
    width: 250px;
    height: 169px;
    object-fit: contain;
}

.hero-image {
    width: 400px;
    height: auto;
}

button.add-description {
    width: 100%;
    padding: 5px;
    margin-top: -10px;
    background-color: #ffd76b;
    /* Solo Add Description Button, Hidden */
    display: none;
}

button.add-description:hover {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .5);
    background: #376642;
    color: #fff;
}

fieldset {
    min-height: 400px;
}

.first-fieldset:before {
    content: 'Step 1 of 3';
    display: block;
    position: absolute;
    background: #376642;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    left: 10px;
    top: 10px;
}

.second-fieldset:before {
    content: 'Step 2 of 3';
    display: block;
    position: absolute;
    background: #376642;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    left: 10px;
    top: 10px;
}

.third-fieldset:before {
    content: 'Step 3 of 3';
    display: block;
    position: absolute;
    background: #376642;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    left: 10px;
    top: 10px;
}

#msform fieldset {
    background: #fff;
    border: 0 none;
    border-radius: 10px;
    box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
    width: 80%;
    margin: 0 10%;
    position: relative;
    margin-bottom: 40px;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
    display: none;
    font-family: 'Open Sans', sans-serif;

}

#msform input,
#msform textarea {
    padding: 15px;
    border-radius: 0px;
    /*margin-bottom: 10px;*/
    width: 100%;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    /* color: #000; */
    font-size: 13px;
    background: #fff;
    border-bottom: 1px solid;
}

input#startButton {
    color: #111 !important;
}

/*buttons*/
#msform .action-button {
    width: 100%;
    background: #ffd76b;
    font-weight: bold;
    /* color: black; */
    border: 0 none;
    cursor: pointer;
    padding: 10px 20px;
}

#msform .previous {
    /* width: 100px; */
    background: #545153;
    font-weight: bold;
    color: white;
    border: 0 none;
    /* border-radius: 20px; */
    cursor: pointer;
    padding: 10px 20px;
    /* margin: 10px 5px; */
}

#msform .action-button:hover,
#msform .action-button:focus {
    background: #376642;
    color: #fff;
}

#msform .previous:hover,
#msform .previous:focus {
    background: #353334;
}

/*headings*/
.h2 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    font-size: 30px;
    color: #2C3E50;
    margin: 10px 0;
}

.h3 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.h1 {
    margin: 40px 0;
    font-weight: 800;
    font-size: 48px;
    font-family: 'Open Sans', sans-serif;
    color: #2FC877;
}

input,
textarea,
button {

    width: 100%;
    padding: 1.5em 1em .5em;
    border: none;
    font-size: 1em;
    border-radius: 2px;
    background: #f5f5f5;
    resize: vertical;
}

input {
    margin-bottom: .5em;
}

button {
    padding: 1em;
    width: 50%;
    opacity: 1;
    color: lighten(50%);
    text-shadow: 0px 1px 0px darken(50%);
}

button {
    cursor: pointer;
}

button:hover {
    background: red;
}

.spacer {
    display: block;
    margin: 50px;
    height: 50px;
    position: absolute;
}

.flipswitch {
    position: relative;
    background: white;
    width: 120px;
    height: 40px;
    -webkit-appearance: initial;
    border-radius: 3px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
    font-size: 14px;
    font-family: Trebuchet, Arial, sans-serif;
    font-weight: bold;
    cursor: pointer;
    border: 1px solid #ddd;
}

.flipswitch:after {
    position: absolute;
    top: 5%;
    display: block;
    line-height: 32px;
    width: 45%;
    height: 90%;
    background: #fff;
    box-sizing: border-box;
    text-align: center;
    transition: all 0.3s ease-in 0s;
    color: black;
    border: #888 1px solid;
    border-radius: 3px;
}

.flipswitch:checked:after {
    left: 53%;
    content: "YES";
    background: #376642;
    color: #fff;
}

.flipswitch:after {
    left: 2%;
    content: "NO";
    background: red;
    color: #fff;
}

.notice-files {
    background: #376642;
    color: #fff;
    font-size: 13px;
    line-height: 5px;
    margin-bottom: 20px;
    padding-right: 10px;
    padding-left: 10px;
}

.image-number-main {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 25px;
    height: 25px;
    border: none;
    /* border-radius: 5px; */
    background-color: #376642 !important;
    display: block;
}

button.image-number-button {
    background: none;
    color: #fff;
    transform: translate(-12px, -12px);
}


input#confirmCheckbox {
    margin-top: 20px;
}

label.confirm-check {
    font-size: 18px;
    padding: 20px 0px 30px 0px;
}

input#confirmCheckbox {
    width: 100px;
}

select {
    padding: 5px;
    margin-bottom: 10px;
    margin-top: 3px;
    width: 100%;
    background: #ffd76b;
    color: #111;
}

/* The Modal */
.submitAllModal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Modal Content */
.submitall-modal-content {
    background-color: #ffffff;
    color: #1b3321;
    margin: 15% auto;
    padding: 50px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 5px;
    text-align: center;
    position: relative;
    font-family: Poltawski Nowy;
    font-size: 20px;
}

/* Close Button */
.submit-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 5px;
    cursor: pointer;
}

.submit-close:hover,
.submit-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.limit-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

.limit-modal-content {
    background-color: #fefefe;
    margin: 20% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 500px;
    text-align: center;
    font-size: 20px;
    color: #213d28;
    font-family: 'Poltawski Nowy';
}

.limit-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.limit-close:hover,
.limit-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

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

    .hero-image {
        display: none;
    }

    .two-column .content {
        margin-right: 0px;
    }
/*
    .first-fieldset::before {
        transform: translate(-12px, -140px);
    } */

    input#nextMedia {
        color: #111 !important;
    }

    div#startTooltip {
        width: 200px;
    }

    h1 {
        font-size: 20px;
    }

    p {
        font-size: 14px;
    }

    .notice-files {
        line-height: 15px;
    }

    .content {}

    .notice {
        font-size: 13px;
        width: 100% !important;
    }

    button {
        font-size: 14px;
    }

    div#startTooltip {
        transform: translateX(-50%);
    }

    div#startTooltip {
        width: 80%;
    }

    #tooltip {
        width: 80%;
        margin-top: -100px;
    }

    .second-fieldset h1 {
        margin-top: 60px;
        padding-bottom: 10px;
    }

    .submitall-modal-content {
        padding: 30px;
        width: 70%;
    }

    #deleteModal {
        padding: 10px;
    }
    .first-fieldset h1 {
        margin-top: 40px;
    }

}

@media only screen and (min-device-width: 481px) and (max-device-width: 1026px){
    .hero-image {
        display: none;
    }

    .two-column .content {
        margin-right: 0px;
    }

    div#startTooltip {
        width: 200px;
    }

    h1 {
        font-size: 20px;
    }

    p {
        font-size: 14px;
    }

    .notice-files {
        line-height: 15px;
    }

    .content {}

    .notice {
        font-size: 13px;
        width: 100% !important;
    }

    button {
        font-size: 14px;
    }

    div#startTooltip {
        transform: translateX(-50%);
    }

    div#startTooltip {
        width: 80%;
    }

    #tooltip {
        width: 80%;
        margin-top: -100px;
    }

    .second-fieldset h1 {
        margin-top: 60px;
        padding-bottom: 10px;
    }

    .submitall-modal-content {
        padding: 30px;
        width: 70%;
    }

    #deleteModal {
        padding: 10px;
    }

}
/* Tab styling */
.tab {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
}

.tab button {
    color: #111;
    background-color: #f2f2f2;
    border: none;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    padding: 10px 20px;
    transition: background-color 0.3s;
    margin: 0 10px;
}

.tab button:hover {
    background-color: #376642;
    color: #fff;
}

.tabcontent {
    display: none;
}

/* Additional info styling */
.additional-info {
    text-align: center;
}

/* Close button styling */
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}
.tab button.active {
    background-color: #376642;
    color: #fff;
    -webkit-background-color: #376642;
}

div#mobile {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

div#desktop {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.help-video {
    width: 70%;
    height: 270px;
    margin-top: 30px;
}

@media only screen and (max-width: 768px) {
    .help-video {
        height: 140px;
    }
}

button.show-full {
    padding: 5px;
    background: #376642;
    color: #fff;
}

img.show-full {
    width: 50%;
    position: absolute;
    height: auto;
    margin-top: 30px;
    padding: 60px;
}