﻿        body {
            font-family:Segoe UI,century gothic,arial,verdana;
            font-size: 20px;
            font-weight:300;
            line-height: 1.2;
            margin: 0;
            padding: 0;
  background: linear-gradient(to bottom, #fffff0,#ecbf8a);
  min-height: 100vh; /* Ensure the body covers at least the viewport height */
  background-size: cover; /* Prevents repetition and scales the gradient */
  background-attachment: fixed; /* Keeps the gradient fixed to the viewport */
            color: #010101;
            cursor: url('mm_capsule.cur'), auto;
                flex-direction: column;
	        align-items: center;
	        justify-content: flex-start;
    min-height: 100vh;
        }
        
        a { text-decoration: none; }
        
header {
    color: #010101;
    margin: 0 10px; /* Adds 10px margin on the left and right */
    max-width: calc(100% - 20px); /* Ensures the header width accounts for the 10px margin on both sides */
    padding: 10px; /* Adds 10px padding on all sides */
    background-color: #FFFFFF;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 1rem; /* Adds space below the header */
    margin-top: 1rem; /* Adds space above the header */
    border: 1px solid #8211ae;
}

@keyframes flash {
  0% { opacity: 1; }
  50% { opacity: 0.1; }
  100% { opacity: 1; }
}

.flashing-text {
  animation: flash 3s linear infinite; /* Adjust duration and timing function as needed */
}

@keyframes colorFlash {
  0% { color: black; }
  30% { color: blue; }
  100% { color: black; }
}

.color-flashing-text {
  animation: colorFlash 3s linear infinite;
}

.table {
  width: 98%;
  border-collapse: collapse; /* Ensures all borders collapse into single lines */
  border: 1px solid #ddd; /* Adds a faint border around the table */
}

/* Style for the table headers */
thead th {
  background: #f5f5f5; /* Light grey background for headers */
  text-align: left;
  padding: 8px;
  border: 1px solid #ddd; /* Adds a faint border to header cells */
}

/* Style for table rows and cells */
tbody tr {
  border: 1px solid #ddd; /* Adds borders to row cells */
}

/* Alternating row background colors */
tbody tr:nth-child(even) {
  background: #f9f9f9; /* Very pale grey background for even rows */
}

tbody tr:nth-child(odd) {
  background: #ffffff; /* White background for odd rows */
}

/* Style for table data cells */
td {
  padding: 8px; /* Ensures proper padding */
  border: 1px solid #ddd; /* Adds border to table cells */
}

/* Alignment styles */
th, td {
  text-align: left; /* Aligns text to the left */
}

.tdr {
  float: right; /* Floats text on the right */
}

h1 {font-size: 1.8rem;font-family:Segoe UI,century gothic,arial,verdana; font-weight:200;   text-align: center;}
h2 {font-size: 1.4rem;font-family:Segoe UI,century gothic,arial,verdana;font-weight:400;}
h3 {font-size: 1.4rem;font-family:Segoe UI,century gothic,arial,verdana;font-weight:400;}


        p {
            margin: 1rem 0;
        }
        form {
            margin-top: 2rem;
        }
        label {
            display: block;
            margin: 0.5rem 0 0.2rem;
            font-weight: bold;
        }
        input, select, button {
	    max-width: 90%;
            padding: 0.8rem;
            margin-bottom: 1rem;
            border: 1px solid blue;
            border-radius: 4px;
            font-size: 1rem;
        }
        
.buttonorange {
  background-color: #F9AC6D;
  color: #010101;
  font: 400 24px 'Segoe UI', 'Century Gothic', Arial, Verdana;
  padding: 10px 20px; /* Increased padding to meet the minimum size */
  text-align: center;
  cursor: pointer;
  text-transform: uppercase;
  border: 1px solid #010101;
  border-radius: 4px;
  box-shadow: 0 2px 3px #666;
  margin: 5px;
  text-decoration: none;
  display: inline-block; /* Ensures the button behaves as a block-level element */
  min-width: 44px; /* Ensures the width meets the minimum size */
  min-height: 44px; /* Ensures the height meets the minimum size */
}

/* Buttons */
button,
a.button {
    display: inline-block;
    padding: 5px 10px;
    background-color: #fffff0;
    color: #010101;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: 1px solid #010101;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease-in-out;
    text-transform: uppercase;
}

button:hover,
a.button:hover {
    background-color: #2980b9;
}


.black{font-family:Segoe UI,century gothic,arial,verdana;font-style:normal;color:#010101;margin: 5px;}
.noline{text-decoration: none;}

        .button_y {
            background-color: #FFFF00;
            color: #010101;
            border: 1px solid #010101;
            cursor: pointer;
        }
        .button_y:hover {
            background-color: #45a049;
        }

button_g  {
     background-color: #ccf5f5;
    color: #010101;
    font-size: 1rem;
    cursor: pointer;
}

 .button_g:hover{
    background-color: #fee9be;;
}


        button {
            background-color: #96f57c;
            color: #010101;
            border: 1px solid #010101;
            cursor: pointer;
        }
        button:hover {
            background-color: #45a049;
        }
        footer {
            text-align: center;
            margin-top: 2rem;
            font-size: 0.9rem;
            color: #666;
        }

                .warning {
				max-width: 90%;
				padding: 1rem;
				color:#010101;
				border: 1px solid red;
				border-radius: 4px;
				font-size: 0.9rem;
				background-color: #FFFFFF;
				text-align: center;
				font-weight: 500;
				        }
        .Q_img{max-width:96%; height: auto;display: block;margin-left: auto;margin-right: auto; }

.tm{
            font-size: .9rem;
            color: blue;
	    font-weight: 300;
        }

.bold{font-weight: 400;}

/* General Styles */
nav {
    font-size: 1rem;
    background-color: #FFFFFF;
    max-width: calc(100% - 20px);
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin: 0 10px;
    position: sticky;
    top: 0;
    z-index: 100; /* CHANGED from 1000 to 100 */
    border: 1px solid #8211ae;
    overflow: visible; /* Added to prevent clipping */
}
nav a {
    text-decoration: none;
    color: #010101;
    font-weight: 400;
}

nav a:hover {
    color: #8AB7EC;
    font-weight: 600;
}

/* Menu Container */
.menu-container {
max-width:1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    background-color: #19b319; /* Adds a green background for visibility */
    color: white; /* Ensures the lines are white and visible */
    border: none; /* Removes any default border */
    border-radius: 5px; /* Adds rounded corners for a modern look */
    padding: 10px; /* Adds padding for better clickability */
    cursor: pointer; /* Ensures the cursor changes to a pointer on hover */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow for depth */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Adds smooth hover effects */
}

/* Hover effect for the hamburger menu */
.hamburger:hover {
    background-color: #148f14; /* Darkens the green on hover */
    transform: scale(1.1); /* Slightly enlarges the button on hover */
}
/* Menu List */
.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.menu li {
    position: relative;
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
     min-width: 200px;
    background-color: #d4f5d4;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px;
    margin: 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 5px 0;
}

.dropdown-menu li:nth-child(odd) {
  background-color: #ffffff; /* White background for odd items */
}

.dropdown-menu li:nth-child(even) {
  background-color: #f0f0f0; /* Light gray background for even items */
}

.dropdown-menu li:hover {
  background-color: #d4f5d4; /* Highlight color on hover */
}
.dropdown-menu a {
    color: #010101;
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 768px) {

  .content-container {
    flex-direction: column;
    align-items: center;
  }

  .responsive-image {
    margin-bottom: 5px; /* Add some space below the image */
  }
    .hamburger {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        gap: 10px;
        text-align: left;
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        margin: 5px 0;
    }

    .dropdown-menu {
        position: static;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
}
        
        #blog {
	    padding: 20px;
	    background-color: #f9f9f9;
	    border-top: 1px solid #ddd;
	}
	
	#blog h2 {
	    text-align: center;
	    color: #007BFF;
	    margin-bottom: 20px;
	}
	
	.blog-container {
	    display: flex;
	    flex-wrap: wrap;
	    gap: 20px;
	    justify-content: center;
	}
	
	.blog-post {
	    background: #fff;
	    border: 1px solid #ddd;
	    border-radius: 5px;
	    padding: 15px;
	    width: 300px;
	    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	}
	
	.blog-post h3 {
	    font-size: 18px;
	    color: #333;
	    margin-bottom: 10px;
	}
	
	.blog-post p {
	    font-size: 14px;
	    color: #666;
	    margin-bottom: 15px;
	}
	
	.blog-post .read-more {
	    display: inline-block;
	    color: #007BFF;
	    text-decoration: none;
	    font-weight: bold;
	}
	
	.blog-post .read-more:hover {
	    text-decoration: underline;
	}

#form-container {
    position: relative; /* Constrain positioned elements to this container */
    width: 100%; /* Full width of parent, responsive */
    margin: 0 auto; /* Center horizontally */
    color: #010101;
    padding: 15px;
    background-color: #8AB7EC; /* Background color */
    border: 2px solid #f39323;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Shadow for aesthetic */
    box-sizing: border-box;
    overflow-wrap: break-word; /* Break long words to prevent overflow */
}

/* General container styling */
.container {
    display: flex; /* Flexbox layout */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: flex-start; /* Align items to the start */
    align-items: flex-start; /* Align items to the top */
 margin: 0 auto 100px auto; /* Added 100px bottom margin */
    gap: 10px; /* Space between child elements */
    width: 100%; /* Full width */
    max-width: 1200px; /* Limit the maximum width */
    box-sizing: border-box; /* Include padding/border within width */
    overflow-x: hidden; /* Prevent horizontal overflow */
}

main {
    flex: 1 1 auto; /* Allow main to shrink and grow as needed */
    max-width: 96%; /* Limit the maximum width of the main content */
   width:800px;
   min-width: 0; /* Prevent content from forcing resizing */
    background-color: #ffffff;
    border: 1px solid #FFFFFF;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow-wrap: break-word; /* Allow long text to break to the next line */
    border: 1px solid #8AB7EC;
}

* {
    box-sizing: border-box;
}

.ad {
    flex: 0 0 300px; /* Fixed width for ad */
    font-size:1rem;
    max-width: 96%;
    width: 320px;
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
/* Hide the ad column if no ad is present */
.ad:empty {
    display: none; /* Hide the ad if it's empty */
}

/* Center the main content if the ad is hidden */
.container:has(.ad:empty) main {
    margin: 0 auto; /* Center the main content */
    text-align: center; /* Optional: Center-align text */
}

/* Responsive design for mobile screens */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack the elements vertically */
    }

    main, .ad {
        width: 100%; /* Make them take full width on smaller screens */
        max-width: 100%; /* Let them fill the available space */
        margin-right: 0; /* Remove unnecessary margin on smaller screens */
    }

    .ad {
        margin-top: 20px; /* Add spacing between elements when stacked */
    }
  .button-container {
    flex-direction: column;
    align-items: center;
  }        
        
  .print-button {
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
  }

  .print-button:last-child {
    margin-bottom: 0;
  }
}
.warning-message {
    color: #010101; /* Dark yellow/brown text for warning */
    background-color: #FFFFFF; /* Light yellow background */
    border: 1px solid #c0c0c0; /* Yellow border */
    padding: 10px; /* Add some padding for spacing */
    border-radius: 5px; /* Rounded corners */
    font-size: 14px; /* Adjust font size */
    font-weight: bold; /* Make the text bold */
    margin: 10px 0; /* Add some margin for spacing */
    text-align: center; /* Center the text */
    max-width: 100%; /* Ensures it doesn't exceed the container width */
    box-sizing: border-box; /* Ensures padding and border are included in the width */
    word-wrap: break-word; /* Prevents long words from overflowing */
}


@media (max-width: 480px) {
    #form-container {
        padding: 10px; /* Reduce padding on smaller screens */
    }

    .warning-message {
        font-size: 12px; /* Reduce font size on smaller screens */
        padding: 8px; /* Adjust padding */
    }
    
    .suggestions-container {
        width: 90%; /* 90% of parent width for small screens */
    }
}


    #gdpr-banner {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background-color: #f9f9f9;
      border-top: 1px solid #ccc;
      padding: 15px;
      text-align: center;
      font-family: Arial, sans-serif;
      font-size: 14px;
      z-index: 102;
    }
    #gdpr-banner button {
      margin: 0 10px;
      padding: 10px 20px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }
    #gdpr-banner .accept {
      background-color: #196419;
      color: white;
    }
    #gdpr-banner .reject {
      background-color: #9a1b13;
      color: white;
    }

.city{display:none;visibility:hidden;}


.alert-danger{
    padding: 10px;
    color: #FFFF00;
    font-weight: bold;
}

.suggestions-container {
    position: absolute; /* Absolute but constrained to #form-container */
    border: 1px solid #ccc;
    background-color: #fff;
    max-height: 200px; /* Max height with scroll */
    overflow-y: auto; /* Allow scrolling for overflow */
    width: 90%; /* Take up full width of parent */
    max-width: 90%; /* Restrict to parent-width */
    color: black;
    margin-top: -13px; /* Adjust vertical position */
    z-index: 103;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Include padding/border in size */
}
.suggestion-item {
    padding: 10px;
    cursor: pointer;
}

.suggestion-item em{
    color: rgb(255, 83, 112);
    font-weight: bold;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

.selectedDrugs {
    padding: 10px;
    margin-top: 10px;
}

.selectedDrugs .sd-item{
    display: inline-block;
    padding: 5px 10px;
    background-color: #f0f0f0;
    margin-right: 5px;
    margin-bottom: 5px;
    color: black;
    border-radius: 10px;
}



.selectedDrugs .sd-item:hover {
    background-color: #e0e0e0;
    cursor: pointer;
}
.selectedDrugs .sd-item .sd-remove {
    margin-left: 5px;
    cursor: pointer;
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0;
    background-color: red;
}

#formMessage{
    margin: 5px 0px;
    display: none;

    max-width: 90%;
    padding: 1rem;
    color: #010101;
    border: 3px solid #dccc07;
    border-radius: 12px;
    font-size: 18px;
    background-color: #FFFFFF;
    text-align: center;
    font-weight: 500;
}

.text-error{
    color: red !important;
}
.text-success{
    color: green !important;
}
.text-warning{
    color: yellow !important;
}

.button-container {
  display: flex;
  justify-content: space-between;
  margin: 10px;
}

.print-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #010101;
    background-color: #8AB7EC;
    border: 2px solid #f39323;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

        .print-button:hover {
            background-color: #ecbf8a;
            color:blue;
            transform: scale(1.05);
        }

        .print-button:active {
            background-color: #003f7f;
            transform: scale(1);
        }

    .language-switcher {
        display: flex;
        justify-content: center; /* Center horizontally */
       gap: 10px; /* Space between flags */
    }

    .language-switcher a {
        display: inline-block;
        width: 30px;
        height: 20px;
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Drop shadow */
        border-radius: 3px; /* Optional: Rounded corners */
        overflow: hidden;
    }

    .language-switcher img {
        width: 100%;
        height: 100%;
        display: block;
    }
    
.share-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-button {
  background-color: #3103FF;
  color: white;
  padding: 10px 15px;
  font-size: 15px; /* Slightly smaller text */
  border: none;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Drop shadow */

}

.dropdown-button:hover {
  background-color: #0056b3;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 101;
  border-radius: 5px;
  overflow: hidden;
}

.dropdown-content a {
  color: black;
  padding: 4px 4px; /* Smaller padding for minimal line spacing */
  text-decoration: none;
  display: block;
  font-size: 13px; /* Slightly smaller text */
  line-height: 1; /* Minimal line spacing */
}

.dropdown-content a:nth-child(odd) {
  background-color: #ffffff; /* White background for odd items */
}

.dropdown-content a:nth-child(even) {
  background-color: #f0eded; /* Nearly white background for even items */
}

.dropdown-content a:hover {
  background-color: #f1f1f1; /* Highlight color on hover */
}

.share-dropdown:hover .dropdown-content {
  display: block;
}

.responsive-ad {
    width: 100%; /* Take full width of the container */
    max-width: 300px; /* Optional: Limit the maximum size */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* General styles */
.content-container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.responsive-image {
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 300px; /* Adjust the size as needed */
  flex-shrink: 0;
}

.text-content {
  max-width: 600px;
}

.search-bar {
    margin: 20px 0;
    text-align: center;
}

.search-bar input {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

.search-bar input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.drug-section {
    margin-bottom: 20px;
}

.menu-container, .menu, .hamburger {
    z-index: 101 !important; /* Slightly higher than nav, but still way below widget */
}

