/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f7fa;
    color: #333;
	background-position: center;
    background-repeat: repeat;
}

/* Header Styling */
header {
    padding: 8px 20px 5px 20px; 
    background: #fff;
    text-align: center; 
	display: flex; 
    justify-content: space-between; 
    align-items: center;
	box-shadow: 0 1px 8px 0 rgba(0,0,0,.06),0 1px 0 0 rgba(0,0,0,.04);
}

.logo {
    margin-left: 25px;
}

.logo img {
    width: 110px;
    margin-left: 25px;
}

nav {
    margin-right: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    align-items: center;
}

nav li {
    margin: 0 12px;
}

nav a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    padding: 4px;
	min-width: 120px;
    display: block;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.7px;
}
.navicon {
	width: 20px;
	text-align: center;
	padding-top: 1px;
}

/* Responsive Navigation for smaller screens */
@media (max-width: 600px) {
    header {
        flex-direction: column; 
        align-items: flex-start;
    }

    nav ul {
        width: 100%; 
        justify-content: space-around;
    }

    .mobile-menu {
        display: block;
        font-size: 22px;
        color: #333;
        position: absolute;
        top: 10px;
        right: 20px;
        cursor: pointer;
    }
	
	nav {
		 width: 100%;
	}

    nav ul {
        display: none;
    }

    nav ul.mobile-menu-open {
		display: flex;
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: nowrap;
    }
}

/* Hide mobile menu icon by default */
.mobile-menu {
    display: none;
}

/* Show mobile menu icon on small screens */
@media (max-width: 600px) {
    .mobile-menu {
        display: block; 
		
    }
}
@media (max-width: 768px) {
	nav li {
    margin: 10px 5px;
}
}

.breadcrumb {
    margin: 10px 0px 10px 25px;
	font-size: 12px;
	letter-spacing: 0.5px;
	color:#fff;
}
.breadcrumb a{
	color: #fff;
    letter-spacing: 1px;
    text-decoration: none;
    border-bottom: 1px solid #6b9bc2;
}

/* Content Wrapper */
.container {
    padding: 10px 25px;
	margin-bottom: 25px;
	text-align:center;
    display: inline-block;
	width: 1000px;
    max-width: 100%;
}

/* Content Area Styling */
.content {
    flex: 0 1 70%;
    padding: 20px;
    background-color: #fff;
	border-radius: 15px;
	text-align:center;
	line-height: 25px;
	box-shadow: 0 1px 2px #ddd;
    border-radius: 7px;
	border-top: 4px solid #d8e1e4;	
}

@media (max-width: 1040px) {
    .content {
        flex: 1 1 68%;
    }
}

@media (max-width: 768px) {
    .content {
        flex: 1 1 100%;
    }
}

.page-title {
	text-align: center;
	font-size: 25px;
	margin: 20px;
	color: #252525;
    text-transform: capitalize;
}


/* Sidebar Styling */
.sidebar {
    flex: 0 1 28%;
    padding-left: 15px;
}

.sidebar-section {
    margin-bottom: 20px;
	background: #fff;
	padding: 12px;
	box-shadow: 0 1px 2px #ddd;
    border-radius: 5px;
}

.sidebar-section h2 {
    margin-bottom: 10px;
	font-size: 20px;
	font-weight: normal;
	text-align: center;
}

@media (max-width: 1040px) {
    .sidebar {
        flex: 1 1 28%;
    }
}

@media (max-width: 768px) {
    .sidebar {
        flex: 1 1 100%;
    }
}

/* Footer Styling */
footer {
    padding: 10px;
    text-align: center;
    background: #444;
    width: 100%;
    font-size: 14px;
    line-height: 30px;
    color: #aaa;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .075);
    margin-top: 25px;
    display: inline-block;
	background-image: url("img/dit.png");	
	background-position: center;
    background-repeat: repeat;	

}

.footer-menu a {
    color: #ddd;
    letter-spacing: 0.5px;
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px dashed #777;
    padding-bottom: 0px;
    margin: 0 7px 10px 7px;
    display: inline-block;
}

.des {
  margin-bottom: 20px;
  color: #676767;
  letter-spacing: 0.8px;
  font-size: 14px;
  text-align: center;
  line-height: 25px;
}
.about {
	text-align: left;
    width: 1200px;
    max-width: 100%;
    display: inline-block;
    line-height: 25px;
    background: #fefefe;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    font-size: 15px;
    letter-spacing: 0.4px;
	margin: 10px;
	color:#222;
}
.about li {
    list-style: inside;
    line-height: 30px;
}
.detail-head {
    margin: 15px 0 7px 0;
    font-size: 20px;
    border-left: 4px solid #f04e45;
    padding-left: 15px;
}

/* Image Compress */
        .input-group {
            margin-bottom: 10px;
            text-align: center;
        }

        label {
        margin-bottom: 5px;
        font-size: 13px;
		letter-spacing: 0.5px;
        color: #333;
        }

        input[type="file"] {
            display: none;
        }

        input[type="file"] + label {
            display: inline-block;
            padding: 20px 50px;
            font-size: 17px;
            font-weight: bold;
            color: #fff;
            background-color: #f04e45;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            margin-bottom: 15px;
			box-shadow: rgba(206, 89, 89, .4) 0 2px 4px, rgba(227, 43, 43, .3) 0 7px 13px -3px, #f45c5c 0 -3px 0 inset;
        }

        input[type="file"] + label:hover {
            background-color: #d8433c;
        }

        input[type="number"] {
        width: 85px;
		padding: 7px 0 7px 10px;
        border-bottom: 2px solid #f04e45;
		border-radius: 0px;
		text-align: center;
		margin: 2px auto 15px auto;
		border-top: 0px;
		border-left: 0px;
		border-right: 0px;
		background: #fff;
	border-top: 1px solid #eee;
	border-left: 1px solid #eee;
	border-right: 1px solid #eee;
	padding-right: 3px;
        }

        input[type="radio"] {
            width: auto;
            margin: 0px 3px 0 0;
        }

        button {
        width: 250px;
        padding: 10px;
        background-color: #539ddb;
        color: #fff;
        cursor: pointer;
        border: none;
        border-radius: 5px;
        margin-bottom: 10px;
        font-size: 16px;
        font-weight: bold;
        }

        button.reset-button {
        border: #f04e45 1px solid;
		margin-top: 15px;
		width: 70px;
		background: none;
		padding: 4px;
		font-size: 14px;
		height: 28px;
		font-weight: normal;
		color:#f04e45;
        }

        button.reset-button:hover {
            background-color: #f04e45;
			color:#fff;
        }

        #resolutionInputs {
            display: none;
        }

        #progressBarContainer {
            display: none;
            width: 100%;
            background-color: #f3f3f3;
            border-radius: 25px;
            overflow: hidden;
            margin-bottom: 20px;
        }

        #progressBar {
            width: 0;
            height: 30px;
            background-color: #4caf50;
            text-align: center;
            line-height: 30px;
            color: white;
            border-radius: 25px;
        }

        img.thumbnail {
            width: 50px;
            height: auto;
        }
		        #progressBarContainer {
            display: none;
            width: 100%;
            background-color: #f3f3f3;
            border-radius: 50px;
            margin: 10px 0;
            overflow: hidden;
        }
        #progressBar {
            width: 0;
            height: 20px;
            background-color: #4caf50;
            text-align: center;
            line-height: 20px;
            color: white;
            border-radius: 50px;
        }
        @keyframes progress {
            from {
                width: 0;
            }
            to {
                width: 100%;
            }
        }
	.load-img{
    text-align: center;
    width: 100%;
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 20px;
    display: inline-block;
	}
.img-loadbox {
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 10px;
    box-shadow: 0px 0px 10px #ddd;
}	
.selection {
	margin:10px 2px;
	
}
.radio-option {
    display: inline-block;
    margin: 1% 5% 1% 5%;
    text-align: center;
}
.main {
    text-align: center;
	height: auto !important;
}
.options {
    border-bottom: .1rem solid #c0d9e1;
	width: 100%;
    text-align: center;
    display: inline-block;
	margin-top: 15px;
}
div#imageList {
	text-align: center;
    display: inline-block;
    width: 100%;
	margin-top: 30px;
}
ul#imagePreviewList {
    overflow: auto;
	max-height: 180px;
}
.image-list .image-item {
	display: flex;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding: 10px;
}

.image-item img {
  margin-right: 10px;
}

.image-info {
  flex-grow: 1;
  text-align: left;
  margin-left: 15px;
}

.image-info .image-name, span.image-size {
  font-size: 13px;
}

.remove-link {
  margin-left: 20px;
  color: red;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.5px;
}
a#downloadAllLink {
    letter-spacing: 0.5px;
    height: 35px;
    border-radius: 5px;
    padding: 8px;
    text-decoration: none;
    color: #fff;
    border-bottom: 2px solid #76aa5a;
    margin-top: 10px;
    font-size: 15px;
    background: #94d074;
    box-shadow: rgb(40 133 54 / 40%) 0 1px 2px, rgb(40 146 54 / 30%) 0 2px 1px -1px, #70c75b 0 -2px 0 inset;
}
a#downloadAllLink:hover {
	border-bottom: 0px solid #76aa5a;
}
.kb {
	background: #e4e9ed;
    color: #f04e45;
    position: relative;
    padding: 7px 5pt 6px 5pt;
    left: 0.0vw;
    top: 1px;
    border-bottom: 2px solid #f04e45;
    font-size: 14px;
}
input[type="number"]:focus, input[type="number"]:active {
    outline: none;
}
.download-link {
    text-decoration: none;
    color: #fff;
    margin-right: 5px;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 14px;
    letter-spacing: 0.5px;
	border-bottom: 1px solid #76aa5a;
    background: #94d074;
    box-shadow: rgb(40 133 54 / 40%) 0 1px 2px, rgb(40 146 54 / 30%) 0 2px 1px -1px, #70c75b 0 -2px 0 inset;
}
.download-link:hover {
	border-bottom: 0px;	
}
        .compressing-animation { font-size: 25px; text-align: center; margin-top: 25px; margin-left:5px; }
        .compressing-animation span { display: inline-block; animation: pulse 1s infinite alternate; }
        .compressing-animation span:nth-child(2) { animation-delay: 0.2s; }
        .compressing-animation span:nth-child(3) { animation-delay: 0.4s; }
        @keyframes pulse { to { transform: scale(1.5); } }		
.file-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: 12px;
    line-height: 20px;
    color: #888;
    letter-spacing: 0.5px;
}
.compressed-image-info {
    display: flex;
    align-items: center;
}
.compressed-image-item {
	border: 1px solid #94d074;
	display: flex; align-items: center; 
	justify-content: space-between; 
	margin-bottom: 10px; 
	padding: 5px; 
	border: 1px solid #ddd; 
	border-radius: 5px;
}
.compressed-image-info img { 
margin-right: 10px; 
}
#compressButton {
	border-radius: 5px;
	background-color: #539ddb;
	box-shadow: rgb(89 165 206 / 40%) 0 2px 4px, rgb(43 155 227 / 30%) 0 7px 13px -3px, #518fdd 0 -3px 0 inset;
	letter-spacing: 0.8px;
    font-size: 18px;
    font-weight: normal;
	width: 500px;
	max-width:100%;
}
select#unitSelect {
    outline: 0px;
    border: 0px;
    background: #fff;
    padding: 7px 5px 7px 5px;
    width: 60px;
    border-radius: 2px;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #999;
	border: 1px solid #eee;
}
select#formatSelect {
    background: #fff;
    border: 0;
    width: 300px;
    padding: 8px 10px;
    border-bottom: 2px solid #f04e45;
	margin-bottom:5%;
	border-top: 1px solid #eee;
	border-left: 1px solid #eee;
	border-right: 1px solid #eee;
}
span.note {
    display: block;
    margin-bottom: -15px;
    margin-top: 25px;
    font-size: 12px;
    letter-spacing: 0.7px;
    color: #777;
}
span.disclaimer {
    background: #e8fad7;
    padding: 5px 15px;
    border-radius: 50px;
    display: block;
}
a.midlink {
	background: #fafbfe;
    border-radius: 30px;
    margin: 8px 5px;
    display: inline-block;
    padding: 7px;
    text-decoration: none;
    font-size: 13px;
    color: #333;
    width: 101px;
    letter-spacing: 0.8px;
}
.midhead{
	color: #777;
    font-size: 22px;
    margin-bottom: 7px;
}
.mid {
    margin: 15px;
    background: #ebf0f4;
    padding: 15px;
	border-radius: 10px;
}

/* Container Style */
.slider-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    font-family: Arial, sans-serif;
}

/* Base Slider Style */
input[type="range"] {
    width: 100%;
    margin: 0 0 20px 0;
    -webkit-appearance: none;
    appearance: none;
    height: 0px;
    background: linear-gradient(to right, #ddd 50%, #4CAF50 50%);
    border-radius: 5px;
    outline: none;
    transition: background 0.3s ease;
    position: relative;
}

/* Slider Thumb Style */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #4CAF50;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

input[type="range"]::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #4CAF50;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Slider Fill Style */
input[type="range"]::-webkit-slider-runnable-track {
    height: 15px;
    border-radius: 5px;
    background: #ddd;
}

input[type="range"]::-moz-range-track {
    height: 10px;
    border-radius: 5px;
    background: #ddd;
}

/* Labels Style */
.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 10px;
    color: #333;
}

#compressionMin, #compressionRecommended, #compressionMax {
    flex: 1;
    text-align: center;
    font-size: 13px;
}

/* Slider Update */
.slider-modern {
    background-size: calc((100% - 20px) * 2 / 3) 100%;
}

/* Add an animated circle after the "Compressing Images" text */
.loading-circle {
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
    margin-left: 5px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.sublist {
    margin-left: 25px;
    margin-bottom: 15px;
	font-size: 14px;
}
.paraline {
    line-height: 33px;
}
.section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    margin: 12px;
    padding: 10px 20px;
    border-radius: 7px;
    text-align: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .06), 0 1px 0 0 rgba(0, 0, 0, .04);
    box-sizing: border-box;
}
.section-3-footer {
	margin: 25px 15px;
    text-align: left;
    /*flex: 1 1 calc(22% - 12px);*/
    box-sizing: border-box;
    font-size: 15px;
}

@media (max-width: 825px) {
   .section-3-footer {
       padding: 5px 2px 5px 10px;
       flex: 1 1 calc(30% - 6px);
       margin: 7px 5px;
       font-size: 14px;
    }
}

@media (max-width: 600px) {
   .section-3-footer {
       padding: 5px 2px 5px 20px;
       flex: 1 1 calc(45% - 12px);
       margin: 5px 2px;
    }
}

@media (max-width: 400px) {
   .home-section-3 {
       padding: 4px 1px 4px 10px;
       flex: 1 1 100%; 
       margin: 7px 0;
    }
}
.home-section-3-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-around;
    width: 100%;
	padding: 0 0 0 1px;
}
a.footermenu {
	display: block;
	margin: 15px 1px 5px 1px;
    text-decoration: none;
    color: #ddd;
    text-align: left;
	font-size:14px;
	max-width: 170px;
}
.head3 {
	font-size: 18px;
	color:#ef6d67;
	font-weight:bold;
	margin-bottom: 10px;
}

/* Home */
.secure {
    text-align: center;
    display: inline-block;
    width: 100%;
    padding: 10px 25px;
    border-radius: 4px;
	margin: 14px;
}
.main {
	margin:20px;
}
.home-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.home-section {
    background-color: #fff;
    margin: 12px;
    padding: 10px 20px;
    border-radius: 7px;
	text-align:center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .06), 0 1px 0 0 rgba(0, 0, 0, .04);
    flex: 1 1 calc(50% - 50px);
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .home-section {
        flex: 1 1 100%;
        margin: 10px 0;
    }
}

img.homicon {
    width: 100px;
}
h2 {
    font-size: 22px;
    color: #555;
    margin: 10px 5px 20px 5px;
    padding: 7px;
}
.pera {
    letter-spacing: 0.5px;
    line-height: 25px;
	text-align:left;
}
a.homlink {
	background: #f7f8fc;
    border-radius: 30px;
    margin: 10px 2px;
    display: inline-block;
    padding: 8px 2px 6px 2px;
    text-decoration: none;
    font-size: 14px;
    color: #333;
    width: 100px;
    letter-spacing: 0.7px;
    box-shadow: 0px 1px 1px #ccc;
}
.homicon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2px;
}

.home-section-3 {
    margin: 15px;
    padding: 5px 10px 5px 10px;
    text-align: center;
    flex: 1 1 calc(30% - 12px);
    box-sizing: border-box;
    border-radius: 15px;
    font-size: 15px;
}

@media (max-width: 825px) {
   .home-section-3 {
       padding: 5px 2px 5px 10px;
       flex: 1 1 calc(30% - 6px);
       margin: 7px 5px;
       font-size: 14px;
    }
}

@media (max-width: 600px) {
   .home-section-3 {
       padding: 5px 2px 5px 20px;
       flex: 1 1 calc(45% - 12px);
       margin: 5px 2px;
    }
}

@media (max-width: 400px) {
   .home-section-3 {
       padding: 4px 1px 4px 10px;
       flex: 1 1 100%; 
       margin: 7px 0;
    }
}

a.formatlink {
	display: block;
	margin: 5px 5px 15px 5px;
    text-decoration: none;
    color: #333;
    background: #f7f8fc;
    padding: 10px 5px;
    border-radius: 50px;
    text-align: center;
	box-shadow: 0px 1px 1px #ddd;
	word-spacing: 5px;
}

 .buttons {
   margin-bottom: 25px;
}
.buttons button.active {
    border-bottom: 2px solid #459be3;
}
.ratio {
    width: 100px;
    font-size: 12px;
    background: #f4f7fa;
    color: #5d5d5d;
    border-bottom: 2px solid #ccc;
    border-radius: 0px;
	margin: 4px;
}
.tabs {
    padding: 5px;
    background: #fff;
    border-radius: 50px;
    width: 98%;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0px 0px 10px #eee;
}
a.tab {
    width: 70px;
    display: inline-block;
	padding: 4px 0px;
    text-decoration: none;
    color: #8f9397;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: bold;
    margin: 3px 4px 3px 4px;
    text-align: center;
    background: #eee;
    border-radius: 50px;
}
a.tab:hover {
	color: #fff;
	background: #3b8ed4;
}
.refresh {
	margin: 10px;
    width: 55px;
	padding: 4px;
    font-size: 14px;
    height: 38px;
    font-weight: normal;
    color: #ffffff;
    background: #f04e45;
	}
	
table {
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    margin: 3% auto;
    color: #444;
}
th:first-child, td:first-child {
    border-left: none;
}
th:last-child, td:last-child {
    border-right: none;
}
th {
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    color: #7a7a7a;
    font-weight: 600;
    letter-spacing: 1px;
    background-color: #e2e8ee;
    font-size: 14px;
}
tr {
    border-top: 1px solid #e2e8ee;
    height: 75px;
    background: #fff;
	font-size: 14px;
}
a.sampledownload {
	text-decoration: none;
    background: #f04e45;
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
}

.breadcrumbs {
    font-size: 13px;
    margin: 5px 10px;
    padding: 3px 5px;
    color: #f04e45;
	margin: 1% 5%;
	letter-spacing: 2px;
}
.breadcrumbs a {
    font-size: 12px;	
    color: #167cd1;
    text-decoration: none;
    letter-spacing: 0.5px;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}
a.toolink {
    width: 100%;
    background: #fff;
    display: block;
    text-decoration: none;
    line-height: 35px;
    font-size: 15px;
    letter-spacing: 0.5px;
    padding: 15px 0 7px 0;
    border-radius: 7px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .06), 0 1px 0 0 rgba(0, 0, 0, .04);
    color: #444;
}
img.toolicon {
    width: 60px;
}
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@media screen and (max-width: 767px) {
  .logo img {
    margin-left: 0px;
  }
}
@media screen and (max-width: 767px) {
  .logo {
    margin-left: 0px;
  }
}
@media screen and (max-width: 767px) {
  .container {
   padding:0px;
  }
}
@media screen and (max-width: 767px) {
  .about {
   margin:0px;
  }
}

@media screen and (max-width: 767px) {
  .about span{
   border-radius:2px;
   margin-top:-20px;
  }
}
@media screen and (max-width: 767px) {
  .main{
   margin-top:0px;
   margin-left:15px;
   margin-right:15px;
  }
}
