/*-- Body
========================== */
    .body-edit { !important
            margin: 0;
            padding: 0;
            background-color: #0f2e42;!important
            background-image: url(../images/background.png);important
            background-repeat: no-repeat;
            background-position: top center;
            background-size: 120%;
            font-family: 'Poppins', sans-serif;
            color: #ffffff;
        }

/*-- Drop Zone Css 
========================== --*/
    #drop-zone {
        display: flex;
        flex-wrap: wrap; 
        align-items: flex-start;
        justify-content: flex-start; 
        border: 2px solid #CCC;
        border-radius: 10px;
        padding-bottom: 10px;
        width: 80%;
        height: 300px;
        text-align: center;
        margin: 5px auto; 
        position: relative;
        overflow-x: auto; 
        white-space: wrap;
        display: flex; /
        align-items: flex-start;
        justify-content: flex-start;
    }

.upload-icon {
        position: absolute; /* Position the upload icon absolutely within the drop zone */
        top: 50%; /* Adjust as needed */
        left: 50%; /* Adjust as needed */
        transform: translate(-50%, -50%); /* Center the icon */
        z-index: -1; /* Set a z-index value */
    }

    .upload-icon {
        width: 150px;
        height: 150px;
        background: url(../images/upload-icon-01.png) no-repeat center center;
        background-size: contain;
        opacity: .7;
        padding-top: 30px;
        margin: auto auto;
        background-position: center;
    }

    /* Image previews */
        .preview-image {
            max-width: 120px;
            max-height: 120px;
            width: auto;
            height: auto;
            margin: 5px;
            object-fit: cover;
            display: inline-block; 
        }

/*-- file button and submit button
========================== */
        .select-file-button,
        #drop-zone button[type="submit"],
        #file-input-label {
            position: relative; 
            display: inline-block;
            padding: 10px 20px; 
            background-color: #007bff;
            font-family: 'Poppins', sans-serif;
            color: #fff;
            font-size: 14px;
            border-radius: 5px;
            border: none;
            cursor: pointer;
            z-index: 2; 
            height: auto;
            text-align: center;
            margin-top: auto;
        }

    /* Hide the default file input button */
        #file-input {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            z-index: 1;
        }

    /* Label for file input */
        #file-input-label {
            z-index: 2;
        }

    /* Hover effect for all buttons */
        .select-file-button:hover,
        #drop-zone button[type="submit"]:hover,
        #file-input-label:hover {
            background-color: #0056b3; /* Darker shade of blue on hover */
        }


/*-- Hide the default file input button
========================== */
        #file-input {
            display: none;
        }

    #preview {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-wrap: wrap;
        padding: 10px;
        box-sizing: border-box;
        overflow-y: auto;
    }

    .preview-img {
        width: 150px;
        height: 150px; 
        margin-right: 10px;
        margin-bottom: 10px;
        position: relative;
        background-size: cover;
        background-position: center;
        border: 1px solid #ccc;
        border-radius: 5px;
    }
    .preview-img img {
        width: 100%;
        height: 100%; 
        object-fit: scale-down; /* Use contain to fit within the container */
    }

    .close-button {
        position: absolute;
        top: 0;
        right: 0;
        width: 20px;
        height: 20px;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        font-size: 12px;
    }

/*-- Form elements
========================== */
        .form-elements {
            width: 100%;
            margin: 0 auto; /* Center align */
            text-align: center;
        }

        .form-elements input[type="text"],
        .form-elements textarea {
            box-sizing: border-box; /* Include padding and border in width calculation */
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            margin-top: 5px;
            margin-bottom: 5px; /* Adjust margin as needed */
            display: inline-block; /* Display as inline-block */
            opacity: .8;
            font-family: sans-serif;
            color: #2b5b7b;
            font-weight: 600;
        }

/*-- Style for the radio buttons
========================== */
        /* .form-elements input[type="radio"] {
        } */
      .form-elements input[type="radio"] {
            position: absolute;
            opacity: 0;
            pointer-events: none;
        }

        /* Style for the radio button labels */
        .form-elements label {
            background-color: #0056b3;
            color: white;
            padding: 5px 20px;
            border: 1px solid #ccc;
            border-radius: 5px;
            cursor: pointer;
        }

        /* Style for the checked radio button label */
        .form-elements input[type="radio"]:checked + label {
            background-color: #007bff;
            color: #FFff00;
        }

/*-- Description textarea
========================== */
        .description-textarea {
            width: 90%; /* Set width to 80% */
            box-sizing: border-box; /* Include padding and border in width calculation */
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            margin-top: 5px;
            margin-bottom: 5px; /* Adjust margin as needed */
            display: block; /* Display as block element */
            margin: 0 auto; /* Center align */
        }

/*-- Fade text
======================= */
    .fader {
			-webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
			mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
			height: 720px;
			width: 100%;
			overflow-y: scroll;
			color: rgba(255,255,255,.7);
			align: center;
			font-family: "Arial Narrow";
			font-size: 1.5 em;
			font-weight: bold;
			color: #666666;
			text-decoration: none;
			padding-bottom: 5%;
			}
	
        @media only screen and (max-width: 760px) {
        .fader {
        height: auto;
        font-size: 1em;
        padding-bottom: 10%;
      }
    }


/*-- FROM SEYFER CSS
======================================= */
/* header code */
        header, .main, .footer {
          width: 90%;
          max-width: 800px;
          margin: 0 auto; /* Center the content horizontally */
        }

        header {
            background-color: rgba(0, 0, 0, 0.3);
            border: 2px solid #483D8B;
            padding: 2em 1em 1em 1em;
            text-align: center;
            background-image: url('../../images/seyfer-logo.png');
            min-width: 340px;
            background-repeat: no-repeat;
            background-size: 80% auto;
            background-position: center center;
            flex-direction: column;
            min-height:  150px;
            max-height: 200px;
            box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
            position: relative; /* Add this line to make the header a positioning context */
        }

        .menu-toggle {
            position: absolute; /* Position the menu toggle relative to the header */
            top: 10px; /* Adjust the top position as needed */
            right: 10px; /* Adjust the right position to align with the right side of the header */
            font-family: Arial, sans-serif; /* Set the font family to Arial */
            font-weight: bold; /* Set the font weight to bold */
            font-size: 14pt; /* Set the font size to 12pt */
            color: #ffffff;
            z-index: 999;
        }

        .navigation {
            position: absolute; /* Position the navigation relative to the header */
            top: calc(100% + 10px); /* Position the navigation below the menu toggle */
            padding: 5px; /* Padding for the navigation */
            display: none; /* Hide the navigation by default */
            right: 10px; /* Adjust the right position to align with the right side of the header */
        }


        .navigation.active {
            display: block; /* Display the navigation when the menu toggle is clicked */
        }

        /* Media query for smaller screen widths */
        @media screen and (max-width: 768px) {
            header {
                background-size: contain; /* Reduce the height of the logo when screen width is less than or equal to 768px */
                background-image: url('../../images/seyfer-sales-b.png'); /* Change the background image */
                background-position: center center;
            }
        }

/* Responsive styles */
        @media (max-width: 768px) {
            header {
                padding: 10px;
            }

            .container {
                padding: 20px;
            }
        }

/* Nav Menu */
            .menu-toggle {
                position: absolute; /* Position the menu toggle absolutely */
                top: 10px; /* Adjust as needed */
                right: 5%; /* Adjust as needed */
                color: #FFF;
                opacity: 0.7;
                z-index: 9999;
            }

            .menu-icon {
                cursor: pointer;
                display: inline-block;
                color: #FFF;
            }

            .menu-description {
                margin-left: 5px;
                display: inline-block;
            }

            .navigation {
                position: absolute; /* Position the navigation absolutely */
                top: 20px; /* Adjust as needed */
                right: 10px; /* Adjust as needed */
                display: none; /* Hide navigation by default */
                z-index: 9999;
                opacity: 0.9;
            }

            .navigation.active {
                display: flex; /* Display navigation when active */
                justify-content: flex-end;
                align-items: center;
                margin-right: 20px;
            }

            .primary-nav {
                list-style: none;
                padding: 15px;
                background-color: #07525A;
                border: 1px solid #CEEDEF;
                border-radius: 3px;
            }

            .primary-nav li {
                display: block; /* Display navigation vertically */
                margin-bottom: 10px; /* Adjust spacing between navigation items */
                text-align: left; /* Align navigation items to the right */
            }

            .primary-nav li a {
                color: #CEEDEF; /* Set the color of the menu text */
                text-decoration: none; 
                font-size: 14px;
                font-weight: 600;
                
            }

            .primary-nav li a:hover {
                color: #99C2D2; /* Change color of menu text on hover */
                font-weight: 600;
            }

    /* back to tpp */
          .back-to-top {
            position: fixed;
            bottom: 60px;
            right: 30px;
            background-color: rgba(7, 82, 90, .2);
            border: 1px solid #CEEDEF;
            color: #07525A;
            padding: 5px 10px;
            border-radius: 5px;
            text-decoration: none;
            opacity: 0; /* Initially invisible */
            transition: opacity 0.3s ease-in-out;
            z-index: 9999;
            }

        .back-to-top:hover {
            background-color: #07525A;
            border: 1px solid #CEEDEF;
            color: #99C2D2;
            font-family: 'Poppins', sans-serif;
            font-style: normal;
            font-size: .8em;
            font-weight: 600; /* font weight */
            }

        /* Show the button when the user scrolls down */
            .back-to-top.show {
            opacity: .9;
            font-family: 'Poppins', sans-serif;
            font-style: normal;
            font-size: .8em;
            font-weight: 600; /* font weight */
            }

/* Logo container - Centered */
        .logo-container {
            text-align: center; /* Center the content horizontally */
            margin-bottom: 20px; /* Add some bottom margin for spacing */
            margin-top: 5%;
        }

        .logo-link {
            display: inline-block; /* Make the logo links display inline-block */
            margin: 0 10px; /* Add some horizontal margin for spacing between logos */
            height: 80px; /* Set the height of the logo links */
        }

        .logo {
            width: auto; /* Allow the width to adjust automatically */
            height: 100%; /* Make the height 100% of the parent element */
        }

        .logo img {
            width: auto; /* Allow the width to adjust automatically */
            height: 100%; /* Make the height 100% of the parent element */
        }



/* footer stuff */
        .footer {
            position: relative;
            width: 80%;
            margin: auto;
            margin-top: auto;
            bottom: 12px; /* Adjusted to include the additional 10px */
            background-color: rgba(0, 0, 0, 0.6);
            color: #B1D0E0;
            border: 2px solid #483D8B;
            padding: 1em;
            text-align: center;
            font-size: .9em;
            box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.5);
        }


    @media only screen and (max-width: 600px) {
      .header, .footer {
        padding: 0.5em;
      }

      .main {
        padding: 0.5em;
      }
    }
    .footer .footer-nav {
            text-decoration: none;
            color: #ff0000;
        }

        .footer .footer-nav:hover {
            color: #ffff00; /* Change this to the color you want on hover */
        }