﻿/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

/* Accedia */
.grid-button {
    margin-left: 10px;
}

    .grid-button:first-child {
        margin-left: 0;
    }

.grid-delete {
    color: #d9534f;
}

    .grid-delete:hover {
        color: #c9302c;
    }

.sup-text {
    position: relative;
    top: -0.5em;
    font-size: 80%
}

/* BEGIN POPUP WINDOW */

#popup .k-form-error.k-invalid-msg.field-validation-error {
    font-size: small;
}

#popup {
    padding: 0;
}

    #popup * {
        /* this is bootstrap default behaviour, but kendo overwrites it because of the kendo window */
        box-sizing: border-box;
        font-size: 14px;
    }

    #popup sup {
        font-size: x-small;
    }

.popup-body {
    overflow: auto;
    height: calc(100% - 90px); /* need to leave space for the footer */
    padding: 10px;
    margin-bottom: 50px
}

.full-popup-body {
    height: auto;
    margin-bottom: 10px
}

.popup-footer {
    box-sizing: border-box !important;
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    padding: 10px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
    background-color: #eeeeee;
}

.popup-button {
    min-width: 70px;
    margin-left: 5px !important
}

.k-window-title {
    font-size: 20px;
    padding-block: 0.25em;
}

.k-window-titlebar {
    background-color: #eeeeee;
}

.k-window input:read-only {
    background-color: #e4e7eb;
}

/* END POPUP WINDOW */

/* BEGIN DIALOG WINDOW */

.holiday-dialog.k-window.k-dialog {
    font-size: 14px;
    border-radius: 0.2rem;
    border-width: 0px;
    background-color: lemonchiffon;
    border-left-width: 4px;
    border-left-color: gold;
    padding-top: 10px;
    padding-bottom: 10px;
}

    .holiday-dialog.k-window.k-dialog .k-window-titlebar.k-dialog-titlebar, .k-window.k-dialog .k-window-content.k-dialog-content {
        background: none;
        border: none;
        padding-block: 0.5rem;
        padding-right: 4px;
        padding-left: 20px;
    }

    .holiday-dialog.k-window.k-dialog .k-window-titlebar.k-dialog-titlebar {
        padding-bottom: 0px;
    }

    .holiday-dialog.k-window.k-dialog .k-window-content.k-dialog-content {
        padding-right: 20px;
    }

    .holiday-dialog.k-window.k-dialog .k-window-titlebar.k-dialog-titlebar .k-window-title.k-dialog-title {
        font-size: 14px;
    }

    .holiday-dialog.k-window.k-dialog .k-window-titlebar.k-dialog-titlebar .k-window-titlebar-actions.k-dialog-titlebar-actions .k-window-titlebar-action.k-dialog-titlebar-action {
        padding: 0px;
        margin-top: -10px;
        margin-right: 7px;
    }

    .holiday-dialog.k-window.k-dialog .k-button-md.k-icon-button .k-button-icon.k-svg-icon > svg, .holiday-dialog.k-window.k-dialog .k-button-md.k-icon-button .k-button-icon.k-icon-md > svg {
        width: 12px;
        height: 12px;
    }

    .holiday-dialog.k-window.k-dialog .k-button-md.k-icon-button .k-button-icon {
        min-width: 1rem;
        min-height: 1rem;
    }

/* END DIALOG WINDOW */

/* BEGIN Grid Edit Row */
.k-grid-table .k-validator-tooltip {
    color: white;
}

.k-grid-edit-input .k-textbox {
    font-size: 0.875rem;
    line-height: 1.4285714286;
    border-radius: 0.25rem;
}

/* END Grid Edit Row */

/* Begin Validator */

.field-validation-error {
    font-size: 13px;
}

/* END Validator */

.k-content {
    outline: 0px;
}

.display-honey, .form-group-h, .required-form-field, .form-field, .label-form-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1
}

/* see: https://stackoverflow.com/a/13184714/261010 */
a.anchor {
    display: block;
    position: relative;
    top: -54px;
    visibility: hidden;
}

/* dark nav, see: https://medium.com/wdstack/bootstrap-4-custom-navbar-1f6a2da5ed3c# */

/* change the link color */
.nav-dark .nav-link {
    color: rgba(255,255,255,.666);
}

    /* change the color of active or hovered links */
    .nav-dark .nav-link:focus,
    .nav-dark .nav-link:hover {
        color: #ffffff;
    }

html {
    font-size: 20px;
}

h2.dvdpt {
    font-family: "Zilla Slab", Serif;
    /*font-weight: 300;*/
    letter-spacing: -.03em;
    font-size: 60px;
    line-height: 1.2em !important;
}

/* BEGIN TRY NOW button */

.btn.try-now-button.btn-orange {
    /* 
        This style is required from v2024 documentation, HTML embedded in ASP.NET MVC website.
        The TRY NOW button changed text color to blue as the bootstrap a:visited links
    */
    background-color: orangered;
    color: #FFF;
}

.btn-orange {
    background-color: orangered;
    color: #FFF;
}

    .btn-orange:hover {
        background-color: #D93C00;
        color: #FFF;
    }

/* END TRY NOW button */

/* BEGIN Documentation */

/* 
    Documentation v2024, the header section of the Documentation/Index view 
    needs these styles for proper formatting.
*/

.custom-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.section-title-wrapper {
    max-width: 70%;
    flex-basis: 100%; /* Takes up full width initially */
    margin-bottom: 10px; /* Add margin bottom for spacing on small screens */
}

.section-title {
    margin: 0; /* Remove default margin for the title */
}

input.form-control.search-input {
    height: auto;
}


.search-input-wrapper {
    max-width: 30%;
}

@@media (max-width: 576px) {
    .search-input-wrapper {
        max-width: 100%;
    }
}

/* END Documentation */

/* BEGIN From: Bootstrap 5 css */

@media (min-width: 1400px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl {
        max-width: 1320px;
    }
}

/* From: https://stackoverflow.com/a/72875436/261010 */

@media (min-width: 1600px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl {
        max-width: 1500px;
    }
}

@media (min-width: 1800px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl {
        max-width: 1680px;
    }
}

.jumbotron-display-1 {
    font-size: 5rem;
    font-weight: 300;
    line-height: 1.2;
}

.jumbotron-display-3 {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
}

.jumbotron-display-4 {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.2;
}

.jumbotron-industries {
    padding-top: 8em;
    padding-bottom: 4em;
    margin-bottom: 0;
    background-position: center;
}

.jumbotron-text {
    max-width: 50%
}

.try-now-button {
    margin-left: 12px;
}

footer .list-unstyled {
    font-size: 18px;
}

.homepage-header-image {
    background-image: url('/assets/images/headers/cpp.jpg');
    background-position: center;
    background-repeat: no-repeat;
}

.pricing-other-way-section {
    padding: 0 7em 0 7em;
}

@media only screen and (max-width: 1024px) {
    .try-now-button {
        margin-left: 5px;
        font-size: 15px;
    }

    .album .card-body {
        padding: 0.5rem;
    }

    .album h4.card-title {
        font-size: 1.3rem;
    }

    .eyeshot-header .eyeshot-title {
        padding-top: 250px;
        padding-left: 40px;
    }

    .new-features-sidebar, .software-escrow-sidebar {
        border-left: 1px solid #999;
    }

    .header-section-text {
        max-width: 50%;
    }
}

@media only screen and (max-width: 821px) and (min-width: 600px) {
    footer .col-md-2 {
        max-width: 22%;
    }

    .learn-more-label {
        font-size: 17px;
    }

    .container-banner {
        max-width: 100%;
    }

    .pricing-other-way-section {
        padding: 0 1em 0 1em;
    }

    .jumbotron-industries {
        padding: 20px;
        background-repeat: no-repeat;
        background-position: top;
    }

    .customer-keys {
        font-size: 17px;
    }

    .question-label {
        font-weight: 500;
        font-size: 40px !important;
    }

    .sticky-top {
        position: initial;
    }

    .album .card-body {
        padding: 0.5rem;
    }

    .album h4.card-title {
        font-size: 1.3rem;
    }

    .try-now-button {
        margin: auto;
        margin-left: 5px;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .eyeshot-header .eyeshot-title {
        padding-top: 250px;
        padding-left: 40px;
    }

    .new-features-sidebar {
        border-left: 1px solid #999;
    }

    .software-escrow-sidebar {
        border-left: 0;
    }

    .header-section-text {
        max-width: 50%;
    }
}

@media only screen and (min-width: 1023px) {
    footer .list-unstyled {
        font-size: 21px;
    }

    .jumbotron-display-1 {
        font-size: 6rem;
    }

    .jumbotron-display-3 {
        font-size: 4.5rem;
    }

    .jumbotron-display-4 {
        font-size: 3.5rem;
    }

    .eyeshot-header .eyeshot-title {
        padding-top: 250px;
        padding-left: 40px;
    }

    .new-features-sidebar, .software-escrow-sidebar {
        border-left: 1px solid #999;
    }

    .about-us-office-image {
        max-width: 800px;
    }

    .header-section-text {
        max-width: 50%;
    }
}

@media only screen and (max-width: 600px) {
    .try-now-button {
        margin-left: 0;
        font-size: 15px;
    }

    .homepage-header-image {
        background-position: top;
    }

    .pricing-other-way-section {
        padding: 0 1em 0 2.5em;
    }

    .blog-pagination {
        font-size: 1rem;
    }

    .sticky-top {
        position: initial;
    }

    h2.dvdpt {
        font-size: 50px;
    }

    div.next-steps a {
        width: 100%;
    }

    .jumbotron-industries {
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
        background-repeat: no-repeat;
        background-position: top;
    }

    .jumbotron-text {
        max-width: 100%;
        padding-bottom: 5px;
    }

    .p-5 {
        padding: 1.5rem !important;
    }

    .display-4 {
        font-size: 2.6rem;
    }

    .whats-new-title {
        font-size: 16px;
        min-height: 60px;
    }

    .whats-new-text {
        font-size: 14px;
    }

    .eyeshot-header .display-2 {
        font-size: 3rem;
    }

    .eyeshot-header .eyeshot-title {
        padding-top: 50%;
        padding-left: 5%;
    }

    .sticky-top > .container {
        padding: 0 !important;
    }

    .display-3 {
        font-size: 3rem;
    }

    .new-features-sidebar, .software-escrow-sidebar {
        border-left: 0;
    }

    .header-section-text {
        max-width: none;
    }
}

/* END From: Bootstrap 5 css */

/* BEGIN our internal button styles */

.btn-user {
    border-radius: 0.25rem;
    border: solid 1px rgb(221, 221, 221);
    color: rgb(51, 51, 51);
    font-size: 0.875rem;
    padding-bottom: 4.5px;
    padding-left: 9px;
    padding-right: 9px;
    padding-top: 4.5px;
}

.btn-admin {
    background-color: rgba(0, 0, 0, 0);
    border-radius: 0.25rem;
    border: solid 1px black;
    color: rgb(33, 37, 41);
    font-size: 0.875rem;
    padding-bottom: 4.5px;
    padding-left: 9px;
    padding-right: 9px;
    padding-top: 4.5px;
}

.k-grid-cancel-command, .k-grid-edit-command.btn-user {
    border-color: #e4e7eb;
    color: #212529;
    background-color: #e4e7eb;
}

.k-grid-edit-command.btn-admin {
    border: solid 1px black;
    color: rgb(33, 37, 41);
    background-color: rgba(0, 0, 0, 0);
}

.k-grid-cancel-command:hover, .k-grid-edit-command:hover, .btn-base-gray:hover {
    border-color: #ced3db;
    background-color: #ced3db;
}

.k-grid-save-command {
    border-color: #007bff;
    color: white;
    background-color: #007bff;
}

    .k-grid-save-command:hover {
        border-color: #0069d9;
        background-color: #0069d9;
    }

.k-grid-edit-input .k-textbox input {
    padding-block: 0.25rem;
    padding-inline: 0.5rem;
}

.k-button.btn-admin:disabled, .k-button.k-disabled.btn-admin, .k-button.btn-user:disabled, .k-button.k-disabled.btn-user {
    opacity: 0.25;
}

/* END our internal button styles */

/* BEGIN Required fields asterisk */

.required-label:after {
    content: ' *';
}

/* END Required fields asterisk */

/* BEGIN New template */

.grid-overflow-overlay {
    overflow: auto;
}

    .grid-overflow-overlay table td {
        white-space: nowrap !important;
    }

.k-grid a {
    color: #007bff;
}

#menu-grid {
    min-width: 290px;
    gap: 0px !important;
    padding: 0px;
}

    #menu-grid > div {
        margin-bottom: 10px;
    }

.menu-link {
    color: #007bff;
    text-decoration: none;
}

    .menu-link .menu-item {
        border-radius: 7px;
        box-shadow: 0 .15rem .25rem rgba(0, 0, 0, .1) !important;
    }

    .menu-link:hover {
        color: #0056b3;
        text-decoration: none;
    }

        .menu-link:hover .menu-item {
            box-shadow: 0 .25rem .4rem rgba(0, 0, 0, .25) !important;
        }

.selected-item {
    color: #007bff;
}

    .selected-item:hover {
        color: #0056b3;
    }

    .selected-item .menu-item {
        border-radius: 7px;
        box-shadow: 0 .225rem .375rem rgba(0, 0, 0, .175) !important;
    }

.menu-item {
    display: flex;
    font-size: 22px;
    border: 1px solid #dee2e6;
    background-color: #fff;
    white-space: nowrap;
    padding: 4px 14px 4px 16px;
    height: 100%;
    margin: 0px 5px;
}

    .menu-item i {
        padding-right: 4px;
    }

.page-div {
    border: 1px solid #dee2e6;
    background-color: #fff;
    margin-left: 6px;
    margin-right: 6px;
    border-radius: 7px;
    box-shadow: 0 .15rem .25rem rgba(0, 0, 0, .1) !important;
}

.div-menu-icon {
    flex-shrink: 0;
    margin-right: 10px;
    height: 100%;
    width: 25px;
}

.div-menu-item {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.div-menu-descr1, .div-menu-descr2 {
    color: #666;
    white-space: normal;
    font-size: 15px;
}

@media (min-width: 546px) and (max-width: 768px) {
    .div-menu-title {
        margin-bottom: -8px;
    }

    .div-menu-descr1, .div-menu-descr2 {
        display: contents;
    }
}

.user-command-icon {
    cursor: pointer;
    color: #007bff;
}

    .user-command-icon:hover {
        color: #0056b3;
    }

.license-header-button {
    display: flex;
    margin: 6px 0px;
    float: right;
}

@media (max-width: 768px) {
    .license-header-button {
        float: left;
        margin-bottom: 18px;
    }
}

@media (min-width: 1200px) {
    .page-col-left.col-lg-12 {
        padding-right: 0px;
    }

    .page-col-right.col-lg-12 {
        padding-left: 0px;
    }

    .page-col-left.col-xl-6 {
        padding-right: 0px;
    }

    .page-col-right.col-xl-6 {
        padding-left: 0px;
    }
}

/* END New template */

/* BEGIN Support Links */

.div-support-icon {
    text-align: right;
    font-size: 36px;
    width: 40px;
    margin-right: 12px;
}

.div-support-title {
    margin-top: 8px;
    font-size: 26px;
}

.div-support-item {
    margin-bottom: 11px;
}

.div-support-descr1, .div-support-descr2 {
    display: block !important;
}

@media (max-width: 768px), (min-width: 992px) and (max-width: 1600px) {
    .div-support-title {
        margin-bottom: 0px;
    }
}

@media (min-width: 768px) and (max-width: 992px), (min-width: 1600px) {
    .div-support-descr1, .div-support-descr2 {
        display: contents !important;
    }

    .div-support-title {
        margin-bottom: -6px;
    }
}

/* END Support Links */
