/* Apply general styles to the form */
form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #ffffff !important;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.form_name{
display:block; margin-bottom:6px;
}
/* Style form labels */
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    text-align:right !important;
    font-size: 18px;
    font-family: sans-serif;
}

label[for="accept_tos"] label[for="accept_tos"],#accept_tos
{
display: inline-block;
}
.sendCode
{
    margin-top:15px;
}
.sender_email1
{
    display:block; margin-top:15px;
}
/* Style input fields */
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Style file input field */
input[type="file"] {
    margin-bottom: 15px;
}

/* Style submit button */
input[type="submit"], button {
    background-color: #4CAF50 !important;;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

/* Style TOS link */
a {
    color: #007bff; /* Blue color */
    text-decoration: none;
}

/* Style Recaptcha field */
#g-recaptcha {
    margin-bottom: 15px;
}

/* Hide honeypot field */
input[name="honeypot"] {
    display: none;
}

/* Add some visible styling for verification */
h1 {
    color: #333; /* Dark gray color */
    text-align: center;
}

#verification_code1
{
    display:block; margin-bottom:5px;
}
#verification_code
{
    padding:5px; margin-bottom:10px; width:50%; text-align:right;
}
#tos1
{
margin-left:10px; text-decoration:underline;
}
p {
    color: #666; /* Medium gray color */
    text-align: center;
}
.submit1
{
    margin-top:20px; font-weight:bold;
}

#responseMessage 
{
margin-top: 20px; color:#007bff; font-weight:bold;font-size: 20px;
}

/* Applies to the entire body of the HTML document (except where overridden by more specific
selectors). */
body {
  margin: 0px;
  padding: 0px;
  background-color: #f9f9f9 !important;
  font-family: arial, sans-serif;
  font-size: 14px;
}

html
{
margin: 0px;
padding: 0px;
}

/* Applies to all <h1>...</h1> elements. */
h1 {
  font-size: 35px;
  font-weight: normal;
  margin-top: 5px;
}
.user_verify
{
    text-align:center; margin-top:0;
}
#authenticationForm
{
    border:1px solid #ccc; padding: 20px; border-radius: 8px; background: #f9f9f9;
}
/* Applies to all elements with <... class="someclass"> specified. */
.someclass { color: red; }

/* Applies to the element with <... id="someid"> specified. */
#someid { color: green; }

.page_title{
    text-align:center; margin-top:0;
}
.main
{
    
margin-top:50px;
}
.main_upload
{
    max-width: 600px; margin: 50px auto; text-align: right;
}
.main p
{
    color: #0d0d0d;
    font-family: ARIAL;
    font-size: 20px;
}

.main a
{
    color: #007bff;
    font-family: ARIAL;
    font-size: 14px;
}
.main h1
{
color: #0d0d0d;
font-family: ARIAL;
}

/* עיצוב תפריט */

/* עיצוב בסיסי */
header {
    background-color: white;
    box-shadow: 0 0.125rem 0.625rem rgba(90, 97, 105, 0.12);
    display: flex;
    align-items: center;
    justify-content: flex-start; /* יישור תוכן לצד ימין */
    padding: 0 20px;
    height: 85px;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    width: 100%;
    direction: rtl;
}
#red
{
    color:red;
}
#uploadForm
{
    border:1px solid #ccc; padding: 20px; border-radius: 8px; background: #fff;
}
.label_title
{
margin: 20px 0 10px; text-align:right;
}
.label_desc
{
    font-size: 0.95em; color: #666; text-align:right; margin-bottom:15px;
}
.logo {
    background-image: url(LOGO-MHMC.png);
    width: 180px;
    height: 74px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 20px; /* רווח קטן בין הלוגו לתפריט */
}

.links {
    display: flex;
    align-items: center;
    margin-right: 0; /* יישור לצמוד ללוגו */
}

.links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* תפריט אופקי */
}

.links ul li {
    margin-right: 15px;
}

.links ul li a {
    color: #1d5095;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
    display: block;
}

/* כפתור המבורגר */
.menu-icon {
    display: none; /* מוסתר במסכים גדולים */
    font-size: 28px;
    cursor: pointer;
    color: #1d5095;
    margin-right: auto; /* מעביר את הכפתור לצד שמאל */
}

.menu-toggle {
    display: none; /* מוסתר כדי לשמש את ה-checkbox */
}

/* רספונסיביות למסכים קטנים */
@media (max-width: 768px) {
    header {
        justify-content: space-between; /* מרווח בין הלוגו להמבורגר */
    }

    .logo {
    width: 180px;
    height: 74px;
        margin-left: 0;
    }

    .menu-icon {
        display: block; /* מציג את כפתור ההמבורגר */
    }

    .links {
        display: none; /* הסתרת התפריט כברירת מחדל */
        position: absolute;
        top: 70px;
        left: 0; /* בצד שמאל */
        background-color: white;
        width: 100%;
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .links ul {
        display: block; /* תפריט אנכי */
        text-align: center;
    }

    .links ul li a {
        padding: 15px;
        font-size: 18px;
    }

    /* הצגת התפריט כאשר ה-checkbox מסומן */
    .menu-toggle:checked ~ .links {
        display: block;
    }
}

/* מסכים קטנים מאוד */
@media (max-width: 480px) {
    .logo {
    width: 180px;
    height: 74px;
    }

    .menu-icon {
        font-size: 24px;
    }
}

/* עיצוב תפריט */

.tos
{
width: fit-content;direction: rtl;
}
.tos ol li,.tos p
{
    width: fit-content;
float: right;
clear: both;
}

.verifyclass, .level3,.Fields,.authenticatedContent
{
display: none;
}
.upload_list
{
    margin: 0; font-size: 0.9em; color: #555;
}








/* סגנון הכפתור */
a.button {
    padding: 10px 20px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    background-color: #f0f0f0;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
}

a.button:hover {
    background-color: #ddd;
}

/* סגנון לכפתור שנבחר */
a.button.active {
    background-color: #006eef;
    color: white;
    border-color: #007bff;
    font-size: 14px;
}
