/* Add this at the top of your CSS file */
:root {
    --header-height: 53px;
    --sidebar-width: 120px;
    --sidebar-padding: 15px;
}

/* General Styles */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
	font-family: Arial, sans-serif; /* Clean font */
	line-height: 30px;
}

/* For WebKit browsers (Chrome, Safari) */
#main-wrapper {
    width: 100%;
    height: 100vh; /* Set height to 100% of the viewport height */
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* Allow vertical scrolling */
	flex-grow: 1;
}


/* Update the .container selector */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    box-sizing: border-box;
}


/* Main content layout */
.contents {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Content */
.left-content {
    flex: 1; /* Take remaining width */
    display: flex;
    flex-direction: column;
    gap: 30px; /* Space between rows */
}

.download {
    display: flex;
    flex: 1;
    min-height: 370px;
    flex-direction: column;
    border: 1px solid #ddd;
}

/* Top Row */
.top-row-download {
    display: flex;
    height: 100%;
    align-items: center;
    border-bottom: 1px solid #ccc;
}

/* Icon (Square) */
.icondw {
    height: 100%; /* Height adjusts to parent/container */
    aspect-ratio: 1 / 1; /* Ensures width equals height */
    background-color: #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


/* Item Info */
.item-info {
    flex: 1;
    height: 100%; /* Ensures it takes the full height of its parent */
    padding: 10px; /* Add padding to create space inside the container */
    background-color: #ffffff;
    display: flex;
    flex-direction: column; /* Stack the items vertically */
    box-sizing: border-box; /* Ensure padding is included in the element's total height */
}

/* Item Title */
.item-title h1 {
    font-size: 22px;
    margin: 0;
}

/* Item Meta */
.item-meta {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    font-size: 14px;
}

.file-name {
    font-weight: bold;
}

.file-size {
    color: #888; /* Greyish color */
}

/* Hoster Information */
.hoster {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ddd; /* Subtle gray border */
    background-color: #f9f9f9; /* Light gray background */
    font-size: 14px;
    color: #333;
}


/* Bottom Row */
.bottom-row-download {
    display: flex;
    align-items: center;
    justify-content: end;
    max-height: 100px;
    height: 100%;
    background-color: #f7f7f7;
    text-align: center;
    padding: 10px;
    overflow: hidden;
	gap: 10px;
}

/* Style for the 'Click Here To Continue' link */
.continue-link {
    border: 1px solid #ccc;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.continue-link:hover {
    color: #ff2e8f;  /* Darker blue on hover */
}

/* Style for the download button */
.download-btn {
    display: flex;
    width: 200px;
    align-items: center;
    justify-content: center;
    height: 50px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
	border:none;
	cursor: pointer;
    font-size: 16px;
    position: relative;
    transition: background-color 0.3s ease;
}

.continue-link-btn {
    display: flex;
    width: 200px;
    align-items: center;
    justify-content: center;
    height: 50px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
	border:none;
	cursor: pointer;
    font-size: 16px;
    position: relative;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #288fff;  /* Darker blue on hover */
}

.continue-link-btn:hover {
	 background-color: #fff!important;  /* Darker blue on hover */
	 color:#000;
	 border:1px solid #ccc;
}

.download-btn .download-icon {
    vertical-align: middle;
    margin-left: 5px;
    width: 16px;
    height: 16px;
}

/* Optional: Add focus style for accessibility */
.download-btn:focus {
    outline: 2px solid #0056b3;
}

.disabled-btn {
    background-color: gray;
    color: white;
    cursor: not-allowed;
}

.active-btn {
    background-color: #007bff;
    color: white;
    transition: background-color 0.3s ease;
}

.active-btn:hover {
    background-color: #288fff;
}


/* Rows in left-content */
.info {
	display: flex;
    flex: 1;
    gap: 20px;
}


/* Square Ads */
.square-ads {
    width: 300px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* FAQ Section */
.faq {
    flex: 1; /* Flexible width */
    background-color: #ffffff;
    min-width: 0; /* Prevent breaking when space is constrained */
}

.faq span {
    font-size: 24px;
    color: #333;
    text-align: center; /* You can change the alignment as needed */
}

/* FAQ Item container */
.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

/* Question button */
.faq-question {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 18px;
    padding: 12px 16px;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    outline: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f1f1f1;
}

/* Arrow for dropdown */
.arrow {
    margin-right: 12px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

/* Question text inside p tag */
.question-text {
    margin: 0;
}

/* Answer section hidden by default */
.faq-answer {
    display: none;
    padding: 10px 16px;
    font-size: 16px;
    color: #555;
}

/* Rotate arrow when answer is shown */
.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .arrow {
    transform: rotate(180deg);
}

/* Right Content */
.right-content {
    width: 350px;
    height: 600px;
    display: flex;
    flex-direction: column;
}

.right-ads {
    flex: 1;
}

.image-link img {
  transition: opacity 0.3s; /* Smooth transition */
      border-radius: 10px;
  border: 2px solid #ff5d5d;
}

.image-link:hover img {
  opacity: 0.7; /* Change opacity on hover */
}

/* Adjust font sizes for specific elements */
h1 {
    font-size: 30px;
}

h2 {
    font-size: 27px;
}

h3 {
    font-size: 23px;
}

p {
    font-size: 16px;
}

label {
	color: #747474;
}

.clear {
	margin:0!important;
}

.center-align {
    text-align: center;
}

.margin-bottom {
    margin-bottom: 20px;
}


/* Update the .sticky-header selector if it's not already fixed */
.header {
    width: 100%;
    margin: 0 auto;
    border-top: 2px solid #ff0000;
}

.header-container {
    display: flex;
    max-width: 1200px;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 10px 0;
}

.left-area a {
    text-decoration: none;
    color: #333;
    margin-right: 20px;
	text-align: center;
}


/* Adjust the right-area to accommodate the new button */
.right-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.right-area button {
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

button.login-btn {
    color: #fff;
    background: #007bff;
    border: none;
    padding: 10px 30px;
}

.login-btn:hover{
	background: #2e93ff;
}



/* General styles for ad banner */
.ad-banner {
    border: none;
    background-color: #f5f5f5; /* Subtle gray */
    color: #333; /* Dark text color */
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 20px auto;
    width: 720px;
    height: 90px;
}

a#preview-link {
    margin-top: -5px;
}

/* General Container for Two Column Layout */
.DLExtraInfo.two-column {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    width: 100%; /* Ensure full width */
    margin: 10px auto;
    padding: 30px 0;
    border-top: 1px solid #e7e7e7;
}

/* Recommended Section */
.recommended.two-column, .browser.two-column {
    display: flex;
    flex-basis: 50%; /* Ensure each child takes up 50% of the space */
    gap: 20px;
}

/* Styling for IDM Image */
.IDM-image {
    width: 72px;
    height: 72px;
    margin-right: 15px;
    border-radius: 8px; /* Optional: to make the image corners rounded */
}

/* Flex column for DLExtraInfo content */
.DLExtraInfo.flex-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Section Heading */
.DLExtraInfo-sectionHeading {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Section Subheading */
.DLExtraInfo-sectionSubHeading {
    font-size: 16px;
    color: #777;
    margin-bottom: 15px;
}

/* Styling the Paragraph */
.DLExtraInfo p {
    font-size: 14px;
    line-height: 1.6;
}

/* Link Styling */
.DLExtraInfo a {
    color: #0066cc;
    text-decoration: none;
}

.DLExtraInfo a:hover {
    text-decoration: underline;
}

/* Styling for Chrome Image */
.Chrome-image {
    width: 72px;
    height: 72px;
    margin-right: 15px;
}

/* Chrome extra info column */
.GoogleChromeExtra.flex-colum {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}






/* FOOTER */

#footer {
    padding: 30px; /* Adjust padding as needed */
    text-align: center;
    margin-top: auto; /* Push the footer to the bottom */
}

.footer-legal {
    display: flex; /* Use flexbox for horizontal layout */
    flex-wrap: wrap; /* Allow items to wrap to the next line if needed */
    justify-content: space-between; /* Space out items evenly */
    margin: 0 auto; /* Center the footer */
}

.footer-legal-copyright {
    margin-right: 20px; /* Space between copyright and links */
    color: #555; /* Dark grey for a softer look */
}

.legal-links {
    list-style: none; /* Remove default list markers */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
    display: flex; /* Use flexbox for horizontal layout */
    flex-wrap: wrap; /* Allow links to wrap on smaller screens */
}

.legal-links-item {
    margin: 0 15px; /* Space between links */
}

.legal-links-item a {
    text-decoration: none; /* Remove underline from links */
    color: #007aff; /* Blue color for links */
    transition: color 0.3s; /* Smooth transition for hover effect */
}

.legal-links-item a:hover {
    color: #0056b3; /* Darker blue on hover */
}



