	/* Common style for all */
	h1, h2, h3, h4, .main-container, p
	{
	}
	/* Adjusted for responsiveness */

/* To change color in once to all container, div, p, etc. */
header, .first-column, .second-column, footer
	{
	background-color:#ffffff;
	}

body 
	{
	background-color:#f2f2f2;
	padding: 0px;
	margin: auto;
	color: black;
	}

header
	{
	padding: 5px;
	border-bottom: 1px solid #b5bdbc;
	border-radius: 3px;
	text-align:center;
	margin-bottom: 15px;
	}

footer 
	{
	padding: 5px;
	border-top: 1px solid #b5bdbc;
	border-radius: 3px;
	text-align:center;
	margin-top: 15px;
	}

h1, h2, h3
	{
	margin: auto;
	padding-top:3px;
	padding-bottom:3px;
	text-align:left;
	}
p
	{
	margin: auto;
	padding-top:5px;
	padding-bottom:5px;
	text-align: left;
	}

.main-container 
	{
	border-radius: 4px;
	display: grid;
	grid-template-columns:3fr 1fr; /* Adjusted for responsiveness */
	gap: 10px;
	margin: 0 auto;
	padding: 10px;
	max-width:1123px;
	}

.first-column 
	{
	border: 1px solid #b5bdbc;
	border-radius: 4px;
	padding: 10px;
	max-width:803px;
	}

.second-column 
	{
    background: #f4f4f4;
	padding: 10px;
	max-width:320px;
	border: solid black 1px;
	}

label
	{
	padding-bottom:0px;
	}

.faq-item
	{
        margin-top: 10px;
        margin-bottom: 10px;
        }
       
.question
	{
	background-color:white;
	color:black;
 	font-weight: bold;
  	cursor: pointer;
	padding:5px;
	border:1px solid #808080;
	border-radius: 4px;
    }

.answer 
    {
	background-color:aliceblue;
   	display: none;
    	margin-top: 5px;
	padding:5px;
	border:1px solid #808080;
	border-radius: 4px;
    }

        .table-container 
        {
          max-height: 400px;
          overflow-y: auto;
        }

    table 
        {
            width: 100%;
            border-collapse: collapse;
        }

thead
	{
	padding:0px;
	}

     th, td 
        {
            padding: 8px;
            border-bottom: 1px solid #dee2e6;
        }

        th 
        {
            background-color: #f8f9fa;
            font-weight: bold;
            text-align: left;
        }
a:link 
	{
	color:blue; 
	text-decoration: none;
	}

a:hover 
	{
	text-decoration: underline;
	}

ol
	{
text-align: left;
	}

ul
	{
list-style-type: disc;
	}

li 
	{
	padding: 5px;
	}

html 
	{
 	scroll-behavior: smooth;
	}

/* Responsive adjustments */
@media (max-width: 768px) 
    {
    .main-container {
        grid-template-columns: 1fr;
    }

    .second-column {}
    .first-column  {}
}

.mini-container 
	{
    	display: grid;
    	grid-template-columns: 1fr 1fr;
    	gap: 1rem; /* Adjust the gap between columns */
  	}
  
.box 
	{
    	padding: 3px;
    	box-sizing: border-box;
  	}

/* Media query for devices */
@media only screen and (max-width: 700px) {
    .mini-container {
      grid-template-columns: 1fr; /* Change to one column for smaller screens */
    }
  }


.search-container 
	{
      	margin-top: 0px;
	}

#searchResults 
	{
	list-style-type: none;
	padding: 0;
	max-width: 250px; /* Limit the width of search results */
	max-height: 250px; /* Limit the height of search results */
	overflow: auto; /* Enable vertical scrollbar when needed */
	}

#searchResults
	{
      margin-bottom: 3px;
	}

#noResultsforsearch 
	{
      display: none;
      color: red;
	}


.sticky-sidebar-ad 
	{
    	position: -webkit-sticky;
    	position: sticky;
    	top: 0;
    	max-width:300px;
    	padding-top:5px;
	}

.notepad-container 
	{
        display: none; /* Initially hidden */
        position: fixed;
        bottom: 20px;
        right: 20px;
        max-width: 200px; /* Limiting maximum width */
        max-height: 350px; /* Limiting maximum height */
        width: 100%;
        height: 100%;
        background-color: #fff;
        border: 1px solid #ccc;
        border-radius: 5px;
        overflow: hidden;
    	}

.notepad-header 
	{
        background-color: #f0f0f0;
        border-bottom: 1px solid #ccc;
        padding: 8px;
        cursor: move;
    	}

.notepad-content 
	{
        padding: 10px;
        height: calc(100% - 30px);
        max-height: calc(100% - 30px); /* Limiting maximum height */
        overflow-y: auto;
    	}

.notepad-button 
	{
        float: right;
        cursor: pointer;
        padding: 4px;
    	}

#loading {
            display: none;
            margin-top: 20px;
            font-style: italic;
            color: #6c757d;
	text-align: center;
        }

 .btn-group {
        margin-top: 20px;
	text-align: center;
    }
    .btn-group button {
        margin-right: 10px;

    }
#convertBtn, #downloadBtn, #resetButton {
            padding: 6.6px 6.6px;
            background-color: #0400ff;
            color: #fff;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.3s;
            margin:5px;
        }

        #convertBtn:hover, #downloadBtn:hover {
            background-color: #0056b3;
        }
 #input 
        {
        color: #fff; 
	cursor: pointer;
	background-color:green;
	margin:5px;
	padding:5px 5px;
	max-width:200px;
        }
        
    #preview 
    {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-height: 270px; /* Set a maximum height for the container */
    overflow-y: auto; /* Enable vertical scrolling */
}
.converted-image {
    
            max-height: 109px;
            margin: 5px;
            border: solid #6c757d 0.5px;
            border-radius: 4px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }