@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('nav.css');

body {
    background-color: #F2F2F2;
    margin: 0;
    padding: 0;
    font-family: Poppins;
    width: 100%;
    height: 100%;
    display:flex;
    flex-direction: column;
    flex-wrap:nowrap;
	min-height: 100vh;
}

.hidden { display: none; }

a {
    color: #314FA6;
}

.btn-link {
    border: none;
    color: #314FA6;
    background: transparent;
}

h1 {
    color: #181f4c;
    font-weight: 500;
    font-size: 36px;
}

h2,
#reset-password h2,
#new-password h2 {
    margin-top:10px;
    font-size: 22px;
}

h3 {
    margin-top:10px;
    font-size: 18px;
}

.w-500 {
   font-weight: 500;
}

#page-title {
    color: white;
    font-size: 32px;
}

.container-flex,
.container-fluid {
    margin: auto;
    padding: 0 !important;
    max-width: 900px;
    background: #F2F2F2;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: space-between;
}

#account-page .container-flex {
    width: 60%;
}

.container-flex.wide,
#reset-password-page.container-flex,
#register-page .container-flex,
#login-page .container-flex {
    max-width: none;
    width: 100%;
    flex-flow: column;
    height: 100%;
}

#reset-password-page .box {
    height: fit-content;
    flex: 0 0 auto;
    width: 50%
}

#reset-password-page #right-panel {
    height: calc(100vh - 70px);
}

#fix-panel {
    height: calc(100vh - 70px);
    display:flex;
    flex-direction: column;
    align-items:center;
    justify-content: center;
    background-image: url("https://chronicle.software/wp-content/uploads/2022/12/fixdocs.png");
    background-position: center center;
    background-size: cover;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.4);
    padding: 50px 100px;
}

#services-panel {
    height: calc(100vh - 70px);
    display:flex;
    flex-direction: column;
    align-items:center;
    justify-content: center;
    background-image: url("https://chronicle.software/wp-content/uploads/2022/12/servicesdocs.png");
    background-position: center center;
    background-size: cover;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.4);
    padding: 50px 100px;
}

#queue-panel {
    height: calc(100vh - 70px);
    display:flex;
    flex-direction: column;
    align-items:center;
    justify-content: center;
    background-image: url("https://chronicle.software/wp-content/uploads/2022/12/queuedocs.png");
    background-position: center center;
    background-size: cover;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.4);
    padding: 50px 100px;
}

#default-panel {
    height: calc(100vh - 70px);
    display:flex;
    flex-direction: column;
    align-items:center;
    justify-content: center;
    background-image: url("https://chronicle.software/wp-content/uploads/2022/12/alldocs-e1671119705637.png");
    background-position: center center;
    background-size: cover;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.4);
    padding: 50px 100px;
}

#docs-a {
    color: blue;
    font-size: 16px;
}

#reset-password-content {
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
}

#contact,
.abstract-bg {
    background-image: url("../images/bg.jpg");
    max-width: none;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: white;
    flex-grow: 1;
}

#contact .container-flex,
.abstract-bg .container-flex {
    background: transparent;
    margin: auto;
}

.abstract-bg .container-flex {
	color: white;
}

.abstract-bg .container-flex a {
	color: white;
	font-weight: bold;
}

#contact a {
    color: #00AFF0;
    font-weight: 500;
}

#contact a:hover {
    color: #314FA6;

}

#not-found h1 {
	color: white;
}

#admin .container-flex {
    max-width: 1100px;
}

#admin .btn-primary:disabled {
    background-color: rgba(4, 170, 109, 0.48);
    cursor: default;
}

#admin .btn-primary.pending,
#resources-list .btn-primary.pending {
    height: fit-content;
    width: fit-content;
    cursor: default;
}

input[type=submit],
#admin-register .btn-primary,
#admin .btn-primary,
#account .btn-primary,
#contact .btn-primary,
#downloads .btn-primary,
#right-panel .btn-primary,
#licenses .btn-primary,
#home .btn-primary,
#reset-password .btn-primary,
#resources-list .btn-primary,
#tools-list .btn-primary,
#new-password .btn-primary,
#new-password .btn-primary-clicked {
    background-color: #314FA6;
    border: none;
    border-radius: 3px;
    padding: 10px 20px;
    color: white;
    font-weight: 500;
    width: auto;
    height: fit-content;
}

input[type=file] {
	cursor: pointer;
}

#admin .btn-primary,
#admin .remove-btn {
    padding: 5px 10px;
    font-size: 0.9em;
}

#resources-list .btn-primary.request-access {
    background-color: #00A79D;
    padding-right: 35px;
}

#request-i {
    margin-left: -30px;
    z-index: 1000;
    color: white;
}

#account .btn-primary:hover,
#admin .btn-primary:hover,
#admin-register .btn-primary:hover,
#resources-docs .btn-primary:hover,
#tools-docs .btn-primary:hover,
#right-panel .btn-primary:hover,
#licenses .btn-primary:hover,
#reset-password .btn-primary:hover,
#resources-list .btn-primary:hover,
#tools-list .btn-primary:hover,
#home .btn-primary:hover,
#new-password .btn-primary:hover {
    background-color: #181f4c;
    color: white;;
}

#right-panel .btn-primary,
#right-panel .btn-primary-clicked,
#reset-password .btn-primary {
    margin-bottom: 0px;
}

#admin-register .btn-primary-clicked:disabled,
#right-panel .btn-primary-clicked:disabled {
    background: #04AA6D;
    color: white;
    cursor: default;
}

#new-password .btn-primary,
#new-password .btn-primary-clicked {
    margin-bottom: 20px;
}

#admin .btn-primary.pending:disabled {
    background-color: rgba(0, 167, 157, 0.44);
    color: white;
    cursor: default;
}

#resources-list .btn-primary.pending,
#admin-register .btn-primary:disabled,
#right-panel .btn-primary:disabled,
#resources-docs .btn-primary:disabled,
#reset-password .btn-primary:disabled,
#new-password .btn-primary:disabled {
    background-color: rgba(49, 79, 166, 0.49);
    color: white;
    cursor: default;
}

#right-panel .btn-primary:hover:enabled,
#reset-password .btn-primary:hover:enabled,
#new-password .btn-primary:hover:enabled {
    background-color: #4EACEA;
    color: white;
}

#home-login {
    margin: 0;
	flex-grow: 1;
}

#left-panel,
#right-panel,
.login-form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-form-container {
	width: 100%;
	max-width: 970px;
	justify-content: center;
}

#left-panel {
    justify-content: center;
    padding: 50px 70px;
}

#right-panel {
    background-image: url("../images/bg.jpg");
    background-position: center center;
    background-size: cover;
    background-color: white;
    padding:25vh 100px;
    justify-content: start;
}

/* OAuth social sign in buttons */
.oauth-icons {
    text-align: center;
	display: flex;
	gap: 50px;
	padding: 0;
}

.oauth-icons li {
	list-style: none;
}

.oauth-icons a {
	background-color: white;
	border-radius: 5px;
	padding: 10px;
	display: block;
}

.oauth-icons a::before {
	margin-right: 5px;
	color: black;
}

.oauth-icons a.bi-facebook::before {
    color: rgb(24, 119, 242);
}

.oauth-icons a.loading {
	background-color: #d9d9d9;
	cursor: wait;
}

.oauth-icons a.loading .spinner-border {
	margin-right: 5px;
}

.bi-google::before {
    background: conic-gradient(from -45deg, #ea4335 110deg, #4285f4 90deg 180deg, #34a853 180deg 270deg, #fbbc05 270deg) 73% 55%/150% 150% no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.login-form-container #login,
.oauth-pane > p {
	margin-bottom: 30px !important;
}

.oauth-pane > p {
	color: white;
	text-align: center;
	font-size: 20px;
}

#auth-register-form input[type=submit] {
	margin-right: 15px;
}

#auth-register-form .cancel {
	color: #505050;
}


#licences .box {
    margin-top: 10px;
}

.box {
    max-width: 900px;
    margin-top: 25px;
    margin-bottom: 10px;
    background: white;
    border-radius: 5px;
    border: 1px solid #e2e2e2;
    padding: 0;
    background-color: white;
    height: auto;
    width: 100%;
}

#resources-list .box,
#tools-list .box {
    width: available;
    margin: 0;
}

.box .title h3,
.box .product-title h3 {
    padding: 0;
    font-size: 24px;
}

#licences .product-title {
    padding: 20px 30px;
}

.title .fa {
    font-size: 24px;
}

.box .content {
    padding: 25px;
    margin: 0px;
}

.box .title,
.box .product-title {
    border-bottom: 1px solid lightgray;
    padding: 10px 20px;
    width: 100%;
    display: flex;
}

.content.adapters {
    border-top: 1px solid lightgray;
}

.tab,
.container-flex,
.container-fluid {
    max-width: 900px;
}

.content.download {
    border-bottom: 1px solid lightgray;
    background: #181f4c;
}

#login a {
    text-decoration: none;
    cursor: pointer;
}

#account label,
.reset-password label,
#contact label,
.register-form label {
    margin-bottom: 5px;
    font-weight: 500;
}

#contact textarea {
    height: 120px;
}

#reset-password,
#new-password {
    border-radius: 5px;
}

#login, #register, #reset-password {
    border-radius: 0px 5px 5px 5px;
    margin-top: 0px;
    display: block;
}

#register-page #register {
    border-radius: 5px;
}

#login,
#admin-register,
#register,
.tab,
#reset-password,
#new-password,
.wrapper {
    max-width: none;
}

#reset-password {
    display:none;
}

.success-msg,
.error-msg {
    margin: 10px 0;
    padding: 10px 15px;
    width: auto;
    border-radius: 5px;
}

.error-msg {
    color: #D0504E;
    background: rgba(208, 80, 78, 0.27);
}

.success-msg {
    background: rgba(4, 170, 109, 0.38);
    color: rgb(22, 96, 65);
}

.submitBtn {
    margin-top: 10px;
    background-color: #314FA6;
    border: none;
    border-radius: 3px;
    padding: 10px 20px;
    color: white;
    font-weight: 600;
    width: auto;

}

input::placeholder {
    color: #181818;
}

input[type=email]:read-only,
input[type=email]:disabled {
    color: gray;
}

#license-picker {
    gap: 15px;
    margin-bottom: 15px;
}

#license-picker select {
    font-size: 16px;
    border: 1px solid lightgray;
    border-radius: 3px;
    background-color: #F7F8F9 !important;
    padding: 10px 14px;
    color: black;
    font-weight: 400;
    word-wrap: break-word;
    word-break: break-all;
    display: block;
    width: 100%;
}

#license-picker select[disabled] {
    opacity: 0.5;
}

#license-picker > div:not(:first-of-type) {
    display: none;
}

input[type=email],
input[type=email]:-webkit-autofill,
input[type=text],
input[type=password],
input[type=password]:-webkit-autofill,
textarea {
    font-size: 16px;
    border: 1px solid lightgray;
    border-radius: 3px;
    background-color: #F7F8F9 !important;
    padding: 10px 15px;
    width: 100%;
    margin-bottom: 15px;
    color: black;
    font-weight: 400;
    word-wrap: break-word;
    word-break: break-all;
}

.form-control:focus {
    border-color: #181F4C !important;
    box-shadow: 0 0 5px rgba(24, 31, 76, 1) !important;
}

#left-panel .row {
    margin-top: 20px;
    height: auto;
    width: 100%;
}

#left-panel .bi  {
    font-size: 34px;
    color: #181f4c;
}

#left-panel h3 {
    line-height: 1.4em;
    font-size: 20px;
    font-weight: 400;
}

.docs-user {
    font-style: italic;
}

.login-image {
    width: 220px;
    height: 330px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
}

#login-docs-image {
    width: 550px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
}

.docs-h3-top {
    margin-top: 0;
}

.docs-h3-bottom {
    margin-top: 20px;
}

/* Style the tab */
.tab {
    justify-content: start;
    width: 100%;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: rgba(255, 255, 255, 0.55);
    float: left;
    border: none;
    border-radius: 5px 5px 0px 0px;
    outline: none;
    cursor: pointer;
    padding: 14px 20px;
    transition: 0.3s;
    color: black;
    font-weight: 500;
    margin-right: 10px;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: white;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: white;
}

/* Style the tab content */
.tabcontent {
    padding: 25px;
    display: none;
}

.register-panel {
    background-image: url("../images/bg.jpg");
    background-position: center center;
    background-size: cover;
    min-height: 100%;
    background-color: white;
    padding: 60px 70px;
    height: 100%;
}

.register-panel h2 {
    margin-bottom: 1em;
}

/* Download */
.change-btn {
    text-decoration: none;
    color: #314FA6;
    cursor: pointer;
}

/* Help Page */

#help-menu a,
#help-menu p{
    margin-bottom: 8px;
    font-size: 13px;
    color: #4765BA;
}

#help-menu a:hover {
    text-decoration: underline;
    cursor: pointer;
    color: #00AFF0;
}

#help-menu h3 {
    margin-top: 20px;
}

.help-title, #account-title {
    padding-top: 30px;
    padding-bottom: 0;
    font-size: 24px !important;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
}

.line {
    border-top:1px solid lightgrey;
    margin-top: 10px;
    margin-bottom: 20px;
}

.line-margin, .answer {
    margin-left: 20px;
    padding-right: 20px;
}

.box-subscription, .box-license {
    margin-top: 0px;
    background: white;
    border-radius: 5px;
    padding: 20px 10px 10px 10px;
    border: 1px solid #e2e2e2;
    margin-bottom: 40px;
}

/* Contact Us */

#contact-title {
    padding-top: 50px;
    padding-bottom: 0;
    margin-bottom: 0;
    color: #181f4c;
}

#contact-us-title {
    padding-top: 50px;
    padding-bottom: 0;
    margin-bottom: 0;
    color: #fff;
}

#contact-desc {
    padding-top: 20px;
    color: white;
}



label[for=subject], label[for=message] {
    margin-top: 10px;
}

.licence h3 {
    font-size: 20px;
}

#licences .add-new {
    width: 125px;
}

.licence {
    margin-top: 25px;
    background: white;
    border-radius: 5px;
    border: 1px solid #C7C7C7;
}

.licence-header h4 {
    font-size: 16px;
}

.licence-header {
    padding: 25px;
    border-bottom: 1px solid #C7C7C7;
}

.licence-details {
    padding: 25px;
}

.licence-details p {
    margin-bottom: 2px;
}

#licences select,
#licences select:hover,
#licences select:active,
#licences select:target,
#licences select:focus-visible,
#licences select:focus {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    font-weight: 500;
    border: none;
    outline: none;
    width: auto;
    color: #314FA6;
}

.licence select:hover,
.licence select:active,
.licence select:target,
.licence select:focus-visible,
.licence select:focus {
    text-decoration: underline;
}

#licences h2,
#resources h2,
#tools h2 {
    font-size: 22px;
    margin: 5px;
}

#admin h2 {
    font-size: 18px;
    margin: 0px;
}

#admin tbody {
    padding: 0 1em;
}

#admin .loader {
    width: 48px;
    height: 48px;
    border: 5px solid #181F4C;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#admin #request-list {
    margin: 1em 0.75em;
    overflow-x: scroll;
    display: block;
    max-height: 600px;
    overflow-y: scroll;
    padding: 0;
    overflow-x: scroll;
    justify-content: center;
    border: 1px solid #181F4C;
}

#admin table {
    font-size: 0.8em;
    background: white;
    border-collapse: separate;
    border-spacing: 0;
    padding: 0;
}

#admin #thead {
    position: sticky;
    top: 0;
    border: 1px solid rgba(146, 202, 242, 0.45);
}

#admin th,
#admin td {
    padding: 0.8em;
    color: #181F4C;
    border: 1px solid rgba(146, 202, 242, 0.45);
}

#admin th {
    font-weight: 500;
    background-color: rgb(179, 213, 236);
    text-transform: uppercase;
}

#admin td {
    align-items: center;
}

#admin td p {
    margin: 0;
}

#admin .remove-btn.active {
    background-color: rgba(241, 40, 40, 0.31);
    color: rgba(241, 40, 40, 1);
}

button > i {
    pointer-events: none;
}

button:focus {
    box-shadow: none !important;
    outline:0 !important;
}

.new-licence {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: white;
    transition: opacity 200ms;
    visibility: hidden;
    opacity: 0;
}

.new-licence .wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.new-licence:target {
    visibility: visible;
    opacity: 1;
    background: #1e252bdf;
}

#login-message {
    color: #00aff0;
}

.multiselect-dropdown {
    width: auto;
    min-width: 200px;
}

.multiselect-dropdown-list-wrapper {
    display: block;
}

.adapters {
    padding: 20px 30px;
}

.adapters p {
    margin-bottom: 0;
}

#account .box title,
#help .box .product-title,
#licences .box .product-title {
    margin: 0px;
}

#licences select {
    border: none;
    width: auto;
    color: #314FA6;
    padding: 0;
}

#home,
#licences-list,
#resources-list,
#tools-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
}

#request-list .request-access-form {
    justify-content: space-between;
    display:flex;
    flex-direction: row;
    align-items: center;
}

#request-list .box .title,
#request-list .box .content {
    padding: 1em;
}

#request-list .request-access-form p {
    margin: 0;
}

#request-list {
    display: flex;
    flex-direction: column;
    align-content: center;
}

#resources-list .product-title.locked,
#resources-list .content p.locked {
    opacity: 1;
}

#resources-list .fa-lock {
    translate: -0px;
}

#pending-msg {
    display: none;
}

#resources .error-msg,
#pending-msg > p {
    text-align: center;
    margin-bottom: 0;
}

#resources-list .content p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 22px; /* fallback */
    height: 114px; /* fallback */
    -webkit-line-clamp: 5; /* number of lines to show */
    -webkit-box-orient: vertical;
}

#home .content p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 22px;     /* fallback */
    height: 70px;      /* fallback */
    -webkit-line-clamp: 3; /* number of lines to show */
    -webkit-box-orient: vertical;
}

#home .product-title,
#licences-list .product-title,
#resources-list .product-title {
    background-color: #181f4c;
    font-family: Poppins;
    width: 100%;
    height: 150px;
    padding: 25px 30px;
    color: white;
    display:flex;
    flex-direction: column;
    position: relative;
    border-radius: 5px 5px 0px 0px;
    opacity: 1;
}

#tools-list .product-title {
    background-color: #181f4c;
    font-family: Poppins;
    width: 100%;
    height: 160px;
    padding: 25px 30px;
    color: white;
    display:flex;
    flex-direction: column;
    position: relative;
    border-radius: 5px 5px 0px 0px;
    opacity: 1;
}

#licences-list .product-title {
    height: auto;
}

#home .content,
#resources-list .content {
    padding: 25px;
}

#home .product-title::before,
#licences-list .product-title::before,
#resources-list .product-title.queue-docs::before,
#resources-list .product-title.matching_engine_docs::before,
#resources-list .product-title.services-docs::before,
#resources-list .product-title.services-cookbook::before,
#resources-list .product-title.javadocs::before,
#resources-list .product-title.fix-docs::before,
#resources-list .product-title.isolate-docs::before {
    background-position: center;
    background-size: 500px;
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.2;
}

#licences-list .product-title::before,
#home .product-title.licences::before {
    background-image: url("https://chronicle.software/wp-content/uploads/2019/10/iStock-830661162.jpg");
    opacity: 0.4;
}

#home .product-title.downloads::before {
    background-image: url("../images/bg.jpg");
}

#home .product-title.resources::before {
    background-image: url("https://chronicle.software/wp-content/uploads/2019/10/iStock-629666970.jpg");
}

#resources-list .product-title.queue-docs::before {
    background-image: url("https://chronicle.software/wp-content/uploads/2021/12/iStock-628025710-scaled.jpg");
}

#resources-list .product-title.javadocs::before,
#resources-list .product-title.matching-engine-docs::before {
    background-image: url("../images/bg.jpg");
}

#resources-list .product-title.fix-docs::before {
    background-image: url("https://chronicle.software/wp-content/uploads/2019/10/iStock-673266772.jpg");
}

#tools-list .product-title.fix-parser {
    background-image: url("https://chronicle.software/wp-content/uploads/2024/03/Screenshot-2024-03-08-at-16.28.47.png");
    background-size: contain;
}

#tools-list .product-title.code-generator {
    background-image: url("https://chronicle.software/wp-content/uploads/2024/03/Screenshot-2024-03-08-at-16.54.31.png");
    background-size: contain;
}

#tools-list .product-title.release-notes {
    background-image: url("https://chronicle.software/wp-content/uploads/2024/03/Screenshot-2024-03-08-at-17.00.28.png");
    background-size: contain;
}

#tools-list .product-title.services-diagram {
    background-image: url("https://chronicle.software/wp-content/uploads/2024/03/Screenshot-2024-03-08-at-17.01.48.png");
    background-size: contain;
}

.tools-info {
    margin-top: auto;
    margin-bottom: auto;
}

.tools-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

/* Modal Box */
.tools-modal> .modal-content {
  background-color: #fefefe;
  margin: 20% auto auto auto;
  padding: 20px;
  border: none;
  border-radius: 6px;
  width: 40%;
}

.tools-modal > .modal-content > .close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.tools-modal > .modal-content > .close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.tools-modal > .modal-content > .tool-cta-btn {
  margin-left: auto;
  margin-right: auto;
  max-width: 150px;
}

#resources-list .product-title.services-cookbook::before,
#resources-list .product-title.isolate-docs::before {
    background-image: url("https://chronicle.software/wp-content/uploads/2023/01/iStock-532115220-scaled.jpg");
    background-position: top left;
}

#resources-list .product-title.services-docs::before {
    background-image: url("https://chronicle.software/wp-content/uploads/2021/12/iStock-656479394-kopia-scaled.jpg");
}

#home {
    margin-top: 5vh;
}

#home .box,
#admin-register .box,
#admin .box,
#licences-list .box {
    margin: 10px;
    flex: 1 1;
    min-width: 250px;
}

#admin .box {
    margin: 3px;
}

#home .tag,
#resources-list .tag,
#licences-list .tag,
#tools-list .tag {
    width: fit-content;
    height: fit-content;
    border-radius: 0px 3px 3px 0px;
    text-transform: uppercase;
    padding: 3px 15px 3px 30px;
    font-weight: 500;
    font-size: 14px;
    translate: -30px;
}

#licences-list .title-row {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
    align-items: center;
}

#home .name,
#resources-list .name,
#licences-list .name {
    font-weight: 500;
    font-size: 24px;
    translate: -0px;
    line-height: 28px;
}

.tools-name {
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 5px;
}

#licences-list .download-btn {
    translate: -0px;
    width: fit-content;
    color: #181f4c;
    background-color: white;
    padding: 5px 20px;
    border-radius: 5px;
}

#licences-list .download-btn:hover {
    background-color: #00AFF0;
}

.tag {
    background: rgb(124, 143, 199);
    color: #181f4c;
}

.tag.docs {
    background: #00AFF0;
}

.tag.FIX {
    background: #00A79D;
}

.tag.SERVICES {
    background: #E29633;
}

.tag.cookbook {
    background: #558AC8;
}

.tag.pdf,
.tag.article,
.tag.Technical.Report,
.tag.active {
    background: #00A79D;
}

.tag.video {
    background: #C779A8;
}

.collapsible {
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid lightgray;
  color: black;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  outline: none;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}

#help, .collapsible:hover, .collapsible.active {
  background-color: #3155a5;
  border-radius: 5px 5px 0 0;
  color: white;
}

.active {
    margin-bottom: 0;
}

.collapsible:hover::after {
    color: white;
}

.collapsible:after {
  content: '\002B';
  color: black;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
    color: white;
}

#help .active:after {
  content: "\2212";
}

#help-page {
    background-color: #F2F2F2;
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    max-width: none;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    justify-content: space-between;
}

#help-page .container-flex {
    background: transparent;
    margin: auto;
}

.content-help {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  border-radius: 0 0 5px 5px;
  transition: max-height 0.2s ease-out;
  background-color: #fff;
  margin-bottom: 10px;
}

.content-help.active {
  border-left: 1px solid lightgray;
  border-right: 1px solid lightgray;
  border-bottom: 1px solid lightgray;
  color: black;
}

.content-help > p {
padding-top: 10px;
}

.box-help {
    margin-top: 20px;
    background: none;
    padding: 25px;
    margin-bottom: 40px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.help-title {
    padding-top: 12px;
}

#account-title {
    padding-top: 0;
}

#account .bi-check2-square,
#account .bi-pencil-square {
    margin: 0 5px 0 10px;
}

#account .saved {
    color: #00A79D;
    pointer-events: none;
}

.gui-split-button {
    border-radius: 6px;
    display: flex;
    background-color: hsl(220 75% 50%);
    color: hsl(220 82% 98%);
    fill: hsl(220 82% 98%);

    touch-action: manipulation;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.gui-split-button button {
    align-items: center;
    border-radius: 6px 0 0 6px;
    color: hsl(220 82% 98%);
    fill: hsl(220 82% 98%);
    font-weight: 500;
    padding: 12px 25px;
    text-align: center;
    text-shadow: hsl(220 75% 40%) 0 1px 0;

    cursor: pointer;
    appearance: none;
    background: none;
    border: none;

    display: inline-flex;
    gap: 1ch;
    white-space: nowrap;
    font-family: inherit;
    font-size: inherit;
    padding-block: 1.25ch;
    padding-inline: 2.5ch;

}

.gui-split-button > button {
    border-end-start-radius: 6px;
    border-start-start-radius: 6px;
}

.gui-split-button > button > svg {
    fill: none;
    stroke: hsl(220 90% 5%);
}

.gui-popup-button {
    inline-size: 4ch;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-inline-start: 6px;
    border-start-end-radius: 6px;
    border-end-end-radius: 6px;
}

.gui-popup-button {
    align-items: center;
    background-color: hsl(220 75% 50%);
    border-radius: 0 6px 6px 0;
    color: hsl(220 82% 98%);
    display: flex;
    fill: hsl(220 82% 98%);
    justify-content: center;
}

#account input[type=text]:disabled {
    background-color: #ffffff !important;
    padding: 0;
    cursor: default;
    border: none;
}

#account input::placeholder {
    color: #000000;
}

#account input[type=checkbox] {
    margin-left: 0.75em;
}

.account-setting {
    display: flex;
    flex-direction: row;
}

.account-setting .btn-primary {
    margin-left: 10px;
    display: none;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #181F4C;
}

input:focus + .slider {
    box-shadow: 0 0 1px #181F4C;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

#shell-in-a-box .container-flex {
    max-width: unset;
}

#shell .menu {
    background: #181F4C;
    height: 100vh;
}

#shell .terminal iframe {
    width: 100%;
    height: 100%;
}

#shell .terminal {
    background: white;
    height: 100vh;
    margin: 0;
    padding: 1em;
}

#release-notes-embed {
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile */

@media screen and (max-width: 1030px) {
    #right-panel .tab button {
        padding: 10px;
        font-size: 14px;
    }
}

@media screen and (max-width: 990px) {
    #left-panel {
        justify-content: left;
        align-items: start;
        height: auto;
    }

    #left-panel .row {
        margin-top: 0;
    }

    h1 {
        font-size: 32px;
    }

    #right-panel {
        height: auto;
        min-height: 0;
        padding-top:5vh;
        padding-bottom:5vh;
    }

    #home .product-title::before,
    #licences-list .product-title::before,
    #resources-list .product-title.queue-docs::before,
    #resources-list .product-title.matching_engine_docs::before,
    #resources-list .product-title.services-cookbook::before,
    #resources-list .product-title.services-docs::before,
    #resources-list .product-title.javadocs::before,
    #resources-list .product-title.fix-docs::before {
        background-size: 900px;
    }

}


@media screen and (max-width: 600px) {

    #home-login {
        align-content: start;
    }

    #account-page .container-flex {
        width: unset;
    }

    #left-panel {
        padding: 2em;
    }

    #left-panel h1 {
        font-size: 24px;
        font-weight: 600;
    }

    #account h3,
    #left-panel h3 {
        font-size: 14px;
    }

    #left-panel .bi {
        font-size: 24px;
    }

    #right-panel {
        padding: 0;
        display: block;
    }

    #right-panel .btn-primary {
        width: 100%;
    }

    /* Style the buttons that are used to open the tab content */
    #right-panel .tab button {
        padding: 10px 5px;
        font-size: 12px;
        font-weight: 500;
        margin-right: 0;
        background-color: white;
        border-radius: 0;
        width: 100%;
    }

    #right-panel .tab button.active {
        border-bottom: 3px solid blue;
    }

    #account p,
    #account a,
    #account button,
    #account label,
    #account input,
    #contact input,
    #contact p,
    #contact textarea,
    #contact label,
    #right-panel input {
        font-size: 0.8em;
    }

    #account p,
    #account a,
    #account label,
    #account input,
    #right-panel input {
        word-wrap: break-word;
        word-break: break-all;
    }

    #right-panel .tab {
        width: 100%;
        display: flex;
        background-color: white;
        justify-content: space-between;
    }

    #right-panel .tabcontent {
        padding: 1.3em;
    }

    #right-panel .box {
        border-radius: 0;
    }

    #contact .box,
    #account .box {
        margin-top: 5px;
    }

    #contact .box .content,
    #account .box .content {
        padding: 15px;
    }

    #account .box .title {
        padding: 5px 15px;
    }

    #resources-list .content p,
    #tools-list .content p {
        line-height: 1.3em;
        font-size: 0.9em;
    }

    #register-page .name {
        flex-direction: column;
    }
}

/* Overrides/fixes for embedded Antora docs */
.nav-container .nav .panels {
    justify-content: space-between;
}

.nav-panel-menu .nav-menu {
    opacity: 1 !important;
    overflow-x: hidden;
}

.nav-panel-menu::after {
    display: none !important;
}

/* Fancy table style */
table.fancy {
	border: 1px solid #d9d9d9;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 5px;
	background: white;
	padding: 0;
	box-shadow: 0px 5px 10px #004cae0d;
}

table.fancy th {
	background-color: #f4f4f4;
}

table.fancy th,
table.fancy td {
	padding: 10px;
	border-bottom: 1px solid #d9d9d9;
	min-height: 60px;
	height: 60px;
	transition: all 0.2s ease;
}

table.fancy tr:nth-child(even) {
	/* Uncomment if alternating row background colours are required */
	/* background-color: #f5f8ff; */
}

/* Decorative swatches to the left of the table */
:root {
	--swatch-width: 15px;
	--swatch-offset-x: 880px;
	--swatch-height: 60px;
	--gradient-blue: linear-gradient(45deg, #1970e1 0%, #222e7d 100%);
}

table.fancy tr > th:first-of-type,
table.fancy tr > td:first-of-type {
	position: relative;
	padding-left: calc(var(--swatch-width) + 10px);
	min-width: 250px;
}

table.fancy tr > td:first-of-type:before {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	height: 60px;
	width: var(--swatch-width);
	content: "";
	border-bottom: 1px solid #9d9d9d;
	transition: all 0.2s ease;
}

table.fancy tr > td:first-of-type:before {
	background-image: url("https://chronicle.software/wp-content/uploads/2024/07/abstract-swatches-vertical.jpg");
}

table.fancy tr:nth-child(1)  > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -1) + 1px); }
table.fancy tr:nth-child(2)  > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -2) + 1px); }
table.fancy tr:nth-child(3)  > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -3) + 1px); }
table.fancy tr:nth-child(4)  > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -4) + 1px); }
table.fancy tr:nth-child(5)  > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -5) + 1px); }
table.fancy tr:nth-child(6)  > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -6) + 1px); }
table.fancy tr:nth-child(7)  > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -7) + 1px); }
table.fancy tr:nth-child(8)  > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -8) + 1px); }
table.fancy tr:nth-child(9)  > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -9) + 1px); }
table.fancy tr:nth-child(10) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -10) + 1px); }
table.fancy tr:nth-child(11) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -11) + 1px); }
table.fancy tr:nth-child(12) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -12) + 1px); }
table.fancy tr:nth-child(13) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -13) + 1px); }
table.fancy tr:nth-child(14) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -14) + 1px); }
table.fancy tr:nth-child(15) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -15) + 1px); }
table.fancy tr:nth-child(16) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -16) + 1px); }
table.fancy tr:nth-child(17) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -17) + 1px); }
table.fancy tr:nth-child(18) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -18) + 1px); }
table.fancy tr:nth-child(19) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -19) + 1px); }
table.fancy tr:nth-child(20) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -20) + 1px); }
table.fancy tr:nth-child(21) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -21) + 1px); }
table.fancy tr:nth-child(22) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -22) + 1px); }
table.fancy tr:nth-child(23) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -23) + 1px); }
table.fancy tr:nth-child(24) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -24) + 1px); }
table.fancy tr:nth-child(25) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -25) + 1px); }
table.fancy tr:nth-child(26) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -26) + 1px); }
table.fancy tr:nth-child(27) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -27) + 1px); }
table.fancy tr:nth-child(28) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -28) + 1px); }
table.fancy tr:nth-child(29) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -29) + 1px); }
table.fancy tr:nth-child(30) > td:first-of-type:before { background-position: var(--swatch-offset-x) calc((var(--swatch-height) * -30) + 1px); }

table.fancy tr:hover td {
	background-color: #F6F8FF;
}

table.fancy tr:hover td:first-of-type {
	padding-left: calc(var(--swatch-width) + 15px) !important;
}

table.fancy tr:hover td:first-of-type:before {
	width: calc(var(--swatch-width) + 5px) !important;
}

table.fancy td.max-width {
	width: 100%;
	min-width: 250px;
}

table.fancy td.min-width {
	width: 0;
}

table.fancy select {
	width: 180px !important;
}

table.fancy .btn {
	background: var(--gradient-blue);
	border: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	/* Use to style the placeholder text of the <select2> */
}

.select2-container--default .select2-selection--single {
	/* Use to style the background of the <select2> */
}

.select2-container--default .select2-results,
.select2-container--default .select2-results > .select2-results__options {
	max-height: 500px !important;
}

.select2-container--default .select2-dropdown {
	box-shadow: 0px 5px 10px #004cae0d;
}

/* Breadcrumbs below the top nav */
.panel-top nav.breadcrumbs {
	border-top: 1px solid #434c79;
	background: #333c75;
	background: linear-gradient(50deg, #131a44 0%, #03387b 100%);
	border-bottom: 1px solid #efefef;
	color: white;
	padding: 14px;
	font-size: 14px;
}

.panel-top nav ul {
	display: flex;
	align-items: center;
	gap: 10px;
}

.panel-top nav ul,
.panel-top nav li {
	list-style-type: none;
	margin: 0;
	padding: 0;
	line-height: 30px;
}

.panel-top nav li {
	border-right: 1px solid #d9d9d9;
	padding-right: 10px;
}

.panel-top nav li:first-of-type:before {
	margin-right: 10px;
}

.panel-top nav li:last-of-type {
	border-right: none;
}

.panel-top nav a {
	color: white;
}

.panel-top nav.breadcrumbs .select2 {
	margin-left: 7px;
	width: 180px;
}

/* Javadoc quick version selector buttons */
a.pill {
	background-color: #f2f9ff !important;
	display: inline-block;
	border-radius: 5px;
	padding: 1px 5px;
	border: 1px solid #d9d9d9;
}

.versions,
.version-selectors {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 5px;
}

.version-selectors {
	flex-grow: 1;
}

.version-selectors > a {
	width: calc(100% / 3 - 5px);
	text-align: center;
	flex-wrap: nowrap;
	overflow: hidden;
}

/* Admin Settings */
#admin-settings {

	table {
		td[data-th="Client"] {
			a {
				margin-right: 10px;
			}
		}

		td[data-th="Status"] {
			max-width: 500px;
		}
	}
	
}

#dialog-registration-status label {
	padding: 3px 5px;
	border-radius: 5px;
	color: white;
	width: 100px;
	text-align: center;
}

.bi:not(:empty)::before {
	padding-right: 7px;
}

a.button.bi:hover::before {
	color: white;
}

/* Downloads */
#downloads .page-content {
	max-width: 900px;
}

#downloads .dataTables_filter {
	position: absolute;
	right: 0;
	margin-top: calc(var(--ui-element-height) * -1 - 40px); /* Negative offset for margin/padding above */
}

#downloads table {
	border-collapse: separate;
	border-spacing: 0 10px;
}

#downloads table,
#downloads th,
#downloads tr,
#downloads td {
	border: none;
	white-space: nowrap;
}

#downloads th {
	padding: 5px;
	font-weight: 500;
	background-color: white;
}

#downloads td > a {
	padding: 10px 0;
}

#downloads_table_info,
#downloads_table_filter,
#downloads_table_length,
#downloads_table_paginate {
	display: none;
}

#downloads td {
	padding: 0 10px;
}

#downloads td:not(:first-child),
#downloads th:not(:first-child) {
    padding-left: 20px;
    padding-right: 20px;
}

#downloads_table {
	margin-bottom: 0;
}

#downloads_table a {
	color: inherit;
	cursor: pointer;
	display: flex;
	align-items: center;
}

#downloads_table a.not-allowed {
	cursor: not-allowed;
}

#downloads .btn-primary {
	padding: 5px 10px;
	font-weight: normal;
	justify-content: center;
}

#downloads {

	header {

		position: relative;

		menu {
			position: absolute;
			right: 0;
			top: -4px;
			display: flex;
			gap: 5px;
		}
	}

	.upload-pane {
		display: flex;
		justify-content: center;
		width: 100%;
		height: 200px;
		background: var(--color-blue-lowlight);
		color: white;
		font-size: 17px;
		font-weight: normal;
		border-radius: 5px;
		align-items: center;
		text-align: center;
		text-wrap: pretty;
		box-shadow: 0 0 4px gray inset;
		padding: 30px;
		margin-bottom: 10px;
		cursor: pointer;
	}

	.upload-pane.dragover {
		background: var(--color-blue-highlight);
	}

	.upload-files-form {
		display: flex;
		justify-content: center;
		flex-direction: column;
		gap: 20px;

		input {
			margin-bottom: 0;
		}

		input:focus {
			outline: none;
		}
	}

	#refresh_encryption_password {
		cursor: pointer;
		font-size: 20px;
		vertical-align: middle;
		border-radius: 50%;
		color: var(--color-blue-active);
		display: inline-block;
		text-align: center;
	}
	
}



#downloads h3 {
	margin-bottom: 5px;
}

.bi-folder-fill::before {
	color: #f2a208;
}

.bi-file-fill::before {
	color: #98ceff;
}