﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 95px;
    padding-bottom: 130px;
}

.navbar-brand {
    height: auto;
}

.page-header {
    margin-top: 20px;
}


.line-left {
    border-left: 1px solid #999
}

.form-control {
    width: auto;
}

.form-control-narrow {
    width: 25% !important;
}

.form-control-wide {
    width: 75% !important;
}

.form-control-full {
    width: 100% !important;
}

.form-control-auto {
    width: auto !important;
}

.stretch {
    width: 95% !important;
}

div.navbar-collapse {
    margin-top: 10px;
}

.navbar-toggle {
    margin-top: 22px;
}

.navbar-brand {
    padding-top: 13px;
}

    .navbar-brand img {
        max-height: 45px;
    }

footer {
    clear: both;
    margin: 30px 10px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-bottom: 10px;
}

.buffer-top {
    margin-top: 25px;
}

.buffer-top-sm {
    margin-top: 15px;
}

.buffer-bottom {
    margin-bottom: 25px;
}

.buffer-bottom-lg {
    margin-bottom: 50px;
}

.buffer-bottom-sm {
    margin-bottom: 15px;
}

.buffer-bottom-xs {
    margin-bottom: 5px;
}

.buffer-left {
    margin-left: 25px;
}

.buffer-left-force {
    margin-left: 25px !important;
}

.buffer-right {
    margin-right: 25px;
}

.comment-by {
    font-style: italic;
    font-size: 90%;
}

.comment-author {
    color: #ffffff;
    background-color: #3498db;
    border-color: #3498db;
}

.comment-approver {
    color: #ffffff;
    background-color: #f39c12;
    border-color: #f39c12;
}

.comment-editor {
    color: #ffffff;
    background-color: #18bc9c;
    border-color: #18bc9c;
}

.pending-items {
    font-size: 9pt;
    padding: 3px 5px 3px 4px;
    background-color: #cc2222;
    color: White;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    margin-left: 3px;
    -moz-border-radius: 2px;
}

img.documentSectionImageThumb {
    max-width: 100px;
    margin: 5px;
}

img.documentInstanceBanner, img.stock {
    max-width: 150px;
    margin: 5px;
}

#iframeContainer {
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}

.pdfPane iframe {
    margin-top: 10px;
    width: 100%;
    height: 700px;
}

.templateImagePreview, .templateImagePreview img {
    margin-bottom: 15px;
}

.bordered-image, .bordered-image img {
    border: 1px solid #aaa;
}

.related-doc-image {
    margin: 5px;
}

/* Wizard styles */
#wizard {
    padding: 8px;
}

.alert-narrow {
    width: 66%;
    margin: 0px auto;
}

img.wizard-preview {
    float: left;
    margin-right: 10px;
    max-width: 500px;
    max-height: 400px;
}

img.wizard-preview-thumb {
    max-width: 200px;
    max-height: 100px;
}

.page-header {
    margin-bottom: 3px;
}

img.filter-preview {
    max-height: 250px;
    max-width: 250px;
}

/* Start Float Button CSS */
.btn-update-bottom {
    position: fixed;
    bottom: 12%;
    right: 3%;
}

.btn-right-arrow {
    position: fixed;
    bottom: 12%;
    right: 2%;
}

.btn-left-arrow {
    position: fixed;
    bottom: 12%;
    left: 2%;
}
/* End Float Button CSS */

/* vertical alignment styles */
.col-top {
    vertical-align: top;
}

.col-middle {
    vertical-align: middle;
}

.col-bottom {
    vertical-align: bottom;
}

/* columns of same height styles */
.row-full-height {
    height: 100%;
}

.col-full-height {
    height: 100%;
    vertical-align: middle;
}

.row-same-height {
    display: table;
    width: 100%;
    /* fix overflow */
    table-layout: fixed;
}

.col-xs-height {
    display: table-cell;
    float: none !important;
}

.doc-row {
    padding: 15px 0px;
}

.doc-row-image img {
    max-width: 100%;
}

.edu-tooltip {
    cursor: help;
}

.fixed-format-input {
    width: 95% !important;
}

.page-border {
    background-color: #999;
    border: 2px solid #222;
    padding: 10px;
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-nav-titlebar {
    height: 20px;
}

.section-highlight {
    position: absolute;
    background-color: yellow;
    opacity: 0.3;
    cursor: pointer;
}

h1#doc-preview-header {
    margin-top: 0px;
}

/*.page-border img {
    max-height: 687px;
}*/

img.img-page-preview {
    border: 1px solid #666;
}

#previewPdf-thumbnails-container {
    width: 100%;
    float: left;
    white-space: nowrap;
    display: inline-block;
    margin-top: 25px;
    padding: 10px;
    background-color: #999;
    border: 2px solid #222;
    overflow-x: auto;
    overflow-y: hidden;
}

#previewPdf-thumbnails {
    float: left;
}

    #previewPdf-thumbnails .pdf-thumb {
        margin-right: 15px;
        cursor: pointer;
        float: left;
        text-align: center;
    }

        #previewPdf-thumbnails .pdf-thumb p {
            margin-top: 5px;
            color: white;
            font-weight: bold;
        }

#previewPdf-thumbnails img {
    background-color: white;
}

img.max-height-250 {
    max-height: 250px;
}

.colorSuitePreview {
    padding: 5px;
    /*margin: 5px;*/
}

.appstatus-approved, .appstatus-pending, .appstatus-returned, .appstatus-na {
    font-size: 80%;
    padding: 5px;
    border-radius: 3px;
}

.appstatus-approved {
    color: white;
    background-color: #18bc9c;
}

.appstatus-pending, .appstatus-na {
    color: #777;
    background-color: #ddd;
}

.appstatus-returned {
    color: white;
    background-color: #e74c3c;
}

.submitted-status {
    cursor: help;
    border-bottom: 2px dotted #666;
}

.table-pager td {
    background-color: #ffe;
}

.table-pager table td {
    padding: 5px;
}

.error, .error:focus {
    border: 2px solid #e74c3c;
}

.text-large {
    font-size: 125%;
}

span.control-label {
    font-weight: bold;
}

#frmEditUI {
    width: 100%;
    border: none;
}

#loadingFrame {
    margin-top: 20%;
    text-align: center;
    font-size: 18pt;
}

body area.clickSectionArea {
    cursor: pointer;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    color: #2c3e50;
    background-color: #e6e6e6;
    border: 1px solid #b4bcc2;
    border-bottom-color: transparent;
    cursor: default;
}

.nav-tabs > li > a {
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
    color: #2c3e50;
}
body ul.nav.nav-tabs.ag-nav-page li.active a {
    color: #fff !important;
    background: #2c3e50;
    border-radius: 0;
    border: 0;
    cursor: pointer;
}

.template-widget-container {
    margin-top: 10px;
}


.template-widget-header {
    overflow: hidden;
    text-align: center;
    margin-bottom: 5px;
    width: 93%;
    margin-left: auto;
    margin-right: auto;
}

    .template-widget-header > span {
        position: relative;
        display: inline-block;
        font-size: 11.5px;
    }

        .template-widget-header > span:before, .template-widget-header > span:after {
            content: '';
            position: absolute;
            top: 50%;
            border-bottom: 1px solid;
            width: 100vw;
            margin: 0 10px;
        }

        .template-widget-header > span:before {
            right: 100%;
        }

        .template-widget-header > span:after {
            left: 100%;
        }

.template-widget-row {
    width: fit-content;
    position: relative;
    display: inline-block;
}

.template-widget-button {
    width: 50px;
    height: auto;
    cursor: pointer;
}

.template-widget-button-custom {
    width: 50px;
    height: auto;
    cursor: pointer;
}

.template-widget-item:not(:first-child) {
    margin-left: 10px;
}


.template-widget-item {
    text-align: center;
    display: inline;
    font-size: 13px;
    width: 75px;
}


.template-vert-spacer-hidden {
    height: 25px;
    width: 60px;
    display: inline-block;
}

.template-widget-header-ddl {
    height: 24px !important;
    font-size: 10px !important;
    font-weight: bold;
    padding: 4px 4px !important;
    text-align: center;
    margin-bottom: 20px;
}

.template-widget-loading {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: .8;
    background: #fff;
    cursor: wait;
}

    .template-widget-loading img {
        margin-right: auto;
        margin-left: auto;
        display: block;
        margin-top: 10px;
        opacity: 1;
    }

.template-button-disable {
    pointer-events: none;
}

.doc-store-template-item {
    width: 300px;
    padding: 25px;
}

.doc-store-template-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow-y: scroll;
    height: 61vh;
}

.dashed-control {
    width: 100%;
    margin-bottom: 15px;
    height: 35px;
    border: none;
    border-bottom: 3px dashed #666666;
}

.doc-store-template-count {
    border: 1px solid #777;
    background: #fff;
    border-radius: 45px;
    margin-left: 3px;
    min-width: 17px;
    font-size: 10px;
    text-align: center;
    display: none;
}

.w-100 {
    width: 100% !important;
}

.category-container, .doc-store-template-container {
    height: 75vh;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    overflow-y: scroll;
}

    .category-container::-webkit-scrollbar, .doc-store-template-container::-webkit-scrollbar {
        display: none;
    }

    #previewPdf img {
        background-color: white;
    }


.order-summary {
    width: 100%;
    border-bottom: 2px solid #dce4ec;
    border-radius: 4px;
    padding: 10px;
}

.order-summary-item {
    text-align: right;
    border-right: 2px solid #dce4ec;
    padding: 5px 0;
    position: relative;
    height: 135px;
    margin-bottom: 15px;
}

    .order-summary-item:hover {
        transform: none; 
        border-right: 2px solid #2c3e50;

    }
/*
    .order-summary-item img {
        width: 100px;
        height: auto;
        position: absolute;
        left: 0;
        bottom: 0;
    }*/

    .order-summary-item span {
        position: absolute;
        right: 0;
        bottom: 0;
        padding-right: 10px;
    }

.order-total {
    text-align: right;
    font-size: 18px;
    padding-right: 20px;
    margin-top: 5px;
}

.nav-cart {
    position: relative;
}

.nav-cart-icon {
    font-size: 25px;
}

.nav-cart-badge {
    width: 20px;
    height: 20px;
    position: absolute;
    top: -10px;
    right: -20px;
    background: #fff;
    color: black;
    text-align: center;
    border-radius: 15px;
    font-weight: bold;
}

.order-summary-item-desc {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.fixed-footer {
    padding: 10px 100px;
    background: #fff;
}

.form-control-error {
    border-color: #e74c3c;
    color: #e74c3c
}

.store-product-price {
    font-size: 20px;
    font-weight: bold;
}

.store-remove-cart-detail {
    border: none;
    background: transparent;
    font-size: 12px;
    color: #999;
}

.span-refund {
    position: absolute;
    top: 0;
}

.category-top-buffer {
    margin-top: 75px;
}

#editBox {
    height: 80vh !important;
}



@media (max-width: 767px) {
    .static-block-xs {
        display: block;
        position: static;
    }

    body {
        padding-bottom: 0;
        padding-top: 75px;
    }

    .w-100-xs {
        width: 100%;
    }

    .buffer-top-sm-xs {
        margin-top: 15px;
    }

    .category-container {
        height: auto;
    }

    .category-top-buffer {
        margin-top: 15px;
    }

    .mt-25-xs {
        margin-top: 25px;
    }

    .mt-50-xs {
        margin-top: 50px;
    }

    .mt-75-xs {
        margin-top: 75px;
    }

    .d-block-xs {
        display: block !important;
    }

    .order-summary-item {
        height: 155px;
    }

    .designer-doc-name {
        font-size: 2rem;
        border-bottom: 2px solid #aaa;
        width: 100%;
        display: block;
        margin-bottom: 10px;
        text-decoration: none;
    }
}

@media (min-width:768px) {
    
    .coord-property-buffer {
        width: inherit;
        min-width: 300px;
        max-width: 300px;
    }

    .designer-doc-name {
        font-size: 2.75rem;
        border-bottom: 2px solid #aaa;
        text-decoration: none;
        margin-right: 40px;
    }

    .d-center-sm {
        margin-right: auto;
        margin-left: auto;
        display: table;
    }
}
