@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&family=Roboto:wght@300;400;500;700&display=swap');

body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
	color: #333;
    font-size: 15px;
    line-height: 1.6;
    background-color: #f4f4f4;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    color: #0056b3;
}

p {
    margin-bottom: 10px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
    font-weight: 300;
}

h1 {
    font-size: 30px;
    line-height: 1.2;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 20px;
	margin-bottom: 3px;
}

h4 {
    font-size: 16px;
	margin-bottom: 3px;
}

h5 {
    font-size: 15px;
}

h6 {
    font-size: 14px;
}

ul, ol {
    margin-bottom: 20px;
}

nav ul {
    background: #333;
    color: white;
    list-style: none;
    padding: 10px 0;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li a {
    color: white;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
}

#footer {
	text-align: center;
	margin-top: 20px;
	font-size: 12px;
	width: 90%;
}

iframe {
    width: 100%;
    border: none;
	min-height: 700px;
	overflow: visible;
}

#container {
	position: relative;
	width: 100%;
	max-width: 960px;
	margin: auto;
	text-align: left;
	background: #fff;
	padding: 30px;
	-webkit-box-shadow: 0 10px 10px -10px black;
    -moz-box-shadow: 0 10px 10px -10px black;
    box-shadow: 0 10px 10px -10px black;
}

#main {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* This ensures that both areas are of equal height */
    padding: 20px;
    flex-wrap: wrap;
}

#content {
	margin-top: 45px;
	width: 100%; 
	clear: both;
}

#demo-area {
    flex: 1 1 50%;
    padding-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    display: inline-block;
}

.image-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
}

.clickable-overlay {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 80%;
    height: 80%;
    background-color: transparent;
    z-index: 1;
    cursor: pointer;
}

#login-area, #click-area, #setup-area {
    max-width: 360px;
	flex: 1 1 50%;
    position: relative;
	flex-direction: column;
    justify-content: space-between;
	margin-top: 40px;
}

#setup-area {
	padding-top: 5px;
}

#setup-area-container {
	box-shadow: 0 2px 5px rgba(0,0,0,0.25);
	padding: 10px;
}

#click-area {
    margin: 0 5px 0 5px;
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 0.25rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
    transition: background-color 0.3s, border-color 0.3s;
	max-width: 315px;
}

#click-area:hover {
	font-size: 26px;
}

#click-area h2 {
    color: #000;
    margin: 8px;
    font-size: 24px;
	text-align: center;
	width: 90%;
}

#click-area p {
    color: #999;
    font-size: 16px;
	text-align: center;
	font-weight: bold;
}

#click-area p.sub-message {
    color: #999;
    margin-top: 30px;
	font-size: 14px;
}

#click-area form {
    margin: 0;
    background: #f4f4f4;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 0 3px #bbb;
    border: 1px solid #ddd;
}

#click-area .custom-button {
    border: none;
    color: inherit;
    padding: 0px;
    cursor: pointer;
    margin: 10px 0 5px 4px;
    width: 96%;
	height: 200px;
}

.demo-link {
    display: none;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    margin-left: 10px;
}

.demo-link:hover {
    background-color: #0056b3;
	color: white;
}

#forgotPassword-toggle {
    text-align: right;
}

.login-submenu {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
	margin-top: 15px;
}

#back-to-login {
	justify-content: flex-start;
}

.signup-link {
    color: #de1f26;
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
}

.signup-link:hover {
    text-decoration: underline;
}

.contact-section {
    margin-top: 20px;
}

.contact-section p {
    margin-left: 20px;
	padding-bottom: 15px;
}

#renewBar {
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	line-height: 15px;
	padding: 5px;
	margin-top: 8px;
	background: rgba(239,54,75,.5);
	color: #111;
}

#pleaseallow-area {
    display: flex;
    justify-content: center;
    align-items: center;
	width: 100%;
}

p.pleaseallow {
    font-style: italic;
	color: #0056b3;
}

#enter-sub {
    height: auto;
	min-height: 65%;
	transition: padding 0.3s;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: inset 0 0 10px #ccc;
    position: relative;
    overflow: hidden;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 0 3px #bbb;
}

#enter-sub:hover {
    background-color: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3), inset 0 0 10px #bbb;
	background: #f4f4f4;
	cursor: pointer;
}

#enter-sub h2 {
    font-weight: 700;
	font-size: 25px; /* Original font size */
}

/* ------------------- forms -------------------- */

/* ------------------- header -------------------- */
#header {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
	-webkit-box-shadow: 0 4px 10px -10px black;
    -moz-box-shadow: 0 4x 10px -10px black;
    box-shadow: 0 4px 10px -10px black;
	width: 100%;
	background: #f4f4f4;
}

/* wraps the account bar when logged in */
#headerTop {
    width: 99%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#companyLogo img {
    max-width: 300px;
    height: auto;
	margin-left: 30px;
}

#editionTitle {
    flex: 1;
    text-align: right;
	padding-right: 30px;
    font-size: 24px;
    margin: 0;
}

#headerAccount {
    display: flex;
    justify-content: flex-end;
	margin-bottom: 10px;
	margin-right: 10px;
}

#headerAccount .accountName {
    margin: 7px 20px 0 0;
}

.accountLink {
    margin-left: 10px;
    padding: 3px 10px;
    background-color: #cecece;
    border-radius: 5px;
    transition: background-color 0.3s;
    text-decoration: none;
    color: #333;
}

.accountLink:hover {
    background-color: #ddd;
}

/* ------------------- admin -------------------- */
.container-admin {
	position: relative;
	width: 100%;
	margin: auto;
	text-align: left;
	padding: 0;
}

#container-iframe {
    margin: auto;
    padding: 0px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#headerAdmin a {
	float: left;
}

#headerAdmin .btnAdmin {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background-color: #cecece;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
	min-width: 100px;
    text-align: center;
}
}

#headerAdmin .btnAdmin:hover {
    background-color: #a8a8a8;
}

#headerLogout {
    position: absolute;
    top: 10px;
    right: 10px;
}

#headerLogout a {
    display: inline-block;
    margin-left: 20px;
}

#frame-admin {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

#content-admin {
	margin-top: 20px;
	width: 100%;
	min-height: 700px;
	padding: 0px;
}

#content-admin #clickhelp {
    display: block;
    margin-bottom: 20px;
    text-align: center;
}

div#content.summary-admin {
	margin: 0;
}

#summary th {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    cursor: pointer;
}

.summary_title {
    margin: 0 20px 10px 0;
}

/* ------------------- prices bar when exists -------------------- */

#prices {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    max-width: 1200px;
    margin: auto;
    padding: 10px 0;
}

.price-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 2px 15px;
	margin: 0 10px;
    text-align: center;
}

.price-card h1, .price-card p, .price-card h2 {
    margin-bottom: 10px;
}

.price-card h1, .price-card p {
    font-size: smaller;
}

.price-card h2 {
    color: #333;
    font-weight: 600;
}

.price-card p {
    color: #666;
    font-size: 14px;
	margin-bottom: 2px;
}

/* ------------------- TABULLLLLS!!!! -------------------- */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	font-size: 12px;
}

th, td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
}

tr.heading, td.heading, tr.heading a, td.heading a {
    background-color: #0056b3;
    color: #ffffff;
}

tr.title {
    background-color: #fff;
}

tr.odd {
    background-color: #f2f2f2;
}

tr.even {
    background-color: #ffffff;
}

td#summary-action-item {
    width: 35px;
    padding: 8px 4px;
    text-align: center;
}

td a {
    color: #0056b3;
    text-decoration: none;
}

td a:hover {
    text-decoration: underline;
}

.td_email {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clickable {
    cursor: pointer;
}

.sort-arrow {
    font-size: 0.8em;
}

form.export-form {
    box-shadow: none;
	padding: 0;
	background: #f4f4f4;
}

/* Style for the export button */
.styled-button, button.styled-button#export-sub-list {
    background-color: #45a049;
    border: 1px solid #45a049;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    box-shadow: none;
}

.styled-button:hover {
    background-color: #ffffff;
    color: #45a049;
	border: 1px solid #45a049;
}

.export-form {
    text-align: right;
	max-width: none;
}

.edit-form-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 4px;
}

.edit-form-container h4 {
    margin-bottom: 26px;
}

.admin-summary-table tr.heading {
	background: none;
}

.admin-summary-table tr.heading a {
	background: none;
	color: #333;
}

.admin-summary-table .title {
    cursor: pointer;
    background-color: #f9f9f9;/
    color: #333;
    padding: 5px;
    border-bottom: 2px solid #ddd;
	font-size: 13px;
}

.admin-summary-table .title.asc:after {
    content: "▲";
    padding-left: 5px;
	color: green;
}

.admin-summary-table .title.desc:after {
    content: "▼";
    padding-left: 5px;
	color: green;
}

.admin-summary-table .title:hover {
    background-color: #f0f0f0;
    text-decoration: underline;
}

/************** NEW ****************/

/* Modal base styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 50%; /* Adjust width as needed */
  max-width: 95vh;
  position: fixed; /* Fixed position */
  top: 50%; /* Position halfway down the viewport */
  left: 50%; /* Position halfway across the viewport */
  transform: translate(-50%, -50%); /* Shift the modal to center it in the viewport */
  max-height: 80vh; /* Maximum height is 80% of the viewport height */
  overflow-y: auto; /* Allows scrolling within the modal */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Adds a shadow for better visibility */
  z-index: 1050; /* Ensures the modal is above other content */
  overflow-y: auto; /* Adds scroll to the modal if content overflows */
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}cursor: pointer;
}

.faq-container {
  margin-top: 20px;
}

.modal-content h2 {
	padding-bottom: 10px;
	border-bottom: 2px solid #ccc;
}

.faq h4 {
  color: #007bff;
  cursor: pointer;
  font-size: 20px;
  padding-bottom: 15px;
}

.faq p {
  display: none;
  padding-bottom: 10px;
  margin-left: 30px;
  width: 85%;
}






.column-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.column-container .form-group {
    flex-basis: calc(50% - 10px); /* 50% width with margin in between */
}

.backButton {
    padding: 10px 20px;
    background-color: #f2f2f2;
    border: 1px solid #dcdcdc;
    cursor: pointer;
}

.backButton:hover {
    background-color: #e2e2e2;
}

/* Sticky button container */
#sticky-button-container {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #f4f4f4;
    margin-bottom: 5px; /* Creates some space between the button and the table */
}

/* Scrollable table container */
#scrollable-table-container {
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    border: 1px solid #ddd;
}

/* Ensure table takes full width */
.admin-summary-table {
    width: 100%;
    table-layout: auto;
}

button#helpBtn {
    color: #007bff;
    border: none;
    background: inherit;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

button#helpBtn:Hover {
    cursor: pointer;
	color: #0056b3;
}

/* Only targets the help modal's content */
#helpModal .modal-content {
    max-height: 85vh; /* Restrict height for this modal only */
    overflow: hidden; /* Prevent outer modal from scrolling */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Ensures scrolling only inside the help-container */
#helpModal .help-container {
    max-height: 75vh; /* Restrict help-container height */
    overflow-y: auto; /* Enable vertical scrolling within help-container */
    padding-right: 10px; /* Optional: adds space for scrollbar */
}

#helpModal .help-container ul li {
    padding-left: 20px; /* Indent content inside each list item */
    text-indent: -10px; /* Optional: adjust for hanging indent effect */
}

/* ------------------- Mobile Media Queries -------------------- */
@media only screen and (max-width: 768px) {
    .desktop-view {
        display: none;
    }
    .mobile-view {
        display: block;
		padding-top: 10px;
    }
    .dropdown {
        position: relative;
        display: inline-block;
    }
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
    }
    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }
    .dropdown:hover .dropdown-content {
        display: block;
    }
	#viewPricingDropdown .dropbtn {
        background: #ffffff;
		border: 1px solid #e0e0e0;
		border-radius: 4px;
		padding: 15px;
		margin: 0 10px;
		text-align: center;
    }
	.container {
		padding: 10px;
	}
    #viewPricingDropdown .dropbtn:hover {
        background-color: #e0e0e0;
    }
    #dropdownContent {
        position: absolute;
        left: 0;
        right: auto;
        width: auto;
        background-color: #f9f9f9;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
    }
    #dropdownContent a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }
	#form-footer {
        align-items: flex-start;
    }
	#main {
        flex-direction: column;
		padding: 5px;
    }
	 #container-iframe {
        padding: 10px;
    }
    #content-admin {
        padding: 10px;
    }
	#demo-area {
        display: none;
    }
	#header {
		width: 90%;
		margin: 0;
	}
	#headerTop {
        flex-direction: column;
        align-items: flex-start;
    }
    #headerContainer {
    	width: 90%;
    }
    #editionTitle {
        align-self: flex-end;
        width: 100%;
        margin: 0;
		padding: 2px 10px 5px 0;
    }
    h1#editionTitle  {
        font-size: 20px;
		margin: 4px;
    }
	 #companyLogo img {
        align-self: flex-start;
        max-height: 60px;
		margin: 5px;
		width: auto;
    }
    #headerAccount {
        align-items: flex-start;
    }
	.demo-link {
	display: inline-block;
	}
	.price-card {
	flex-basis: 100%;
	width: 100%;
    }
    .price-card h1, .price-card p {
        font-size: smaller;
    }
	input[type="text"], input[type="password"], input[type="submit"], input[type="button"] {
    height: auto !important;
	}
	p.pleaseallow {
    padding-top: 10px;
	width: 90%;
	}
	#headerRenew {
    width: 90%;
	}
	#footer {
	padding-left: 30px;
	}
	#login-area, #click-area, #setup-area {
    margin-top: 0;
	margin-right: 5px;
	}
	.accountLink {
    height: 48px;
	}
	.faqModal {
	position: fixed; /* Fixed position to cover the whole screen */
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
        z-index: 1000; /* Ensure it's above other content */
        overflow-y: auto; /* Allow scrolling for longer content */
        padding: 20px; /* Padding around the content */
	}
	.modal-content {
        background-color: #fff; /* Background for the content */
        margin: 10% auto; /* Centering the content */
        padding: 20px;
        width: 50%; /* Responsive width */
        border-radius: 10px; /* Rounded corners */
    }
}

@media only screen and (min-width: 769px) {
    .mobile-view {
        display: none;
    }
}

/* Utility Classes */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

