/* Add this to your CSS file */ header.sticky { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; /* Ensure the header is above other content */ } img { max-width: 100%; max-height: 100%; } dl, ol, ul { list-style: none; padding: 0; } /* Ensure logo is visible */ .custom-logo { display: block; max-width: 100%; height: auto; } /* Header Styles */ #header { display: flex; justify-content: space-between; align-items: center; padding: 10px; } .logo img { max-height: 100px; /* Adjust as needed */ } .menu-sec { flex-grow: 1; } .menu-sec ul { list-style: none; padding: 0; margin: 0; } .menu-sec ul li { display: inline-block; margin-right: 15px; } .menu-sec ul li a { text-decoration: none; color: #000; /* Adjust as needed */ } ul.actions li { padding: 10px; margin: 10px; } #header .links ul li { position: relative; } #header .links ul li > ul.sub-menu { position: absolute; display: block; top: 100%; background: #f2f2f2; left: 0; display: none; width: 200px; } #header .links ul li:hover ul.sub-menu { display: block; } section#header-section { position: relative; z-index: 999; } ul.sub-menu li { display: block; padding: 5px 10px; } ul.sub-menu li { margin: 0; } /* Basic styling for the custom logo */ .logo img { max-width: 100%; /* Ensure it doesn't overflow */ height: auto; /* Maintain aspect ratio */ } section.banner { height: 500px; position: relative; } .banner-content { width: 50%; line-height: 1.5; text-align: center; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } .banner-sec { margin-bottom: 30px; } /*404*/ .error-page-container { display: flex; justify-content: center; align-items: center; min-height: 100vh; background: linear-gradient(135deg, #f5e6e8 0%, #e9f1f6 100%); contain: '404'; padding: 20px; } .error-content { text-align: center; max-width: 600px; } .error-title { font-size: 3rem; color: #333; margin-bottom: 1rem; } .error-description { font-size: 1.2rem; color: #666; margin-bottom: 2rem; } .search-box label { margin: 0; } span.page-title { font-size: 20rem; letter-spacing: -0.08em; font-weight: 700; line-height: 1; position: relative; opacity: 0.05; z-index: 1; } .search-box { border-left-width: 1px; border-left-style: solid; border-left-color: #000000; } .search-box { border-left: solid 1px rgba(160, 160, 160, 0.3); height: inherit; line-height: inherit; white-space: nowrap; margin-left: 1.5em; padding-left: 2em; display: flex; align-items: center; } .screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; } input.search-field, input.search-field:focus, input.search-field:focus-visible { border: none; outline: none; padding: 10px; background: transparent; } input.search-submit { border: none; background: transparent; } .sp-btw { justify-content: space-between; margin: 20px 0; } ul.recent-posts-list { display: flex; align-items: center; } ul.recent-posts-list > li { padding: 20px; border: 1px solid; border-radius: 10px; margin: 0 15px; margin: 20px; height: 400px; list-style: none; } .recent-post-thumbnail img { width: 100%; height: 100%; } .recent-post-thumbnail { width: 300px; height: 198px; } div#comments { margin: 20px 0; background: #f2f2f2; padding: 20px; } textarea#comment { width: 100%; } #main { margin: 30px 20px; } /*==RECOMMENDED==*/ /* Align elements to the center */ .aligncenter { display: block; margin-left: auto; margin-right: auto; } /* Align elements to the right */ .alignright { float: right; margin-left: 1.5em; margin-right: 0; } /* Align elements to the left */ .alignleft { float: left; margin-right: 1.5em; margin-left: 0; } /* Style for image captions */ .wp-caption { border: 1px solid #ddd; padding: 0.5em; margin: 0 0 1.5em; text-align: center; background-color: #f9f9f9; } /* Style for the text within image captions */ .wp-caption-text { font-size: 0.9em; color: #555; } /* Style for gallery captions */ .gallery-caption { font-size: 0.9em; color: #555; text-align: center; } /* Style for post author information */ .bypostauthor { font-size: 0.9em; color: #666; margin: 1em 0; } /* Custom style for the highlighted paragraph block */ .wp-block-paragraph.is-style-highlighted { background-color: #f0f0f0; padding: 10px; border-left: 4px solid #0073aa; } /* Custom style for the custom button block */ .wp-block-button.is-style-custom-button-style { background-color: #0073aa; color: #ffffff; border-radius: 5px; padding: 10px 20px; } ul.sub-menu > li > ul.sub-menu { position: static; } #header .links ul li > ul.sub-menu > li { position: relative; } #header .links ul li > ul.sub-menu > li > ul.sub-menu { position: absolute; left: 10%; display: none; } #header .links ul li > ul.sub-menu > li:hover ul.sub-menu { display: block; } @media (min-width: 768px) { div#menus { display: flex; align-items: center; } .burger-area { display: none; /* Show only on mobile */ } } /* Responsive styling for mobile */ @media (max-width: 767px) { #header .links ul li > ul.sub-menu { position: static; width: 100%; } #header .links ul li > ul.sub-menu > li > ul.sub-menu { position: static; width: 100%; } .logo img { max-width: 150px; /* Adjust as needed for smaller screens */ } .burger-area { display: block; width: 20px; height: 20px; font-size: 16px; } header#header { position: relative; } .menus.active { display: block; } .menus { position: absolute; width: 100%; top: 100%; display: none; left: 0; z-index: 99; } #header .links ul li { display: block; padding: 10px; margin: 0; } .search-box { display: none; } .col-6, .col-4, .col-8 { width: 100% !important; flex: 0 0 100%; max-width: 100%; } }