/*
Original design: Variant Portal (v1.0 - Jun 26, 2010) - A free xhtml/css website template by Andreas Viklund.
For more information, see http://andreasviklund.com/templates/variant-portal/
*/

*{margin:0;padding:0;}

html{
	height:100%;
}
body{
	
	color:#555;
	font:100% Arial, tahoma, verdana, sans-serif;
	min-height:100%;
}

a{color:#286ea0;text-decoration:none;}
a:hover{text-decoration:underline;}
a img{border:0;}

h1{
	font-size:2.1em;
	letter-spacing:-1px;
	margin:0 0 5px; 
	padding:0;
	font-weight: bold;
}


h2{font-size:1.6em;margin:0 0 12px; padding:0;}
h3{font-size:1.3em;margin:0 0 10px; padding:0;}
p, ul{line-height:1.5em;margin:0 0 18px;text-align:left;}
ul,ol {list-style:auto; margin:0 0 15px 0px; }
ol.listnumber {padding-left: 10px;}
hr {clear:both; visibility:hidden;}
table {}/*li {min-width:300px;}
ul#navitab li.active{		font-weight: bold;		background:#777 url(images/corner.gif) no-repeat top right !important;		border-left:1px solid #aaa !important;		color:#eee !important;		}*/
#container{
	background:#fff;
	/*margin:15px auto 0 auto;*/
	/*width:980px;*/
	margin:0px auto 0 auto;
	width:80%;
	padding: 10px 0px 0px 0px;
}

.scrFreeHome{ 
	/*THIS IS FOR PC SIZE SCREEN, NORMAL SCREE, NON-MOBILE*/
	max-width:45%;
	object-fit: contain;
	/*width: auto;
    height: auto;*/
	width: 45%;
	height: auto;
	/*float:left;*/
	display:block;
	padding-bottom:10px;
}

.restOf{
	margin-top:10px;
		display:inline-block;
		max-width: 98%;
}

.sideBullets{
	
	display:  grid;
	padding-left:35px;
}

.sectionImgBulletPoints{
	display:flex;
  align-items:end;

}

@media only screen and (max-width: 480px) {
	/*screen of a mobile phone, less than 600px*/
	.scrFreeHome{
		max-width:98%;
		object-fit: contain;
		width: 98%;
		height: auto;
		/*float:none;*/
	}
	.sectionImgBulletPoints{
		
		display:block;
	}
}	

.downloadLink{
	font-size: 15px;
    text-align: center;
/*    float: left; */
width:33%;
    display: block;
    /*background-color: #f8f8f8; */
	background-color: #eee;
    border: 1px solid #bbbbbb;
    padding: 12px;
    margin-bottom: 12px;
    margin-right: 12px;
    color: #000000;
	margin-top: 10px;
}

#toplinks {width:400px; float:right;margin:0 15px 0 0;}
#toplinks p {text-align:right;}
#logo{
	/*width: 950px;*/
	/*width:80%;	*/
	margin: 0 auto; 
	padding: 10px 0 0 16px;
	min-height: 70px; 
	font-size: 22px;
}
#logo h1 a{color:#777;padding:0;}
#logo h1 a:hover{text-decoration:none;}
#logo p{color:#555;font-size:1.4em;}
#desc{background:#555;clear:both;color:#eee;margin:0 0 5px;padding:15px 15px 2px 15px;}
#desc a{color:#eee;text-decoration:underline;}

#main{
	/*float:left;*/
	padding:0; 
	margin:0px 15px 10px 15px; 
	display: flex;

	/*width:80%;*/
}


#footer{clear:both;background:#555; color:#eee ;margin:10px 0 0;padding:3px;text-align:left;}
#footer a{color:#eee;}
#footer p{margin:0; font-size:0.9em; font-weight:700;}

ul#navitab{margin:0;padding:0;}
ul#navitab li{display:block;float:left;margin:0;padding:0;}
ul#navitab li a{ /*highliting of the selected oage*/	background:url(images/corner.gif) no-repeat top right #eee;	border-left:1px solid #ccc;	border-right:2px solid #fff;	color:#555;	display:block;	height:1.2em;	padding:5px 16px 7px;	text-align:center;	text-decoration:none;	/*text-transform:uppercase; */	white-space:nowrap;}
ul#navitab li a:hover{		background:#eee url(images/corner.gif) no-repeat top right;	border-left:1px solid #aaa;	/*color:#eee;
	background:#555 url(images/corner.gif) no-repeat top right;
	*/	text-decoration:underline;}
ul#navitab li a.current{
	background:#777 url(images/corner.gif) no-repeat top right;
	border-left:1px solid #555;
	color:#eee; 

}

ul#navitab li.active a{
	/*background:#2a14a2 url(images/corner.gif) no-repeat top right !important;	
color:#eee; 
	background:#4B77A1 url(images/corner.gif) no-repeat top right !important;	*/
	background:#a2ff83 url(images/corner.gif) no-repeat top right !important;
	border-left:1px solid #aaa;	
	color:#000000;
}


.splitleft {width:48%;float:left;}
.splitright {margin-left:52%;}

.right{text-align:right;}
.block{background:#eee url(images/corner.gif) no-repeat top right;padding:15px;border-bottom:1px solid #ccc;border-left:1px solid #ccc;}
.hide{display:none;}

#paypal-button-container{
	display:inline-block
}
#content1{
	display:inline-block;
	vertical-align: top;
	margin: 17px 10px 5px 17px
}

#main-content-box{
	display: flex;
	
}

/* ADDING OUR OWN */
.showTooltip {

   margin: 0 auto;
   cursor: pointer;
   font-family: system, sans-serif;
   position:absolute;
}

.showTooltip:hover::after {
		content: attr(data-tip);
		top: 3.5em;
		left: 2em;
		background-color: midnightblue;
		color: white;
		font-size: 12px;
		padding: .25em .5em;
		position:absolute;
		width:105px;
}

.wTooltip {

   margin: 0 auto;
   cursor: pointer;
   font-family: system, sans-serif;
   position:absolute;
}

.wTooltip:hover::before {
		content: attr(data-tip);
		top: -9em;
		left: -5em;
		background-color: midnightblue;
		color: white;
		font-size: 12px;
		padding: .25em .5em;
		position:absolute;
		width:275px;
}


.bshowHTip {
    text-decoration:none;
    position:relative;
}
.bshowHTip span {
    display:none;
}
.bshowHTip:hover span {
    display:block;
    position:fixed;
    overflow:hidden;
}

.showHTip {

   margin: 0 auto;
   cursor: pointer;
   font-family: system, sans-serif;
   color:white !important;
}

.showHTip:hover::after {
		content: attr(data-tip);
		top: 2.5em;
		left: 0.5em;
		background-color: midnightblue;
		color: white;
		font-size: 12px;
		padding: .25em .5em;
		position: relative;
		width:105px;
	
}

.couponcode {
    color: red;
    cursor: pointer;
}

.couponcode:hover .coupontooltip {
    display: block;
}

.coupontooltip {
    position: absolute;
    white-space: nowrap;
    display: none;
    background: #ffffcc;
    border: 1px solid black;
    color: black;
    padding: 5px;
    z-index: 1000;
	max-width: 25%;
	white-space: pre-wrap;
	mouse
}

.infoClass{
	display:inline-block;
	width:12px;
	height:12px;
	padding-left:3px;
	padding-top:3px;
}
.hiderClass{
	visibility:hidden;
}

.rightPart{
	float:right;
	padding-left: 10px;
}

.noDisp{
	display:none
}


.container_row {
    border: 1px solid red;
    height: 50px;
    margin: 0;
    position: relative;
}

.layer1 {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    height: 50px;
}

.layer2 {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    height: 50px;
    border: 1px solid green;
}

#headerDivID{
	display:none;
	
}

.headerContents{
	
	min-height: 300px;
	min-width: 90%;
	
	font-family: monospace;
	font-size: 13.333;
	border-width: 1px;
	border-style: solid;
}

table#holder {
    border: 5px dashed #CCC;
    width:100%;
    font-family:Verdana;
}
table#holder tr:first-child {
    height:25px;

}
table#holder tr:last-child {
   height:25px;
   line-height: 50px;
}
table#holder li img {
    height: 30px;
}

.dropHighlight {
  border-color: purple !important;
}

#holder{
    display: block;
    overflow: hidden;
    overflow-wrap: anywhere;
    padding: 3px;
min-height: 150px;
}

#fileNameLabel{
    overflow-wrap: anywhere;
}

#textAreaurlID {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25)
}

#descID{
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25)
}

.prominent-button {
      display: inline-block; /* Keep buttons inline */
  /*    background-color:  #4CAF50; /* rgb(162, 255, 131); Green background */
	  
  background-color: rgb(162, 255, 131); /* Updated button background color */
      color: #333; /* Dark text color for contrast */


      border: none; /* No border */
      padding: 15px 30px; /* Increased padding */
      font-size: large; /* Larger font size */
      cursor: pointer; /* Pointer cursor on hover */
      border-radius: 5px; /* Rounded corners */
      transition: background-color 0.3s; /* Smooth transition */
      margin: 10px; /* Spacing between buttons */
margin-left: -1px;
  }

  .prominent-button:hover {
     /* background-color: #45a049; /* Darker green on hover */
 background-color: rgb(112, 240, 100); /* Slightly darker green on hover */
      /*color: white; /* Change text color to white on hover */
  }

/* =====================================================
   MOBILE RESPONSIVE STYLES
   ===================================================== */
@media only screen and (max-width: 768px) {

  /* Main container adjustments */
  #container {
    width: 95% !important;
    padding: 5px 0 !important;
  }

  /* Make panes stack vertically in single column */
  #leftPane,
  #rightPane {
    float: none !important;
    width: 100% !important;
    padding: 15px 10px !important;
    box-sizing: border-box;
  }

  /* Outer div should stack children */
  #outerDiv {
    display: block !important;
  }

  /* Main content box - stack vertically */
  #main-content-box {
    display: block;
    flex-direction: column;
  }

  #main {
    display: block;
    margin: 0 10px 10px 10px !important;
  }

  /* Make prominent buttons larger and full-width on mobile - only when visible */
  /* Use higher specificity without forcing display */
  button.prominent-button,
  #read-file.prominent-button,
  #btnClear.prominent-button {
    width: 100% !important;
    padding: 18px 20px !important;
    font-size: 1.2em !important;
    margin: 10px 0 !important;
    min-height: 55px !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
  }

  /* Ensure input buttons with prominent-button class get mobile treatment when visible */
  input[type="submit"].prominent-button {
    width: 100% !important;
    padding: 18px 20px !important;
    font-size: 1.1em !important;
    margin: 10px 0 !important;
    min-height: 55px !important;
    box-sizing: border-box;
  }

  /* Hide desktop file input on mobile - replaced by mobile picker buttons */
  #fileID {
    display: none !important;
  }

  /* Hide file name label on mobile - mobile picker shows its own */
  #fileNameLabel {
    display: none !important;
  }

  /* Hide drag and drop area on mobile */
  table#holder,
  #holder {
    display: none !important;
  }

  /* Hide the "Or Drop a File Here" section completely */
  #rightPane > p:first-of-type {
    display: none !important;
  }

  /* Textarea styling for mobile */
  #descID {
    width: 100% !important;
    font-size: 16px !important; /* Prevents iOS zoom on focus */
    padding: 12px !important;
    min-height: 100px;
    box-sizing: border-box;
  }

  /* URL output textarea - style but don't force display */
  #textAreaurlID {
    width: 100% !important;
    font-size: 16px !important;
    padding: 12px !important;
    min-height: 80px;
    box-sizing: border-box;
  }

  /* Drop zone is hidden on mobile - no styling needed */

  /* Progress bar - style but don't force display */
  #progressbar {
    margin: 15px 0 !important;
    height: 30px;
  }

  .progress-label {
    font-size: 1.1em !important;
    top: 6px !important;
  }

  /* Status text - style but don't force display */
  #statusTextId {
    font-size: 1em !important;
    line-height: 1.5;
    padding: 10px 0;
  }

  /* User info span */
  #userInfoSpan {
    font-size: 1em;
    padding: 10px 0;
  }

  /* Resume button - style when visible */
  #resumeButtonID {
    width: 100% !important;
    padding: 15px 20px !important;
    font-size: 1.1em !important;
    margin: 10px 0 !important;
    min-height: 50px !important;
    background-color: rgb(162, 255, 131);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-sizing: border-box;
  }

  /* Upload result section - use flexbox for ordering on mobile */
  #uploadResultSection {
    display: flex;
    flex-direction: column;
  }
  #progressbar {
    order: 1;
  }
  #statusContainer {
    order: 2;
  }
  #urlID {
    order: 3;
  }
  #newUploadContainer {
    order: 10; /* Always last */
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
  }

  /* Copy and preview URL buttons - prominent styling */
  #copyURLid,
  #clickURLid {
    width: 100% !important;
    margin: 10px 0 !important;
    min-height: 55px !important;
    font-size: 1.2em !important;
    box-sizing: border-box;
  }

  /* URL textarea - more prominent on mobile */
  #textAreaurlID {
    border: 3px solid #4CAF50 !important;
    background: #f0fff0 !important;
  }

  /* Send Another File button - less prominent, appears last */
  #newUploadID {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 0.95em !important;
    margin: 0 !important;
    min-height: 44px !important;
    background: linear-gradient(180deg, #f8f8f8 0%, #e0e0e0 100%) !important;
    border: 1px solid #bbb !important;
    border-radius: 8px;
    cursor: pointer;
    box-sizing: border-box;
    color: #666 !important;
  }

  /* Intro text adjustments */
  #introTextID {
    font-size: 0.95em;
    line-height: 1.6;
  }

  #introTextID p {
    margin-bottom: 15px;
  }

  /* Tech details link */
  #techDetails {
    padding: 10px 0;
    font-size: 1.1em;
  }

  /* Images in right pane */
  #rightPane img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
  }

  /* Split columns should also stack */
  .splitleft,
  .splitright {
    width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
  }

  /* Download links */
  .downloadLink {
    width: 100% !important;
    margin-right: 0 !important;
    padding: 15px !important;
  }

  /* Navigation tabs - scrollable on mobile */
  ul#navitab {
    display: flex;
    flex-wrap: wrap;
    overflow-x: auto;
  }

  ul#navitab li {
    flex: 0 0 auto;
  }

  ul#navitab li a {
    padding: 10px 12px !important;
    font-size: 0.9em;
  }

  /* Logo adjustments */
  #logo {
    padding: 10px 10px 0 10px !important;
    font-size: 18px !important;
  }

  /* Footer */
  #footer {
    padding: 10px !important;
  }

  #footer p {
    font-size: 0.85em !important;
  }
}

/* Extra small devices (phones in portrait) */
@media only screen and (max-width: 480px) {
  /*screen of a mobile phone, less than 480px*/
  .scrFreeHome{
    max-width:98%;
    object-fit: contain;
    width: 98%;
    height: auto;
    /*float:none;*/
  }
  .sectionImgBulletPoints{
    display:block;
  }

  /* Even larger buttons for small phones - only affects visible buttons */
  button.prominent-button,
  #read-file.prominent-button,
  #btnClear.prominent-button {
    padding: 20px !important;
    font-size: 1.3em !important;
    min-height: 60px !important;
  }

  input[type="submit"].prominent-button {
    padding: 20px !important;
    font-size: 1.2em !important;
    min-height: 60px !important;
  }

  /* Container full width */
  #container {
    width: 100% !important;
  }

  /* Pane padding adjustment */
  #leftPane,
  #rightPane {
    padding: 10px 8px !important;
  }
}

/* =====================================================
   MOBILE LANDSCAPE - Compact buttons and single column
   ===================================================== */
@media (orientation: landscape) and (max-width: 950px) {
  .header-wrapper {
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    max-width: 100% !important;
  }

  #logo {
    margin: 0 auto 0 0 !important;
    min-height: auto !important;
    padding: 5px 10px 0 10px !important;
  }

  #logo h1 {
    font-size: 1.2em !important;
  }

  .action-buttons-container {
    gap: 4px !important;
    padding: 0.3rem 0 !important;
  }

  .action-btn {
    min-height: 32px !important;
    padding: 4px 8px !important;
    font-size: 10px !important;
  }

  .action-btn .btn-text {
    display: none !important;
  }

  .action-btn .btn-icon-svg {
    width: 16px !important;
    height: 16px !important;
    margin-right: 0 !important;
  }

  /* Single column layout */
  #main, #main-content-box, #outerDiv {
    display: block !important;
  }

  #leftPane, #rightPane {
    width: 100% !important;
    float: none !important;
    padding: 10px !important;
  }

  .splitleft, .splitright {
    width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
  }

  /* Keep style elements hidden */
  style {
    display: none !important;
  }
}

/* Fallback landscape detection */
@media (min-aspect-ratio: 1/1) and (max-height: 500px) {
  .action-btn {
    min-height: 32px !important;
    padding: 4px 8px !important;
  }

  .action-btn .btn-text {
    display: none !important;
  }

  #leftPane, #rightPane {
    width: 100% !important;
    float: none !important;
  }

  style {
    display: none !important;
  }
}